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.
GET /v2/counters/unanswered/{user_id} — retrieve the unanswered counter for a specific CRM user.DELETE /v2/chats/unanswered — reset the unanswered counter for all chats.This method returns the total number of unanswered messages for a specific CRM user (user_id).
GET /v2/counters/unanswered/{user_id}Path parametersuser_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.
Resets the unanswered counter for all chats in the account. This is useful when a large number of unanswered messages have accumulated across conversations.
DELETE /v2/chats/unansweredExample:
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.