Retrieve an unread count of your chat messages, split across dialogs or just a total value.
Display total number of unread messages for each dialog
1. Set dialogs IDs.
Specify as many dialogs IDs as you need via comma.
2. As a result, the API returns a number of unread messages for each specified dialog.
Display total number of unread messages for each dialog with API key
1. Use 'Authorization' header to pass API key
2. Use 'On-Behalf-Of' header to pass user id
To execute a request on behalf of a specific user
3. Set dialogs IDs
Specify as many dialogs IDs as you need via comma.
4. As a result, the API returns a number of unread messages for each specified dialog.
ApiKey {your_api_key}
. Must be used either QB-Token or Authorization.Retrieve an unread count of your chat messages, split across dialogs or just a total value.
Display total number of unread messages for each dialog
1. Set dialogs IDs.
Specify as many dialogs IDs as you need via comma.
2. As a result, the API returns a number of unread messages for each specified dialog.
Display total number of unread messages for each dialog with API key
1. Use 'Authorization' header to pass API key
2. Use 'On-Behalf-Of' header to pass user id
To execute a request on behalf of a specific user
3. Set dialogs IDs
Specify as many dialogs IDs as you need via comma.
4. As a result, the API returns a number of unread messages for each specified dialog.
ApiKey {your_api_key}
. Must be used either QB-Token or Authorization.