Skip to contentSkip to navigation

Get Campaign Sending Status Beta

Why a campaign is or is not sending right now.

GET /api/v1/campaigns/{campaign_id}/sending-status

Requires 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
Counts (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
The campaign's 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
For an active campaign, the last reason the sender recorded for not sending, with its time, or 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
For a paused campaign, why it paused (reason, auto, timestamp), or null.

Errors

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

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?