Identity
Identify the current user
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.
x-session<token>
In: header
Path Parameters
projectIdstring
Format
uuidtypestring
Value in
"email" | "contextId" | "userId"valuestring
format?string
Default
"plain"Value in
"plain" | "hashed"token?string
JWT token for authenticated identify
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.concord.tech/site-v1/497f6eca-6276-4993-bfeb-53cbbbba6f08/identify" \ -H "Content-Type: application/json" \ -d '{ "type": "email", "value": "string" }'{
"synced": true,
"session": "string"
}{
"statusCode": 404,
"error": "Not Found",
"message": "string"
}{
"statusCode": 401,
"error": "string",
"message": "string"
}{
"statusCode": 403,
"error": "string",
"message": "string"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Not Found"
}{
"statusCode": 422,
"error": "Unprocessable Entity",
"message": "string"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "Internal Server Error"
}