VUZDevelopers

Mark all notifications as read

POST
/notifications/mark-all-read

Marks all notifications as read for the current user, optionally filtered by business.

Optional filters:

  • businessId: Only mark notifications for specific business

Use Cases:

  • "Mark all as read" button in notification center
  • Clear all notifications action
X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/notifications/mark-all-read" \  -H "Content-Type: application/json" \  -d '{}'
Empty