Delete a campaign
Deletes a campaign as the app does: its sequence stops and the campaign disappears from lists. Its leads, the people behind them and their conversations stay in the workspace. Pass dryRun to see whether it is running and how many leads it has, without changing anything.
/campaigns.removeAuthorization
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.remove" \ -H "Content-Type: application/json" \ -d '{ "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf" }'{ "dryRun": true, "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "campaignName": "string", "wasRunning": true, "leadCount": 0}Rename a campaign POST
Changes a campaign's name. Nothing else changes.
Change how a campaign picks leads POST
Changes the sequence's lead-picking settings: preferNewLeads starts the newest leads first, and company relay tries a colleague at the same company when someone does not answer, up to maxPersonsPerCompany people and optionally only at the given seniority levels. Only what you pass changes. Pass dryRun to see the settings before and after without changing anything.

