not_started state until you explicitly start it. You can also pause a running campaign mid-flight — for example, to adjust capacity or investigate an issue — and then resume it when you are ready. All three operations are issued through this single endpoint using the action field.
Endpoint
Authorization header as a Bearer token or the X-API-Key header.
Path Parameter
number
required
The unique numeric ID of the campaign you want to control. This is the
campaign_id returned when you created the campaign.Request Body
string
required
The control action to apply to the campaign. Accepted values:
Campaign States
A campaign moves through the following states during its lifecycle:Example Requests
Response Fields
boolean
true when the control action was successfully applied.string
The action that was performed — one of
"start_campaign", "pause_campaign", or "resume_campaign".number
The ID of the campaign that was updated, echoed back from the path parameter.
string
The new state of the campaign after applying the action (e.g.
"running", "paused").string
A human-readable message confirming what happened (e.g.
"Campaign started").