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
Key | Datatype | Required | Description |
---|---|---|---|
custom_types | string | ||
super_mode | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Token | string | (Required) | |
Accept | string |
RESPONSES
status: OK
{"unread_count":"\u003cnumber\u003e"}