Get Campaign Sending Status Beta
Why a campaign is or is not sending right now.
https://api.foxreach.io/ api/ v1/ campaigns/{campaign_id}/ sending-statusRequires an API key with the read scope.
Answers "why is nothing going out?" from the same inputs the sender checks: the campaign status, whether the sending window is open now, the state of every assigned account, the daily cap, the send queue and the leads that are due. blockingReasons is empty when the campaign can send; canSendNow is true only then. Read only, nothing is changed.
Path Parameters
campaign_id string path required The campaign id. An id from another workspace returns 404.
Response
blockingReasons array {code, detail} entries, in the order the sender checks them: campaign_not_active, outside_sending_window, campaign_daily_limit, no_accounts_assigned, no_usable_accounts, account_capacity, no_sequences, no_leads_ready.
schedule object timezone, sendingDays (0 is Sunday), start, end, localTime and windowOpen.accounts object assigned, usable, inactive, disconnected, paused, providerLimited, the last for accounts the provider has throttled) and one item per account with its state, sentToday and remainingToday (the account's daily limit minus sends today and queued sends).dailyCap object limit and sentToday, counted over the campaign's own timezone day.queue object pending, dueNow (pending and scheduled in the past) and sending.leads object sendable (leads that can still receive a step) and readyNow (of those, due now, not unsubscribed, bounced, deleted or verified bad, and not already queued). A lead on the block list still counts here until the sender's next pass takes it out of the queue.lastGateBlock object null. This is where the workspace monthly limit and the workspace daily safety cap show up (workspace_monthly_limit, workspace_daily_cap): they are not recomputed here, so an empty blockingReasons is not proof that neither cap is reached.pause object reason, auto, timestamp), or null.Errors
| Status | Description |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | API key does not have the required scope: read |
404 | Campaign not found |
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.