List users

Get distinct users from conversations with pagination.

请求头

xi-api-keystring可选

查询参数

agent_idstring可选

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

branch_idstring可选
Filter conversations by branch ID.
call_start_before_unixinteger可选

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

call_start_after_unixinteger可选

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

searchstring可选

Search/filter by user ID (exact match).

page_sizeinteger可选1-100默认为 30
How many users to return at maximum. Defaults to 30.
sort_byenum可选

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

允许的值:
sort_directionenum可选
The direction to sort the results
允许的值:
cursorstring可选
Used for fetching next page. Cursor is returned in the response.

响应

Successful Response
userslist of objects
has_moreboolean
next_cursorstring可选

错误

422
Users List Request Unprocessable Entity Error