Per-topic notification counts

GET/api/v1/notifications/topic-counts

Counts grouped by topic for the filter chip row

Operation ID: topic_counts_api_v1_notifications_topic_counts_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

Responses

200Successful Response

successboolean
messagestring
codestring
dataNotificationTopicCountsResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

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