cURL
curl --request GET \ --url https://localhost:5000/notifications/unread-count \ --header 'Authorization: Bearer <token>'
{ "success": true, "count": 123 }
Get the count of unread notifications for the current user
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unread notifications count
true
Number of unread notifications