Duplicate a campaign
Copies a campaign’s settings and its whole contact list into a new draft, ready to edit and start. Every contact comes over fresh, as never called, with the same id, phone, variables and metadata. Finished and archived campaigns can be copied too.
The body is optional and takes any create field except contacts. What you send replaces the original’s value; the name defaults to the original’s plus ” (copy)”, and the dates stay the same unless you send new ones. The copy has to pass the same checks as a create, so its agent must still exist and not be archived.
The new campaign’s id is saved as campaign_id, so the requests above now work on the copy.
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
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
Copy created