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
Body
One of your phone numbers (GET /v2/phone-numbers) on a different carrier than the numbers this campaign calls from. When a carrier refuses a call before anything is answered, the contact is rung once more from this number, at no attempt cost, at most once per contact per day. null clears it. Not with caller_ids.
Words speech recognition listens for on this campaign's calls: brand, product, place and people names. Up to 100 terms, each 1-50 characters and at most 5 words, in any script, with no commas, new lines or tabs. Spaces are tidied and repeats (ignoring case) dropped, keeping the first spelling. A call hears the campaign's terms first, then its agent's, up to 200 in all. An array replaces the whole list; [] or null clears it. May change while the campaign runs: the next call uses the new list.
1001 - 50Pause the campaign on its own once this many calls have connected (completed or timeout; voicemail does not count). Counting starts when it is set and again on each start or resume after it paused the campaign. null removes it. May change while the campaign runs.
1 <= x <= 100000Response
Copy created