SnozeDevelopers
API referenceNotifications

Count the caller's unread notifications

Returns how many unread, inbox-visible notifications are addressed to the caller, optionally restricted to one `workspaceId`. Any authenticated caller may read their own count; passing `workspaceId` requires `workspace:read` in that workspace.

GET
/v1/notifications/unread-count
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Query Parameters

workspaceId?string|null

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/notifications/unread-count"
{  "data": {    "count": 0  }}