Passer à la 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.

En-têtes

xi-api-keystringOptionnel

Requête

This endpoint expects an object.
valuestringRequis>=1 character
Value of the identity.
namespacestringOptionnelPar défaut external

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

Réponse

Réponse réussie

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

Erreurs

422
Agents Users Find by Identity Request Unprocessable Entity Error