Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header
"{{orgPhone}}"
Query Parameters
- The offset value for paginating the results
- Default 0
"0"
- The maximum number of chats to retrieve
- Default 2000
"1000"
- Filter chat by type of user, group or business
"group"
- Filter all chats that contain a specific label provide
- You can provide the name of the label or label_id
"label-kbvlbnvesomvgqpt"
- The start_time to filter the results
"2025-04-25 or 2025-04-25T00:00:00Z"
- The end_time to filter the results
"2025-04-31 or 2025-04-31T23:59:59Z"
Response
200 OK
Note: members associated with a chat are not returned. You can fetch a specific chat by calling the Get Chat By ID endpoint
The starting index of the returned chats.
1
The ending index of the returned chats.
10
The total count of chats.
10
An array of chat objects. Refer to the chat object here