Duplicate a campaign into a new draft
Access: an API key (or an org-wide key naming the workspace) with manage on campaigns.
Any status. The copy is a draft with the source's lead list, exclude list, exclusion toggles, senders, schedule and sequence (a launched campaign's current version). No leads, progress or stats are copied: launching the copy enrolls its list again, and its exclusion toggles decide who the source already reached. Default name: <name> (copy); the body is optional. This is also how to run a launched campaign again with other steps or another lead list.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
campaignId*string^[0-9a-f]{24}$application/json- body
name?string1 <= length <= 200Default Response
application/json- response
campaign*curl -X POST 'https://api.tryzen.co/v1/campaigns/string/duplicate' \ -H 'Content-Type: application/json' \ -d '{}'{ "campaign": { "id": "string", "name": "string", "status": "draft", "revision": 0, "listId": "string", "excludeListId": "string", "exclusions": { "otherCampaigns": false, "otherSenderConversations": false, "sameSenderOtherCampaigns": false, "blacklistLeads": true, "blacklistCompanies": true }, "senderIds": [ "string" ], "schedule": { "tz": "string", "days": [ "mon" ], "from": "string", "to": "string", "startDate": "string", "endDate": "string" }, "sequence": { "rootId": "string", "nodes": { "property1": { "type": "if_connected", "config": {}, "delay": { "value": 0, "unit": "hours" }, "branches": { "yes": "string", "no": "string" } }, "property2": { "type": "if_connected", "config": {}, "delay": { "value": 0, "unit": "hours" }, "branches": { "yes": "string", "no": "string" } } } }, "sequenceVersion": 1, "launchedAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Change the toggles or swap the exclude list, before or after launch PATCH
**Access:** an API key (or an org-wide key naming the workspace) with manage on `campaigns`. Applies from the lead's next step: the engine re-checks exclusions before every step. `exclusions` replaces all five toggles.
Senders, campaigns and tags for the Unibox filter bar GET
**Access:** an API key (or an org-wide key naming the workspace) with view on `inbox`.