cURL
curl --request GET \ --url https://api.example.com/notifications/count \ --header 'Authorization: Bearer <token>' \ --header 'X-API-KEY: <x-api-key>'
123
Fetches the count of unread notifications for the authenticated user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
API key required for authentication
The count of unread notifications
Number of unread notifications