Campaigns
Clones the campaign's blueprint — name (suffixed " (copy)"), outreach
sequence, send schedule, sender pool (linkedinAccountIds) and the
lead-exclusion rules — into a fresh campaign that starts paused with no
leads and zeroed stats. Use it to rework a sequence that's locked
because leads are already in progress, or to spin up a variant of a
working campaign.
Authorization
bearerAuth AuthorizationBearer <token>
An API key created under Settings → API & Webhooks.
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/campaigns/string/duplicate"{ "data": { "id": "string", "name": "string", "status": "draft", "stats": { "total": 0, "done": 0, "failed": 0 }, "aiInterestEnabled": true, "linkedinAccountIds": [ "string" ], "excludeListIds": [ "string" ], "excludeOtherCampaigns": true, "excludeOtherSenders": true, "excludeSameSenderOtherCampaigns": true, "schedule": { "startDate": "2019-08-24T14:15:22Z", "endDate": "2019-08-24T14:15:22Z", "timezone": "string", "activeHours": { "from": "string", "to": "string" }, "activeDays": [ 0 ] }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "sequence": { "steps": [ { "id": "string", "type": "visit_profile", "parent": "string", "branch": "yes", "config": {}, "nextDelayHours": 0, "branchDelays": { "yes": 0, "no": 0 } } ] } }}