Skip to content

Get Category Counts

How many notifications the key creator has in each category.

GET/api/v1/notifications/category-counts

Requires an API key with the read scope.

The numbers on the filter pills of the notification page. One grouped query over the key creator's notifications in this workspace.

Query Parameters#

unreadbooleanquery
Count only notifications that are not read yet. Default false.

Response#

dataobject
counts (an object with replies, campaigns, inboxes, imports, billing and workspace, each an integer) and total (their sum).
metaobject
enabled.

Errors#

StatusDescription
401Missing, invalid, revoked or expired API key
403API key does not have the required scope: read

Rate Limit#

  • 300 requests per minute, shared by every read 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 (read).
  • 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