View number of unread messages
Changed onView number of unread messages
This action retrieves a user's total number of unread messages in group channels.
Note: The unread count feature is only available for group channels.
user_id
Type: string
Description: Specifies the unique ID of a user.
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Path parameters
(Required)
Query parameters
Specifies a comma-separated string of one or more custom types to filter group channels. URL encoding each type is recommended. If not specified, all channels are returned, regardless of their custom type.
Restricts the search scope to either Supergroup channels or non-Supergroup channels or both. Acceptable values are all, super, and nonsuper. (Default: all)
Headers
Response
Successful response
Example response
{
"unread_count": 0
}Changes
- warning
deleted the
headerrequest parameterApi-Token - info
added the new optional
headerrequest parameterapi-token
- warning
- info
the
headerrequest parameterApi-Tokenbecame optional
- info