Identity

Identify the current user

POST
/{projectId}/identify

Identify the current session user by email or contextId. If a matching identity is found, merges the current identity into the matched one and returns synced consent state.

Authorization

SessionAuth
x-session<token>

In: header

Path Parameters

projectId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/497f6eca-6276-4993-bfeb-53cbbbba6f08/identify" \  -H "Content-Type: application/json" \  -d '{    "type": "email",    "value": "string"  }'
{  "synced": true,  "session": "string"}