Skip to main content
GET
/
v1
/
notifications
/
unread-count
Get unread notifications count for a product
curl --request GET \
  --url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/notifications/unread-count \
  --header 'Authorization: Bearer <token>'
{
  "count": 123
}

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

Query Parameters

product
string
required

Product slug (required).

Maximum string length: 64

Response

Unread count.

count
integer