POST
/
bc
/
v1
/
events
/
event
/
alias
Alias a user
curl --request POST \
  --url https://app.mindlytics.ai/bc/v1/events/event/alias \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'X-App-ID: <api-key>' \
  --data '{
  "session_id": "<string>",
  "timestamp": "<string>",
  "user_id": "<string>",
  "device_id": "<string>",
  "id": "<string>",
  "type": "alias",
  "previous_id": "<string>"
}'
[
  {
    "type": "start_session"
  }
]

Authorizations

Authorization
string
header
required

API Key for your organization

X-App-ID
string
header
required

Project ID

Body

application/json

Response

200 - application/json

Success

The events that were generated by the Mindlytics service as a result of this event.