Skip to content

Mark All Notifications Read

Mark every unread notification of the key creator in this workspace as read, or only the unread ones in the categories you name.

POST/api/v1/notifications/read-all

Requires an API key with the write scope.

One set-based update. Only the key creator's notifications in the key's workspace are touched.

categorystringquery
Comma-separated: replies, campaigns, inboxes, imports, billing, workspace. Only the unread notifications in these categories are marked read and the rest stay unread. Leave it out to mark every unread notification.

Response#

Returns { "data": { "updated": 12 } }, the number of notifications that were unread.

Errors#

StatusDescription
401Missing, invalid, revoked or expired API key
403API key does not have the required scope: write
422category has a value that is not one of the six

Rate Limit#

  • 120 requests per minute, shared by every write call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (write).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns, see Rate Limiting.

Was this page helpful?
View as MarkdownLast updated November 5, 2026