Skip to main content
GET
/
notifications
/
unread-count
Get unread notification count
curl --request GET \
  --url https://api-message.nativehub.live/api/v1/notifications/unread-count \
  --header 'Authorization: Bearer <token>'
{
  "count": 5
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Unread count retrieved successfully

count
integer