MailMoo
EndpointsCampaigns

Remove a step from a campaign's sequence

Removes one step from a paused campaign's sequence and joins the steps on either side. Conditions are removed in the app, and the last step of a condition path cannot be removed until another takes its place. Returns the sequence and what would still stop it from starting.

POST/campaigns.removeSequenceStep

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.removeSequenceStep" \  -H "Content-Type: application/json" \  -d '{    "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",    "stepId": "50e29fb7-490e-4a88-b2f4-2fde4d70423d"  }'
{  "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",  "campaignName": "string",  "stepCount": 0,  "steps": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "number": 0,      "type": "string",      "branch": "yes",      "content": "string",      "subject": "string",      "waitTimeSeconds": 0,      "sendCondition": "string",      "stopIfSkipped": true,      "emailThreading": "string",      "voiceNote": {        "mode": "none"      }    }  ],  "readiness": {    "ready": true,    "problems": [      {        "severity": "error",        "message": "string"      }    ]  }}