Notification count

GET/api/v1/notifications/count

Unread (new only) count for the bell badge by default. Pass unread_only=false for the legacy open (new + seen) count.

Operation ID: open_count_api_v1_notifications_count_get·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

scope_business_idstring

Optional: scope to a single business

business_idstring

Deprecated alias for scope_business_id

unread_onlybooleandefault: True

When true (default), count only unread (new) rows. When false, count open rows (new + seen + expired snoozes).

Responses

200Successful Response

successboolean
messagestring
codestring
dataNotificationCountResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject