Skip to main content
POST
Identify user
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)

id
string

The unique ID of the user

device_id
string

The ID of the device, if applicable

traits
object

Any additional traits to be associated with the user (name, gender, etc)

Response

200 - application/json

User identified

organization_id
string
required
app_id
string
required
user_id
string
required
id
string
required
aliases
string[]
required
created_at
string
required
traits
object
required