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/jsonstatusstring
Example:
successdataobject
unread_countinteger
Example:
5Example:
{
"status": "success",
"data": {
"unread_count": 5
}
}
401
Authentication required
application/jsonExample:
{
"status": "error",
"message": "Not authenticated or insufficient permissions"
}