MailMoo
EndpointsCampaigns

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.

POST/campaigns.remove

Authorization

bearerAuth
AuthorizationBearer <token>

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}