Skip to contentSkip to navigation

Get Unread Count Beta

Retrieve the number of unread replies.

GET /api/v1/inbox/unread-count

Requires an API key with the read scope.

The same number as unread in Get Inbox Stats: unread replies on your email accounts, with warmup and unrelated mail left out. It costs one query, so it suits polling. The unread badge in the FoxReach app counts only replies that belong to a campaign, so this number can be higher than the badge when bounce notices or other unscoped replies are unread.

Errors

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

Rate Limit

  • 600 requests per minute, shared by every poll 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 (poll).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns, see Rate Limiting.

Was this page helpful?