跳到导航

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.

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
valuestring必需>=1 character
Value of the identity.
namespacestring可选默认为 external

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

响应

成功响应

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

错误

422
Agents Users Find by Identity Request Unprocessable Entity Error