Unread Message Count

To get the count of unread messages.

info

{api-base-url} can be obtained from the MirrorFly console.

HTTP request#

curl -X GET 'http://{api-base-url}/api/v1/chat/unreadcount' \
-H "accept: */*"
--header 'Authorization: AuthToken'

Responses#

If successful, this action returns the response body.

{
"status": 200,
"data": {
"unread": 70
},
"message": "Data retrieved successfully"
}