Get a campaign's sequence as a step list
A campaign's sequence as one flat list of steps, each with the step it follows (afterStepId) and the condition path it is on (branch), plus each condition's settings, whether the campaign is running, its sending schedule, and what would stop it from starting. Much smaller than the editor's full sequence.
/campaigns.getSequenceStepsAuthorization
bearerAuth Enter your MailMoo API key (format: sk_live_...)
In: header
Query Parameters
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/campaigns.getSequenceSteps?campaignId=497f6eca-6276-4993-bfeb-53cbbbba6f08&input=%7B%22campaignId%22%3A%2213f8bf6d-dc27-4a04-bffe-6e5b13c19ddf%22%7D"{ "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "campaignName": "string", "stepCount": 0, "steps": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "number": 0, "type": "string", "afterStepId": "4d7c484a-f1bc-4219-9cc5-5598324694b9", "branch": "yes", "condition": { "type": "is_connected", "waitForAcceptanceSeconds": 0, "withdrawRequest": true }, "tag": { "tagId": "f69eb9f1-ae9f-4086-b25c-c39758a43fb3", "name": "string" }, "content": "string", "subject": "string", "waitTimeSeconds": 0, "sendCondition": "string", "stopIfSkipped": true, "emailThreading": "string", "targetCampaignId": "6a64de3e-31f7-43d6-bcfd-1b400b4dadb1", "targetCampaignName": "string", "voiceNote": { "mode": "none" }, "attachment": { "file": "video", "fileName": "string" }, "split": { "parts": [ "string" ], "lastPart": { "type": "message" } }, "variants": [ { "id": "string", "name": "string", "text": "string", "parts": [ "string" ] } ] } ], "readiness": { "ready": true, "problems": [ { "severity": "error", "message": "string" } ] }, "running": true, "schedule": { "timeZone": "string", "utcOffsetMinutes": 0, "days": { "monday": { "enabled": true, "start": "string", "end": "string" }, "tuesday": { "enabled": true, "start": "string", "end": "string" }, "wednesday": { "enabled": true, "start": "string", "end": "string" }, "thursday": { "enabled": true, "start": "string", "end": "string" }, "friday": { "enabled": true, "start": "string", "end": "string" }, "saturday": { "enabled": true, "start": "string", "end": "string" }, "sunday": { "enabled": true, "start": "string", "end": "string" } } }}Preview removing a condition GET
What removing a condition step would delete, without changing anything: the steps on its Yes and No paths, how many leads have reached the condition or each path, and which keepBranch choices campaigns.removeSequenceStep would accept now. A step a lead has reached cannot be deleted, so a path with leads on it can only be kept.
Count what needs attention GET
Returns how many leads sit in each bucket of the triage queue: waiting on a reply, due a catch-up, carrying a due task, gone quiet, stalled, or due to wake from on-hold. A lead lands in exactly one bucket, so the buckets sum to `total`.

