Chat APIs
List All Notifications
This endpoint retrieves a paginated list of all notifications across chats (in descending order of timestamp)
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
Example:
"{{orgPhone}}"
Query Parameters
- The offset value for paginating the results
- Default 0
Example:
"0"
- The maximum number of notifications to retrieve
- Default 2000
Example:
"10"
Response
200
application/json
The starting index of the returned notifications.
Example:
1
The ending index of the returned notifications.
Example:
10
The total count of notifications.
Example:
10
An array of notification objects. Refer to the chat notification object here
Was this page helpful?