GET/users/{userId}/mail/unread-count
Gets the number of unread messages.
This API operation is used to get the number of unread messages in the mailboxes selected in Settings > Notification > Mail > Mailbox settings.
The default value is the number of unread messages in All mailbox.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
mail
mail.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | Member ID (must be URL-encoded)
required example : me |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| count | integer | Number of unread messages required minimum : 0 format : int32 |
example
1{2 "count": 13763}