duplicate_campaign
Duplicate a campaign (template, content, and settings) as a new draft — works on sent campaigns too, so this is the way to re-use a past campaign's design. Optionally rename and retarget in the same call (exactly ONE of audienceIds / segmentId / contactIds / tagIds / sendToAll). NOTE: without retargeting, the copy keeps the ORIGINAL campaign's recipients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the new draft (default: original name + ' (Copy)') | |
| apiKey | No | Send16 API key (overrides SEND16_API_KEY env var) | |
| tagIds | No | Retarget the new draft to contacts with these tag IDs | |
| segmentId | No | Retarget the new draft to this segment | |
| sendToAll | No | Retarget the new draft to all subscribed contacts | |
| campaignId | Yes | Campaign ID to duplicate | |
| contactIds | No | Retarget the new draft to these contact IDs | |
| audienceIds | No | Retarget the new draft to these audience IDs (see list_audiences) |