Preview removing a condition
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.
/campaigns.previewConditionRemovalAuthorization
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)$uuid^([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.previewConditionRemoval?campaignId=497f6eca-6276-4993-bfeb-53cbbbba6f08&stepId=497f6eca-6276-4993-bfeb-53cbbbba6f08&input=%7B%22campaignId%22%3A%2213f8bf6d-dc27-4a04-bffe-6e5b13c19ddf%22%2C%22stepId%22%3A%2250e29fb7-490e-4a88-b2f4-2fde4d70423d%22%7D"{ "stepId": "50e29fb7-490e-4a88-b2f4-2fde4d70423d", "condition": "string", "yes": { "stepCount": 0, "steps": [ "string" ] }, "no": { "stepCount": 0, "steps": [ "string" ] }, "leadsReached": { "condition": 0, "yes": 0, "no": 0 }, "allowed": [ "yes" ]}Import lead rows into a campaign POST
Imports rows the caller already has, such as a spreadsheet's contents, into a campaign, as a CSV upload in the app would: up to 1000 rows per call, each an object of column name to value. Keys are matched to the campaign's columns by name (case-insensitive), then by what a header names, so a profile URL or "Email" header fills that column whatever it is called. Other keys become new columns. People already in the campaign are skipped, people on the blocklist are never enrolled, and someone whose sequence is running in another campaign has it stopped there unless activeElsewhere is skip. Nobody is contacted until the campaign runs. AI columns that fill automatically run on the new rows. Pass dryRun to see the column mapping, how many people are new or already in the workspace, and who is running elsewhere, without importing.
Get a campaign's sequence as a step list GET
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.

