Skip to main content
POST
Launch, pause, or end a campaign

Authorizations

Authorization
string
header
required

Your project's secret key (pk_…, without the pub segment). Server-side only — never ship it to a browser. Get it from Settings → Projects in the dashboard.

Path Parameters

id
string
required
Maximum string length: 128

Body

application/json
action
enum<string>
required
Available options:
launch,
pause,
end

Response

The campaign's new status.

id
string
required
status
enum<string>
required
Available options:
running,
paused,
ended