Score a campaign's leads
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.
/campaigns.scoreLeadsAuthorization
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.scoreLeads" \ -H "Content-Type: application/json" \ -d '{ "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf" }'{ "dryRun": true, "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "campaignName": "string", "leadCount": 0, "alreadyScored": 0, "toScore": 0, "needLeadFit": 0, "creditsRequired": 0}Copy a sequence into a campaign POST
Replaces a campaign's sequence steps with a copy of another campaign's: messages, variants, attachments, branches. 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) without changing anything.
Rerun a campaign POST
Runs a campaign's leads again in a new campaign, optionally with another campaign's sequence. The new campaign gets the sequence and sending schedule of sequenceFromCampaignId (default: the source campaign's own), the source campaign's columns with their values, and the source campaign's senders that can still send. A sender with no social account, or a disconnected one, is dropped and their leads unassigned so the remaining senders pick them up; everyone else keeps their sender. Every lead in the source campaign is included unless search or conditions narrow it, and their sequences still running there are stopped. Do Not Contact and blocklisted people are skipped. The new campaign is not started. Pass dryRun to get the same summary without creating or changing anything.

