Skip to content

Pause or resume a campaign

scope campaigns:writewriteslive key only

Pauses a running campaign (state: "paused") or lets a paused one run again (state: "active").

Everything the agent is told about this tool

Pauses a running campaign (state: "paused") or lets a paused one run again (state: "active"). Paused: creators cannot take the campaign or file new clips; clips already filed keep being measured and paid, nothing is returned and no money moves, and the brand’s review clock stands still. Resumed: the campaign takes new work again, and every clip waiting for a decision gets back the time the pause took. Name the campaign by slug or externalRef. Only an active campaign can be paused and only a paused one resumed (campaign_state, 409); asking for the state it is already in is that refusal, and a draft is not a running campaign. Send an idempotencyKey; dryRun: true changes nothing. Example: {"campaign": "spring-launch", "state": "paused", "idempotencyKey": "pause-spring-launch-oct-14"}.

Name Type Required Description
campaign string yes The campaign’s slug, or the externalRef you gave it.
state "paused" | "active" yes “paused” stops a running campaign taking new work; “active” lets a paused one take it again.
idempotencyKey string no Any unique string for this attempt, for example a UUID. Sending the same key and body again returns the first answer instead of writing twice.
dryRun boolean no When true, runs every check and returns what would happen, and keeps nothing: no draft, no log entry, no event.

A write: send an idempotencyKey (any unique string for this one intent). A call with dryRun: true needs none.

curl https://countviews.com/api/public/v1/call \
-H "Authorization: Bearer $COUNTVIEWS_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"campaign_set_state","arguments":{"campaign":"spring-launch","state":"paused","idempotencyKey":"pause-spring-launch-1"}}'