Mark all matching notifications seen

POST/api/v1/notifications/mark-all-seen

Server-authoritative: marks EVERY notification the caller can see that matches the optional scope/topic/severity filters as seen — not just the page the client has loaded.

Operation ID: mark_all_seen_api_v1_notifications_mark_all_seen_post·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.

Request body

scopeNotificationScopeEnumNotificationScopeEnum
scope_idstring

Required when scope is 'business' or 'firm'

topicarray · NotificationTopicEnum

Restrict to one or more topics

severityarray · NotificationSeverityEnum

Restrict to one or more severities

live_business_idstring

When scope='me', also dismiss live alerts for this business id (dismiss-all only; ignored by mark-all-seen).

Responses

201Successful Response

updatedintegerrequired

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

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