# Campaigns

> Sequences, templates, steps and variants, leads, schedule, launch and pause. 33 REST endpoints with parameters, permissions and curl examples.

Canonical: https://ballast.to/docs/api/campaigns

[API reference](https://ballast.to/docs/api)

Sequences, templates, steps and variants, leads, schedule, launch and pause. 33 endpoints, each also a tool for your AI through [MCP](https://ballast.to/docs/mcp). Authentication and errors are on the [overview](https://ballast.to/docs/api#authentication).

## List campaigns

GET

/api/v1/campaigns

Newest first, with lead counts by progress.

MCP tool

list\_campaigns

Read-only

Parameters

- **`status` query · "draft" | "running" | "paused" | "completed"\[\]**

Returns

- **`campaigns` required object\[\]**

cURL

```
curl https://ballast.to/api/v1/campaigns \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Daily time-series email metrics for a campaign or all campaigns

GET

/api/v1/campaigns/stats

Returns daily time-series counts (day-by-day sent, replied, opened, bounced, positive) for a specific campaign (pass campaignId) or all campaigns combined over the last N days.

MCP tool

get\_campaign\_stats

Read-only

Parameters

- **`days` query · number**: 7, 30 or 90 days
- **`campaignId` query · string**

Returns

- **`days` required number**
- **`timezone` required string**: Days are calendar days in this timezone
- **`series` required object\[\]**
- **`totals` required object**
- **`tracksOpens` required boolean**: Some campaign in scope tracks opens

cURL

```
curl https://ballast.to/api/v1/campaigns/stats \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Multi-dimensional performance breakdown by provider, mailbox, and sentiment

GET

/api/v1/campaigns/analytics

Returns granular aggregate performance metrics broken down across email providers (Google Workspace, Microsoft 365, etc.), individual sending mailboxes, and reply sentiment classifications.

MCP tool

get\_campaign\_analytics

Read-only

Parameters

- **`days` query · number**: 7, 30 or 90 days

Returns

- **`days` required number**
- **`byCampaign` required object\[\]**
- **`byMailbox` required object\[\]**
- **`byEsp` required object\[\]**
- **`sentiment` required object**: Replies by the type of the label their thread carries now

cURL

```
curl https://ballast.to/api/v1/campaigns/analytics \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## One campaign's results by step, A/B variant, mailbox and email provider

GET

/api/v1/campaigns/{id}/breakdown

Since the campaign started. Replies count against the email they answered; the winner per step needs 50+ sends on each variant.

MCP tool

get\_campaign\_breakdown

Read-only

Parameters

- **`id` required path · string**

Returns

- **`steps` required object\[\]**
- **`byMailbox` required object\[\]**
- **`byEsp` required object\[\]**
- **`sentiment` required object**

cURL

```
curl https://ballast.to/api/v1/campaigns/<id>/breakdown \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Get a campaign with its sequence, schedule and settings

GET

/api/v1/campaigns/{id}

MCP tool

get\_campaign

Read-only

Parameters

- **`id` required path · string**

Returns

- **`id` required string**
- **`name` required string**
- **`status` required "draft" | "running" | "paused" | "completed"**
- **`pausedReason` required string | null**
- **`timezoneFallback` required string**: IANA timezone for leads without one
- **`windowStart` required integer**: Minutes after midnight
- **`windowEnd` required integer**
- **`days` required integer**: Bitmask, bit 0 = Monday ... bit 6 = Sunday
- **`dailyCap` required integer | null**: First emails a day for the campaign; null = only mailbox limits
- **`hourlyCap` required integer | null**: Campaign emails (every step) in any 60 minutes; null = no hourly cap
- **`weeklyCap` required integer | null**: Campaign emails (every step) per week, Monday to Sunday in timezoneFallback; null = no weekly cap
- **`dayHours` required object | null**: Hours for some weekdays instead of windowStart/windowEnd: {"4": \[540, 780\]} sends 9:00 to 13:00 on Fridays. Keys are day bits (0 = Monday). Null = the same window every day
- **`skipDates` required string\[\]**: Days off (holidays, breaks): YYYY-MM-DD, in each lead's own time zone. Nothing goes out on them, follow-ups wait. Past days are dropped on save
- **`bounceThreshold` required number | null**: Pause at this bounce rate (%); null = workspace default
- **`espMatching` required boolean**
- **`stopOnReply` required boolean**
- **`stopOnMeeting` required boolean**: A lead who books a meeting through the workspace's Calendly or Cal.com connection gets nothing more from this campaign (matched by email). Default on
- **`trackClicks` required boolean**
- **`trackOpens` required boolean**
- **`startOn` required string | null**: Optional first sending day (YYYY-MM-DD, in timezoneFallback). Null = start when launched
- **`endOn` required string | null**: Optional last sending day (YYYY-MM-DD, in timezoneFallback). After it nothing goes out and the campaign pauses. Null = no end
- **`stopForCompany` required boolean**: When a lead replies, stop the sequence for everyone at the same company domain (free-mail domains excluded)
- **`skipRisky` required boolean**: Leave out risky and catch-all leads: skipped when added and before their first email
- **`sameVariant` required boolean**: Same variant in every step: a lead who got variant B in step 1 gets B in later steps too, when that step has a B turned on, so variants compare whole sequences. Off: each step picks its own variant
- **`autoWinner` required boolean**: Pick the winner automatically: once an hour while the campaign runs, a step's variant is turned off when it and the leading variant have 100+ emails each, the leader has 5+ replies and it's 95% likely the leader gets more replies. Variants a person turns back on stay on
- **`noReplyCampaignId` required string | null**: No-reply follow-on: leads who finish this sequence without a reply move into this campaign (draft, running or paused) noReplyAfterDays after their last email. Applies to leads finishing from now on. Null = they stop here
- **`noReplyAfterDays` required integer**: Days after the last email before a lead who didn't reply moves to the follow-on campaign
- **`startedAt` required string | null**
- **`createdAt` required string**
- **`updatedAt` required string**
- **`steps` required object\[\]**
- **`mailboxIds` required string\[\]**
- **`leadCounts` required object**: Campaign leads by status
- **`reached` required number\[\]**: Leads that reached each step (index = step position)
- **`activeMailboxes` required number**
- **`noReplyCampaign` required object | null**: The no-reply follow-on campaign
- **`feeders` required object\[\]**: Campaigns that hand their non-repliers to this one
- **`followOn` required object**
- **`workspace` required object**

cURL

```
curl https://ballast.to/api/v1/campaigns/<id> \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Create a draft campaign

POST

/api/v1/campaigns

Starts with one empty email, or with a saved or built-in template's sequence when templateId is given. The campaign is a draft until it is launched.

MCP tool

create\_campaign

Parameters

- **`name` string**
- **`templateId` string**: Start from this sequence template

Returns

- **`id` required string**

cURL

```
curl -X POST https://ballast.to/api/v1/campaigns \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"<name>","templateId":"<templateId>"}'
```

## Copy a campaign's sequence, schedule and mailboxes into a new draft (no leads)

POST

/api/v1/campaigns/{id}/duplicate

MCP tool

duplicate\_campaign

Parameters

- **`id` required path · string**

Returns

- **`id` required string**

cURL

```
curl -X POST https://ballast.to/api/v1/campaigns/<id>/duplicate \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Rename a campaign or change its schedule, mailboxes and options

PATCH

/api/v1/campaigns/{id}

MCP tool

update\_campaign

Parameters

- **`id` required path · string**
- **`name` string**
- **`mailboxIds` string\[\]**: Replaces the campaign's mailboxes
- **`timezoneFallback` string**: IANA timezone for leads without one
- **`windowStart` integer**: Minutes after midnight
- **`windowEnd` integer**
- **`days` integer**: Bitmask, bit 0 = Monday ... bit 6 = Sunday
- **`dailyCap` integer | null**: First emails a day for the campaign; null = only mailbox limits
- **`hourlyCap` integer | null**: Campaign emails (every step) in any 60 minutes; null = no hourly cap
- **`weeklyCap` integer | null**: Campaign emails (every step) per week, Monday to Sunday in timezoneFallback; null = no weekly cap
- **`dayHours` object | null**: Hours for some weekdays instead of windowStart/windowEnd: {"4": \[540, 780\]} sends 9:00 to 13:00 on Fridays. Keys are day bits (0 = Monday). Null = the same window every day
- **`skipDates` string\[\]**: Days off (holidays, breaks): YYYY-MM-DD, in each lead's own time zone. Nothing goes out on them, follow-ups wait. Past days are dropped on save
- **`bounceThreshold` number | null**: Pause at this bounce rate (%); null = workspace default
- **`espMatching` boolean**
- **`stopOnReply` boolean**
- **`stopOnMeeting` boolean**: A lead who books a meeting through the workspace's Calendly or Cal.com connection gets nothing more from this campaign (matched by email). Default on
- **`trackClicks` boolean**
- **`trackOpens` boolean**
- **`startOn` string | null**: Optional first sending day (YYYY-MM-DD, in timezoneFallback). Null = start when launched
- **`endOn` string | null**: Optional last sending day (YYYY-MM-DD, in timezoneFallback). After it nothing goes out and the campaign pauses. Null = no end
- **`stopForCompany` boolean**: When a lead replies, stop the sequence for everyone at the same company domain (free-mail domains excluded)
- **`skipRisky` boolean**: Leave out risky and catch-all leads: skipped when added and before their first email
- **`sameVariant` boolean**: Same variant in every step: a lead who got variant B in step 1 gets B in later steps too, when that step has a B turned on, so variants compare whole sequences. Off: each step picks its own variant
- **`autoWinner` boolean**: Pick the winner automatically: once an hour while the campaign runs, a step's variant is turned off when it and the leading variant have 100+ emails each, the leader has 5+ replies and it's 95% likely the leader gets more replies. Variants a person turns back on stay on
- **`noReplyCampaignId` string | null**: No-reply follow-on: leads who finish this sequence without a reply move into this campaign (draft, running or paused) noReplyAfterDays after their last email. Applies to leads finishing from now on. Null = they stop here
- **`noReplyAfterDays` integer**: Days after the last email before a lead who didn't reply moves to the follow-on campaign

Returns the same fields as Get a campaign with its sequence, schedule and settings.

cURL

```
curl -X PATCH https://ballast.to/api/v1/campaigns/<id> \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"<name>","mailboxIds":[]}'
```

## Delete a campaign

DELETE

/api/v1/campaigns/{id}

Its leads stay in the workspace.

MCP tool

delete\_campaign

MCP asks to confirm

Parameters

- **`id` required path · string**

Returns

- **`ok` required true**

cURL

```
curl -X DELETE https://ballast.to/api/v1/campaigns/<id> \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Add a follow-up step at the end

POST

/api/v1/campaigns/{id}/steps

Parameters

- **`id` required path · string**

Returns the same fields as Get a campaign with its sequence, schedule and settings.

cURL

```
curl -X POST https://ballast.to/api/v1/campaigns/<id>/steps \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Change a step's wait time or threading

PATCH

/api/v1/campaigns/{id}/steps/{stepId}

Parameters

- **`id` required path · string**
- **`stepId` required path · string**
- **`waitDays` integer**
- **`sameThread` boolean**

Returns

- **`ok` required true**

cURL

```
curl -X PATCH https://ballast.to/api/v1/campaigns/<id>/steps/<stepId> \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"waitDays":0,"sameThread":true}'
```

## Delete a step

DELETE

/api/v1/campaigns/{id}/steps/{stepId}

Parameters

- **`id` required path · string**
- **`stepId` required path · string**

Returns the same fields as Get a campaign with its sequence, schedule and settings.

cURL

```
curl -X DELETE https://ballast.to/api/v1/campaigns/<id>/steps/<stepId> \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Move a step up or down

POST

/api/v1/campaigns/{id}/steps/{stepId}/move

Parameters

- **`id` required path · string**
- **`stepId` required path · string**
- **`to` required integer**

Returns the same fields as Get a campaign with its sequence, schedule and settings.

cURL

```
curl -X POST https://ballast.to/api/v1/campaigns/<id>/steps/<stepId>/move \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to":0}'
```

## Add an A/B variant to a step, optionally copying another

POST

/api/v1/campaigns/{id}/steps/{stepId}/variants

Parameters

- **`id` required path · string**
- **`stepId` required path · string**
- **`copyFrom` string**

Returns the same fields as Get a campaign with its sequence, schedule and settings.

cURL

```
curl -X POST https://ballast.to/api/v1/campaigns/<id>/steps/<stepId>/variants \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"copyFrom":"<copyFrom>"}'
```

## Change a variant's subject, body, weight or on/off

PATCH

/api/v1/campaigns/{id}/variants/{variantId}

Parameters

- **`id` required path · string**
- **`variantId` required path · string**
- **`subject` string**
- **`body` string**: HTML or plain text; sanitized on save
- **`weight` integer**
- **`active` boolean**

Returns

- **`ok` required true**
- **`body` required string**: The body as saved (sanitized)
- **`name` required string | null**: The campaign's new name when this save named an "Untitled campaign" after its first subject

cURL

```
curl -X PATCH https://ballast.to/api/v1/campaigns/<id>/variants/<variantId> \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"subject":"<subject>","body":"<body>"}'
```

## Delete a variant

DELETE

/api/v1/campaigns/{id}/variants/{variantId}

Parameters

- **`id` required path · string**
- **`variantId` required path · string**

Returns the same fields as Get a campaign with its sequence, schedule and settings.

cURL

```
curl -X DELETE https://ballast.to/api/v1/campaigns/<id>/variants/<variantId> \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Replace the whole sequence

PUT

/api/v1/campaigns/{id}/sequence

Steps in order, each with 1 to 5 variants. Bodies may be plain text (blank lines split paragraphs) or simple HTML. Use {{first\_name}} style variables, {{first\_name|there}} for a fallback, {Hi|Hello} spintax, and put {{unsubscribe}} in the first email. Only drafts and paused campaigns.

MCP tool

set\_sequence

Parameters

- **`id` required path · string**
- **`steps` required object\[\]**

Returns the same fields as Get a campaign with its sequence, schedule and settings.

cURL

```
curl -X PUT https://ballast.to/api/v1/campaigns/<id>/sequence \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"steps":[]}'
```

## Replace a draft's sequence with a template

POST

/api/v1/campaigns/{id}/template

Only draft campaigns. Built-in templates keep \[\[bracketed\]\] parts for you to replace; the launch checklist refuses an email that still has one.

MCP tool

apply\_sequence\_template

Parameters

- **`id` required path · string**
- **`templateId` required string**

Returns the same fields as Get a campaign with its sequence, schedule and settings.

cURL

```
curl -X POST https://ballast.to/api/v1/campaigns/<id>/template \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"templateId":"<templateId>"}'
```

## Write emails with AI from the offer profile

POST

/api/v1/campaigns/{id}/write

Drafts a whole sequence (mode sequence) or a new version of one variant (rewrite, shorter, angle), using only facts from the workspace's offer profile and lead fields. Results are saved as new variants and never overwrite existing text; an empty campaign gets the drafted steps. Each email is checked against the content checklist; anything still failing comes back in problems. Requires that the workspace's offer profile is configured in Ballast settings (or updated via update\_offer\_profile).

MCP tool

write\_sequence

Needs an active plan

Parameters

- **`id` required path · string**
- **`mode` "sequence" | "rewrite" | "shorter" | "angle"**: sequence = draft every step; rewrite, shorter, angle = a new version of one variant
- **`steps` integer**: sequence mode: how many emails
- **`variantId` string**: rewrite, shorter, angle: the variant to start from (required)
- **`angle` string**: Optional angle or notes, e.g. 'lead with the cost of manual payroll'
- **`persona` string**: Optional target persona, e.g. 'operations managers at restaurant groups'

Returns

- **`campaign` required object**
- **`created` required object\[\]**
- **`skipped` required string\[\]**: Emails that had nowhere to go (step already has 5 variants, or 10 steps)

cURL

```
curl -X POST https://ballast.to/api/v1/campaigns/<id>/write \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mode":"sequence","steps":0}'
```

## Leads in a campaign with their progress

GET

/api/v1/campaigns/{id}/leads

MCP tool

list\_campaign\_leads

Read-only

Parameters

- **`id` required path · string**
- **`status` query · "not\_contacted" | "contacted" | "completed" | "replied" | "rescheduled" | "unsubscribed" | "bounced" | "skipped" | "stopped"\[\]**
- **`search` query · string**
- **`page` query · integer**
- **`pageSize` query · integer**

Returns

- **`leads` required object\[\]**
- **`total` required number**
- **`page` required number**
- **`pageSize` required number**

cURL

```
curl https://ballast.to/api/v1/campaigns/<id>/leads \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Emails sent to one lead in a campaign

GET

/api/v1/campaigns/{id}/leads/{campaignLeadId}/sends

Every step that went out, with its rendered subject and body, status and any error.

MCP tool

list\_campaign\_lead\_sends

Read-only

Parameters

- **`id` required path · string**
- **`campaignLeadId` required path · string**

Returns

- **`sends` required object\[\]**

cURL

```
curl https://ballast.to/api/v1/campaigns/<id>/leads/<campaignLeadId>/sends \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Emails sent in a campaign with optional mailbox/step/variant/ESP filter

GET

/api/v1/campaigns/{id}/sends

Every email that went out in this campaign, with recipient lead, rendered subject and body, status and timestamp.

MCP tool

list\_campaign\_sends

Read-only

Parameters

- **`id` required path · string**
- **`mailboxId` query · string**
- **`stepId` query · string**
- **`variantId` query · string**
- **`esp` query · string**
- **`limit` query · integer**

Returns

- **`sends` required object\[\]**

cURL

```
curl https://ballast.to/api/v1/campaigns/<id>/sends \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Add leads from lists (or by id) to a campaign

POST

/api/v1/campaigns/{id}/leads

Skips leads already in the campaign, unsubscribed, bounced or suppressed leads, and addresses verification found invalid.

MCP tool

add\_leads\_to\_campaign

MCP asks to confirm

Parameters

- **`id` required path · string**
- **`listIds` string\[\]**
- **`leadIds` string\[\]**
- **`allLeads` boolean**: Every lead in the workspace

Returns

- **`matched` required number**
- **`added` required number**
- **`alreadyIn` required number**
- **`suppressed` required number**: Unsubscribed, bounced or on the suppression list
- **`invalid` required number**: Verification said the address doesn't exist
- **`risky` required number**: Risky or catch-all, left out because the campaign skips risky leads

cURL

```
curl -X POST https://ballast.to/api/v1/campaigns/<id>/leads \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"listIds":[],"leadIds":[]}'
```

## Take leads out of a campaign (they stay in the workspace)

POST

/api/v1/campaigns/{id}/leads/remove

MCP tool

remove\_leads\_from\_campaign

MCP asks to confirm

Parameters

- **`id` required path · string**
- **`ids` required string\[\]**: Campaign lead ids

Returns

- **`removed` required number**

cURL

```
curl -X POST https://ballast.to/api/v1/campaigns/<id>/leads/remove \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ids":[]}'
```

## Render every step and variant for one lead

GET

/api/v1/campaigns/{id}/preview

Shows the emails exactly as that lead would get them, with spintax resolved the way it will be for them. Defaults to the first lead in the campaign.

MCP tool

preview\_campaign

Read-only

Parameters

- **`id` required path · string**
- **`leadId` query · string**

Returns

- **`lead` required object | null**
- **`sender` required object | null**
- **`unsubscribe` required object**: The workspace's unsubscribe line and postal address, which {{unsubscribe}} renders to
- **`emails` required object\[\]**
- **`picker` required object\[\]**
- **`pickerTotal` required number**

cURL

```
curl https://ballast.to/api/v1/campaigns/<id>/preview \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## What has to be fixed before launch

GET

/api/v1/campaigns/{id}/checklist

Required items block the launch; warnings are advice.

MCP tool

get\_launch\_checklist

Read-only

Parameters

- **`id` required path · string**

Returns

- **`items` required object\[\]**
- **`canLaunch` required boolean**
- **`firstSend` required object**: When a launch now sends the first emails

cURL

```
curl https://ballast.to/api/v1/campaigns/<id>/checklist \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## What goes out today and what holds it back

GET

/api/v1/campaigns/{id}/sending-plan

Today's plan for a campaign: anything that stops it (paused, hold, plan, link domain), the emails due today in each lead's time zone, every limit that applies (mailbox limits with warmup held back, the gaps between emails, mailbox health, daily, hourly and weekly caps, the plan's monthly emails, the new-workspace limit) and the one that cuts today's number the most, with a line per mailbox. Answers "why didn't more go out?".

MCP tool

get\_campaign\_sending\_plan

Read-only

Parameters

- **`id` required path · string**

Returns

- **`state` required "sending" | "waiting" | "stopped" | "idle"**: sending = more can go out today; waiting = nothing more today; stopped = a stop item; idle = no lead left
- **`headline` required string**
- **`estimate` required number**: Emails this campaign can likely still send today (gaps are random and leads in other time zones open their hours at other times)
- **`sentToday` required number**: Emails this campaign sent today, in its timezoneFallback
- **`dueToday` required number**: Emails due before each lead's sending hours end today
- **`limitedBy` required "status" | "demo" | "held" | "breaker" | "plan" | "link\_domain" | "ended" | "start" | "mailboxes" | "leads" | "window" | "pace" | "health" | "daily\_cap" | "hourly\_cap" | "weekly\_cap" | "allowance" | "new\_workspace" | null**: The limit that cuts today's number the most; null when nothing does
- **`items` required object\[\]**
- **`mailboxes` required object\[\]**

cURL

```
curl https://ballast.to/api/v1/campaigns/<id>/sending-plan \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Launch or resume a campaign

POST

/api/v1/campaigns/{id}/launch

Runs the launch checklist first and refuses when a required item fails. The worker then sends inside the schedule window.

MCP tool

launch\_campaign

Needs an active plan

MCP asks to confirm

Parameters

- **`id` required path · string**

Returns

- **`status` required "draft" | "running" | "paused" | "completed"**
- **`items` required object\[\]**

cURL

```
curl -X POST https://ballast.to/api/v1/campaigns/<id>/launch \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Pause a running campaign

POST

/api/v1/campaigns/{id}/pause

Nothing more is sent until it is launched again. Emails already handed to the provider still arrive.

MCP tool

pause\_campaign

Parameters

- **`id` required path · string**

Returns

- **`status` required "draft" | "running" | "paused" | "completed"**

cURL

```
curl -X POST https://ballast.to/api/v1/campaigns/<id>/pause \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## List sequence templates

GET

/api/v1/templates

The workspace's saved templates (newest first), then Ballast's built-in ones. Built-in emails keep the parts only you know in \[\[double brackets\]\]; a campaign can't launch until they're replaced.

MCP tool

list\_sequence\_templates

Read-only

Returns a list of

- **`id` required string**: Built-in templates have ids starting with builtin:
- **`name` required string**
- **`description` required string**
- **`builtin` required boolean**: Ready-made by Ballast; can't be changed or deleted
- **`shape` required string**: e.g. "3 emails over 7 days"
- **`placeholders` required number**: \[\[...\]\] parts to replace with your own words before launching
- **`steps` required object\[\]**
- **`createdAt` required string | null**

cURL

```
curl https://ballast.to/api/v1/templates \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```

## Save a campaign's sequence as a template

POST

/api/v1/templates

Copies every step and variant (subjects, bodies, waits, threading, weights). The campaign itself doesn't change.

MCP tool

save\_sequence\_template

Parameters

- **`campaignId` required string**
- **`name` required string**
- **`description` string**

Returns

- **`id` required string**: Built-in templates have ids starting with builtin:
- **`name` required string**
- **`description` required string**
- **`builtin` required boolean**: Ready-made by Ballast; can't be changed or deleted
- **`shape` required string**: e.g. "3 emails over 7 days"
- **`placeholders` required number**: \[\[...\]\] parts to replace with your own words before launching
- **`steps` required object\[\]**
- **`createdAt` required string | null**

cURL

```
curl -X POST https://ballast.to/api/v1/templates \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"campaignId":"<campaignId>","name":"<name>"}'
```

## Rename a saved template or change its description

PATCH

/api/v1/templates/{id}

MCP tool

update\_sequence\_template

Parameters

- **`id` required path · string**
- **`name` string**
- **`description` string**

Returns the same fields as Save a campaign's sequence as a template.

cURL

```
curl -X PATCH https://ballast.to/api/v1/templates/<id> \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"<name>","description":"<description>"}'
```

## Delete a saved template

DELETE

/api/v1/templates/{id}

Campaigns started from it keep their emails.

MCP tool

delete\_sequence\_template

MCP asks to confirm

Parameters

- **`id` required path · string**

Returns

- **`ok` required true**

cURL

```
curl -X DELETE https://ballast.to/api/v1/templates/<id> \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```
