View number of unread messages

GET {{baseUrl}}/v3/users/:user_id/unread_message_count

View number of unread messages

Retrieves the total number of a user's currently unread messages in the group channels. The unread counts feature is only available for the group channels.

https://sendbird.com/docs/chat/v3/platform-api/guides/user#2-view-number-of-unread-messages

user_id Type: string Description: Specifies the unique ID of the user to retrieve the number.

Request Params

KeyDatatypeRequiredDescription
custom_typesstring
super_modestring

HEADERS

KeyDatatypeRequiredDescription
Api-Tokenstring(Required)
Acceptstring

RESPONSES

status: OK

{"unread_count":"\u003cnumber\u003e"}