Skip to navigation

Find user by identity

The end user an active identity belongs to in the caller’s workspace, e.g. the user_id your conversation initiation data sent for them. Use the returned user_id with Erase User Memory or Export User Memory. Never creates a user or identity.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
valuestringRequired>=1 character
Value of the identity.
namespacestringOptionalDefaults to external

Namespace of the identity, e.g. external for the user_id a conversation initiation webhook or API request gave, or email.

Response

Successful Response
user_idstring
ID of the end user the identity belongs to.
identity_idstring
ID of the identity.

Errors

422
Unprocessable Entity Error