Skip to main content
POST
Alias a user

Authorizations

Authorization
string
header
required

API Key for your organization

X-App-ID
string
header
required

Project ID

Body

application/json
session_id
string
required

A unique session ID generated by caller

type
enum<string>
required

The event that aliases a user

Available options:
alias
previous_id
string
required

The previous ID of the user

timestamp
string

The timestamp of the event, defaults to "now" if not specified.

user_id
string

The unique ID of the user

device_id
string

The ID of the device, if applicable

id
string

The unique ID of the user

Response

200 - application/json

Success

type
enum<string>
required

The type of event being sent.

Available options:
start_session,
end_session,
identify,
alias,
track
{key}