Get Unread Count Beta
Retrieve the number of unread replies.
GET
https://api.foxreach.io/ api/ v1/ inbox/ unread-countRequires 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
| Status | Description |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | API key does not have the required scope: read |
Rate Limit
- 600 requests per minute, shared by every
pollcall in your workspace. Fixed 60-second window. - Every response includes
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset(unix epoch seconds) andX-RateLimit-Bucket(poll). - A
429response includes aRetry-Afterheader (seconds until the bucket resets).
For client-side patterns, see Rate Limiting.
Was this page helpful?