List all Chats

Returns a list of account's chats, whatever the inbox they belong to. The chats are returned sorted by their last message date, with the most recent appearing first.
You might want to use the List inbox Chats instead if not supported by the provider.
Filters are applied with an AND logic if supported by the provider.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^acc_(.*)$

ID of the Account (acc_xxx) to call the method on behalf of.

Query Params
number

An offset used for pagination, if supported by the provider, else use cursor.

string

A cursor used for pagination. If supported by the provider, use next_cursor given by the previous page of the list, else use offset.

number
≥ 1
Defaults to 20

The limit of items to be returned. The maximum allowed value depends on the provider.

string
enum

Return only chats of the given type (if supported by the provider).
- 1to1 is a 1to1 chat.
- group is a group chat.
- channel is a channel chat.

Allowed:
string

A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).

string

A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ)..

boolean

Return only chats of the given archived status (if supported by the provider).

boolean

Return only chats of the given unread status (if supported by the provider).

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json