POST
/
bc
/
v1
/
user
/
alias
Alias user
curl --request POST \
  --url https://app.mindlytics.ai/bc/v1/user/alias \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'X-App-ID: <api-key>' \
  --data '{
  "id": "<string>",
  "previous_id": "<string>"
}'
{
  "organization_id": "<string>",
  "app_id": "<string>",
  "user_id": "<string>",
  "id": "<string>",
  "aliases": [
    "<string>"
  ],
  "created_at": "<string>",
  "traits": {}
}
Use this endpoint to associate another id with a particular user. The new id becomes the primary id. All previous ids are kept in the user’s “aliases” field.

Authorizations

Authorization
string
header
required

API Key for your organization

X-App-ID
string
header
required

Project ID

Body

application/json

User alias - requires previous_id and id

Response

200 - application/json

User aliased

The response is of type object.