Get Notifications in a Chat
This endpoint retrieves a paginated list of all notifications for the specific chat_id (in descending order of timestamp)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Optional. The phone to scope this request to — in country code + number format with no spaces or special characters (e.g. 919876543210), or the phone_id (phone-xxxxxxxxxxxx). When set, only this chat's notifications for that phone are returned. When omitted, this chat's notifications are returned — across all phones your token can access (the phones in your token's scope, or every phone in your organization if the token is unscoped). Passing a phone that is outside your token's scope returns a 401.
"{{orgPhone}}"
Path Parameters
- The unique id of the chat
- For individual chats, this would be the
country_code + number(e.g.,918527184400). Optionally, you can add @c.us - For groups, this would end with
@g.us
"120363371308389685@g.us"
Query Parameters
- The offset value for paginating the results
- Default 0
"0"
- The maximum number of notifications to retrieve
- Default 2000
"10"
Response
200 OK
The starting index of the returned notifications.
1
The ending index of the returned messages.
10
The total count of messages.
10
An array of notification objects. Refer to the notification object here