Saltar a la navegación

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.

Encabezados

xi-api-keystringOpcional

Solicitud

This endpoint expects an object.
valuestringRequerido>=1 character
Value of the identity.
namespacestringOpcionalValor predeterminado: external

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

Respuesta

Respuesta correcta.
user_idstring
ID of the end user the identity belongs to.
identity_idstring
ID of the identity.

Errores

422
Unprocessable Entity Error