List users

Get distinct users from conversations with pagination.

Cabeçalhos

xi-api-keystringOpcional

Parâmetros de consulta

agent_idstringOpcional

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

branch_idstringOpcional
Filter conversations by branch ID.
call_start_before_unixintegerOpcional

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

call_start_after_unixintegerOpcional

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

searchstringOpcional

Search/filter by user ID (exact match).

page_sizeintegerOpcional1-100Padrão é 30
How many users to return at maximum. Defaults to 30.
sort_byenumOpcional

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

Valores permitidos:
sort_directionenumOpcional
The direction to sort the results
Valores permitidos:
cursorstringOpcional
Used for fetching next page. Cursor is returned in the response.

Resposta

Successful Response
userslist of objects
has_moreboolean
next_cursorstringOpcional

Erros

422
Users List Request Unprocessable Entity Error