GET
/
notifications
/
unread-count
Get unread notifications count
curl --request GET \
  --url https://localhost:5000/notifications/unread-count \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "count": 123
}

Authorizations

Authorization
string
header
required

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

Response

Unread notifications count

success
boolean
Example:

true

count
number

Number of unread notifications