Copy a sequence into a campaign
Replaces a campaign's sequence steps with a copy of another campaign's: messages, variants, attachments, branches. Only the steps connected to the source's sequence are copied. The campaign keeps its own senders and schedule. Refused while the campaign is running; pause it first. Pass dryRun to see the step count and what the copy would be missing (merge fields without a column, video or slideshow not set up) or bring along (flowProblems) without changing anything. A copy whose source flow has errors (flowHasErrors, such as a path after a connection request that sends nothing) is refused unless acceptFlowProblems is passed.
/campaigns.copySequenceAuthorization
bearerAuth Enter your MailMoo API key (format: sk_live_...)
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/campaigns.copySequence" \ -H "Content-Type: application/json" \ -d '{ "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "fromCampaignId": "34951e55-20a8-4444-916d-5db52feef174" }'{ "dryRun": true, "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "fromCampaign": { "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "name": "string" }, "stepCount": 0, "warnings": { "missingVariables": [ "string" ], "videoNotConfigured": true, "slidesNotConfigured": true, "icpScoreMissing": true, "missingFilterColumns": [ "string" ], "flowProblems": [ "string" ], "flowHasErrors": true }}Create a campaign POST
Creates a campaign with its senders and a sequence, switched off. The sequence is copied from another campaign (steps, messages, branches and sending schedule), built from a template with messages written from the workspace's context, or left empty. Add leads afterwards with campaigns.leads.bulkEnrollInCampaign or leadFinder.addProspectsToCampaign, then start it with campaigns.setSequenceActive.
Score a campaign's leads POST
Runs Lead Fit (how well each lead matches the workspace's ideal customer) and the Oracle reply score for the campaign's leads that are not scored yet, in the background. Leads that already have Lead Fit are only Oracle-scored, which costs nothing; Lead Fit is charged in workspace credits per lead. Pass dryRun to get the counts and credit cost first. Results appear in the campaign's Lead Fit and Oracle columns over a few minutes.

