Campaign flows are built in the dashboard UI — creating and editing flows via API is not available currently. The REST API provides operational control: triggering a run, pausing it, and resuming after a pause.
Campaign design — flows, groups (segments), templates, and triggers — happens in the dashboard. Once a campaign is configured, the REST API handles runtime control.

Endpoints

List campaigns

Returns every campaign of the workspace with its id, so you can read the {id} for the routes below in code instead of copying it from the dashboard. Campaigns are ordered by their last change, most recent first. The endpoint takes no query parameters.
string
Campaign id, a UUID. Use it as {id} in the routes below. See Identifiers.
string
The campaign’s name as set in the dashboard.
string
DRAFT, SCHEDULED, RUNNING, PAUSED, PAUSED_ERROR, PAUSED_BALANCE, PAUSED_BUDGET or COMPLETED. The list does not count failed executions, so it never reports COMPLETED_PARTIAL — read that from GET /v1/campaigns/{id}/status below.
string
How the campaign starts: scheduled, event, manual or api. Only api campaigns can be started with the trigger route; for the others it answers 409.
string
For event campaigns, the event name that starts it — the name to send to POST /v1/events. null for every other trigger.
string
ISO 8601 timestamp (UTC) when the campaign was activated, or null.
string
ISO 8601 timestamp (UTC) when the campaign completed, or null.
string
ISO 8601 timestamp (UTC) when the campaign was created.
Responses All codes are listed in the error code catalogue.

POST /v1/campaigns/{id}/trigger

Starts a run for a campaign configured with an API trigger in the dashboard. A campaign with a scheduled, event or manual trigger answers 409 conflict.
string
required
Campaign id.
string
Optional. Prevents duplicate runs on retry — the same key within 24 hours returns the original run id instead of starting a new run.
Responses A run is worked through in batches, shared with the other campaigns on the platform: with a large audience the last messages can leave minutes to hours after the 202. There is no fixed throughput; follow progress with GET /v1/campaigns/{id}/status and the delivery webhooks.

POST /v1/campaigns/{id}/pause

Stops enqueuing new contact executions. Executions already in progress complete their current node before stopping. Responses

POST /v1/campaigns/{id}/resume

Resumes pending executions after a PAUSED, PAUSED_ERROR, PAUSED_BALANCE or PAUSED_BUDGET state. Behavior
  • Enqueues tasks only for executions still pending — contacts already completed or failed are not re-run.
  • Per-contact idempotency keys prevent double sends if the worker crashes between resume and execution.
  • Validates balance vs. estimated cost for remaining audience before accepting.
Pause reasons and how to resolve:
A campaign paused because credit ran out (PAUSED_BALANCE) continues on its own when credit arrives within 7 days of the pause; one paused by the workspace budget (PAUSED_BUDGET) continues when the budget has room again, also within 7 days. After that, or for any other pause, resume it with POST /v1/campaigns/{id}/resume.
Responses

GET /v1/campaigns/{id}/status

Returns the current campaign state and a breakdown of per-contact execution counts.
string
Campaign-level state: DRAFT, SCHEDULED, RUNNING, PAUSED, PAUSED_ERROR, PAUSED_BALANCE, PAUSED_BUDGET, COMPLETED, COMPLETED_PARTIAL.
number
Contacts a step did not apply to — for example no consent, an opt-out, no address for the channel, or a step the engine can’t run yet.
string
Matches status when paused: PAUSED, PAUSED_ERROR, PAUSED_BALANCE or PAUSED_BUDGET.

Campaigns in depth

Node types, execution states, triggers, and idempotency.

Billing API

Balance and usage — check before triggering large runs.

Webhooks

Receive campaign events in real time.