POST
/
bc
/
v1
/
user
/
identify
Identify user
curl --request POST \
  --url https://app.mindlytics.ai/bc/v1/user/identify \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'X-App-ID: <api-key>' \
  --data '{
  "id": "<string>",
  "device_id": "<string>",
  "traits": {}
}'
{
  "organization_id": "<string>",
  "app_id": "<string>",
  "user_id": "<string>",
  "id": "<string>",
  "aliases": [
    "<string>"
  ],
  "created_at": "<string>",
  "traits": {}
}
You can associate traits with a user id or a device id. If the user or device id already exists, the given traits are merged with the existing traits.

Authorizations

Authorization
string
header
required

API Key for your organization

X-App-ID
string
header
required

Project ID

Body

application/json

User identification - requires either id or device_id (or both)

Response

200 - application/json

User identified

The response is of type object.