Update a campaign
Send only the fields you want to change. A draft or paused campaign takes any setting except agent_id and timezone, which are fixed once it’s created. While it’s running, only max_concurrent, slots and dial_cps can change, and they take effect straight away. For anything else, pause, edit, then resume.
"archived": true files a campaign away without touching its status, contacts or report; false brings it back. A running campaign can’t be archived, and an archived one can’t be started until you restore it.
Authorizations
Your workspace secret key, sk_live_ followed by 32 hex characters. Create one in the console under Developers.
Path Parameters
The campaign's id (cmp_…).
Body
true archives the campaign, false restores it. Status, contacts and settings are unchanged either way. null is rejected.
One of your phone numbers (GET /v2/phone-numbers) that every call of this campaign rings from, through its own provider connection. null clears it. Exclusive with caller_ids.
One of your phone pools (GET /v2/phone-pools): each contact rings from the number the pool picks. null clears it. Exclusive with phone_number_id and caller_ids.
Response
Updated