Skip to main content

GET /api/v1/notifications/unread/count

Returns the count of unread notifications for the authenticated user. Useful for displaying badge counts in the UI without fetching full notification objects.

Authentication​

Required. Bearer token in Authorization header.

Request​

No query parameters.

Example​

curl -X GET https://intotes.com/api/v1/notifications/unread/count \
-H "Authorization: Bearer <access_token>"

Response​

200 OK​

{
"count": 5
}

Errors​

StatusCodeDescription
401unauthorizedMissing or invalid authentication token
500internal_errorServer failed to retrieve count