List users

Get distinct users from conversations with pagination.

Nagłówki

xi-api-keystringOpcjonalny

Parametry zapytania

agent_idstringOpcjonalny

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

branch_idstringOpcjonalny
Filter conversations by branch ID.
call_start_before_unixintegerOpcjonalny

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

call_start_after_unixintegerOpcjonalny

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

searchstringOpcjonalny

Search/filter by user ID (exact match).

page_sizeintegerOpcjonalny1-100Domyślnie 30
How many users to return at maximum. Defaults to 30.
sort_byenumOpcjonalny

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

Dozwolone wartości:
sort_directionenumOpcjonalny
The direction to sort the results
Dozwolone wartości:
cursorstringOpcjonalny
Used for fetching next page. Cursor is returned in the response.

Odpowiedź

Successful Response
userslist of objects
has_moreboolean
next_cursorstringOpcjonalny

Błędy

422
Users List Request Unprocessable Entity Error