Arrow
Get started with Wazzup
Arrow
How to connect a messenger
Arrow
How to use Wazzup chats
Arrow
How to pay for the service
Arrow
Bitrix24
Arrow
Kommo
Arrow
Zoho CRM
Arrow
HubSpot
Arrow
Pipedrive
Arrow
Other CRMs
Arrow
How to sell even easier
Arrow
All about WABA
Arrow
For partners
Arrow
Public API
For partners
Arrow

Unanswered Message Counters

In Wazzup, each chat displays a counter indicating how many messages from the customer have not yet received a reply from a manager. Refer to the guide for more information.

When using the methods listed below, include the end‑customer's client_access_token (obtained via simplified authorization or OAuth) in the request header: Authorization: Bearer client_access_token

For the counter to work correctly, you need: a channel added to the account, a CRM user created and roles assigned to that user for the channel.

Methods

Retrieving the Unanswered Counter

This method returns the total number of unanswered messages for a specific CRM user (user_id).

Method GET /v2/counters/unanswered/{user_id}

Path parameters
user_id — User ID in CRM.

Request example:

curl -L 'https://tech.wazzup24.com/v2/counters/unanswered/1' \
-H 'Authorization: Bearer <client_access_token>'

Response example:

{
"data": {
"counter": 5,
"type": "red"
},
"meta": {
"timestamp": 1759499127
}
}

Result: the number of unanswered messages for the specified user.

Response parameters:

Parameter Description
counter Total number of unanswered messages across all of the user's chats
type Counter type: red, grey. Difference between red and grey counters: article

In the response example, the red counter for user ID 1 indicates that the user has 5 unanswered messages in chats with customers they are responsible for in the CRM.

Resetting the Unanswered Counter

Resets the unanswered counter for all chats in the account. This is useful when a large number of unanswered messages have accumulated across conversations.

Method DELETE /v2/chats/unanswered

Example:

curl -L -X DELETE 'https://tech.wazzup24.com/v2/chats/unanswered' \
-H 'Authorization: Bearer <client_access_token>'

Response example:

{
"data": {
"account_id": "78231464",
"cleared": true
},
"meta": {
"timestamp": 1759499164
}
}

Result: The unanswered message counter has been reset for all chats.