REST API – Alias

Our REST API’s alias endpoint is:

or{API Key}

For more details on how aliasing works, see more detailed documentation here.

To send us an alias, you’ll need to make a POST request to that URL with a Content-Type of ‘application/json’. In the POST body, include a JSON object with the following fields:

Name Type Description
apiKey String The API Key for this project. If the key you provide is invalid, we’ll return a 400 Bad Request error.
previousId String The previous unique identifier for a user. This is most often an anonymous ID, which is generated before a user identifies themselves by registering or logging in.
newId String The new unique identified for a user. This is most often a user ID that uniquely identifies a user within your application.
0 users found this helpful