Remove leads from a campaign
Removes a selection of leads from one campaign: their sequence there stops and their rows and column values in that campaign are deleted. The people stay in the workspace with their other campaigns and conversations. The scope must name the campaign. Pass dryRun to get the count without removing anything.
/campaigns.leads.bulkRemoveFromCampaignAuthorization
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.leads.bulkRemoveFromCampaign" \ -H "Content-Type: application/json" \ -d '{ "scope": { "kind": "campaign", "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf" }, "selection": { "mode": "ids", "leadIds": [ "0e7eb83f-f60a-4ca7-95b5-29e3c79907f5" ] } }'{ "dryRun": true, "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "removedCount": 0}Enroll leads in a campaign POST
Enrolls the people behind a selection of leads into another campaign, existing or new. Select by explicit lead ids, or by filter (scope plus the same conditions as lead search). One fresh enrollment per person; Do Not Contact and blocklisted people are skipped. Their sequences still running elsewhere are stopped by default (activeConflictPolicy). sender keep_where_possible keeps each person's owner when that sender sends in the destination and unassigns the rest, so the destination's senders pick them up. Pass dryRun to get the counts without changing anything. Never starts the destination campaign.
Set a field for many leads POST
Sets one field to one value, or clears it, for a selection of leads. level picks which field: campaign is the column in each lead's campaign, which that campaign's messages read; person is the field on the person behind each lead, shared across their campaigns, and corrections follow into campaign copies that held the old value; company is the field on each lead's company, the same way. Fields are matched by name, ignoring case. Scoring and research columns cannot be edited. Fields that reach or identify the person or company (social profile, email, phone, names, website) can be, and the result carries warnings: always that a wrong value breaks outreach, and also when the value does not look like the field's format. A person's social profile or a company's page or website must be unique, so one value cannot be set on several people or companies. Pass dryRun to get how many records would change, the current values, and anything skipped, without changing anything.

