Skip to content
StraventaDocs

Get unread notification count for the current user

Returns the count of unread notifications for the current user.

GET
/api/recon/v1/notifications/unread-count

Returns the count of unread notifications for the current user.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/api/recon/v1/notifications/unread-count"
{
  "count": 5
}
{
  "error": "unauthorized",
  "message": "Bearer token is missing or invalid",
  "request_id": "01900000-0000-7000-8000-000000000001"
}

Was this page helpful?