Chat
Get Notification Settings
Get status if push notifications are turned on/off for offline messages in a dialog.
GET
Recipes
Get Notification Settings with API key
Get Notification Settings with API key
1
1. Use 'Authorization' header to pass API key
2
2. Use 'On-Behalf-Of' header to pass user_id
To execute a request on behalf of a specific user.
3
3. Set dialog ID
Specify the ID of the dialog whose setting status you want to get.
4
4. As result, the API returns the notification settings status
Path Parameters
ID of the dialog to which a current message is connected. Generated automatically by the server after message creation
Headers
A user or application session token. See Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.
API key from Dashboard. Expected format:
ApiKey {your_api_key}
. Must be used either QB-Token or Authorization.User ID. The user ID of the user on whose behalf the request is being made.
Responses
200
200
A successful response
400
400
An error response