API Reference

Continue a campaign

POST /campaigns/:id/continue — resume a paused or failed campaign for the recipients it has not reached.

POST/campaigns/:id/continue

Resumes a campaign whose status is paused or failed, once you have fixed what stopped it. It sends only to recipients that have not been attempted yet (for a manual batch, only those left in the current batch), so nobody is mailed twice. Before it queues anything it checks again that the from domain is verified, that you have email quota left, the sending window and the campaign’s daily batch size. Takes no body. Needs an API key that can send.

Request
curl -X POST 'https://www.senddart.com/api/campaigns/CAMPAIGN_ID/continue' \
  -H 'Authorization: Bearer mb_xxxxxxxxx'
Response
{
  "id": "8f5c2a1e-7b3d-4f9a-9c12-2e6d4a7b8c90",
  "status": "queued",
  "remaining": 1180
}

It honours Idempotency-Key: a retry with the same key gets the first answer back and the campaign is not continued again; the same key with a different body is a 409 invalid_idempotent_request, and a retry while the first request is still running is a 409 concurrent_idempotent_requests. See Idempotency keys.

remaining is how many recipients the continued send will try. Errors: validation_error with status 409 when the campaign is not paused or failed, is missing its sender, subject or body, its domain is not verified, nobody is left to send to, the sending window is closed, or a previous send is still finishing; status 429 with the plan-limit error name (monthly_quota_exceeded, daily_quota_exceeded, contact_limit_reached or plan_limit_reached) when a limit still blocks it; not_found for a campaign that is not yours.