GET /notifications/unread-count

Get unread notifications count

Notifications

Description

Returns the count of unread notifications for the authenticated user.

Authentication Required: User must be authenticated.

Responses

200 Successful response with unread count
application/json
statusstring
Example: success
dataobject
unread_countinteger
Example: 5
Example:
{
  "status": "success",
  "data": {
    "unread_count": 5
  }
}
401 Authentication required
application/json
Example:
{
  "status": "error",
  "message": "Not authenticated or insufficient permissions"
}