List users

Get distinct users from conversations with pagination.

En-têtes

xi-api-keystringOptionnel

Paramètres de requête

agent_idstringOptionnel

Agent id (agent_…) or speech engine external id (seng_), resolved to the same underlying resource.

branch_idstringOptionnel
Filter conversations by branch ID.
call_start_before_unixintegerOptionnel

Unix timestamp (in seconds) to filter conversations up to this start date.

call_start_after_unixintegerOptionnel

Unix timestamp (in seconds) to filter conversations after to this start date.

searchstringOptionnel

Search/filter by user ID (exact match).

page_sizeintegerOptionnel1-100Par défaut 30
How many users to return at maximum. Defaults to 30.
sort_byenumOptionnel

The field to sort the results by. Defaults to last_contact_unix_secs.

Valeurs autorisées:
sort_directionenumOptionnel
The direction to sort the results
Valeurs autorisées:
cursorstringOptionnel
Used for fetching next page. Cursor is returned in the response.

Réponse

Successful Response
userslist of objects
has_moreboolean
next_cursorstringOptionnel

Erreurs

422
Users List Request Unprocessable Entity Error