POST /api/alias
Merges user identities. This endpoint is optional but recommended for preserving event history when users sign up.Request
Headers
application/jsonYour API key
Body
New user ID (the identified user ID)
Previous user ID (usually the anonymous ID)
ISO 8601 timestamp
Example Request
Response
Success Response
true if the request was successfulThe new user ID
The previous user ID
