# Leads

> Create, import, update, verify and mark leads won. 22 REST endpoints with parameters, permissions and curl examples. Each is also an MCP tool.

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

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

Create, import, update, verify and mark leads won. 22 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 leads

GET

/api/v1/leads

Paged, newest first by default. Filter by list, label, status, verification and ESP, or search email, name and company.

MCP tool

list\_leads

Read-only

Parameters

- **`search` query · string**: Matches email, name and company
- **`listId` query · string**
- **`labelId` query · string**: Only leads with this label; 'none' for leads without labels
- **`status` query · "active" | "replied" | "interested" | "won" | "bounced" | "unsubscribed" | "suppressed"\[\]**
- **`verify` query · "unknown" | "verifying" | "valid" | "risky" | "invalid" | "catch\_all"\[\]**
- **`esp` query · "google" | "microsoft" | "yahoo" | "proton" | "icloud" | "zoho" | "other" | "unknown"\[\]**
- **`page` query · integer**
- **`pageSize` query · integer**
- **`sort` query · "createdAt" | "email" | "name" | "company"**
- **`dir` query · "asc" | "desc"**

Returns

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

cURL

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

## Lead counts by status, verification and ESP

GET

/api/v1/leads/stats

Read-only

Parameters

- **`listId` query · string**

Returns

- **`total` required number**
- **`status` required object**
- **`verify` required object**
- **`esp` required object**
- **`importing` required boolean**: An import is still checking domains or verifying
- **`verifierEnabled` required boolean**: A verifier API is configured; without it only local checks run

cURL

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

## Get a lead with custom fields, lists and labels

GET

/api/v1/leads/{id}

MCP tool

get\_lead

Read-only

Parameters

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

Returns

- **`id` required string**
- **`email` required string**
- **`firstName` required string | null**
- **`lastName` required string | null**
- **`company` required string | null**
- **`title` required string | null**
- **`country` required string | null**
- **`timezone` required string | null**
- **`esp` required "google" | "microsoft" | "yahoo" | "proton" | "icloud" | "zoho" | "other" | "unknown"**
- **`mxHost` required string | null**
- **`verifyStatus` required "unknown" | "verifying" | "valid" | "risky" | "invalid" | "catch\_all"**
- **`verifyReason` required string | null**
- **`status` required "active" | "replied" | "interested" | "won" | "bounced" | "unsubscribed" | "suppressed"**
- **`labels` required object\[\]**
- **`createdAt` required string**
- **`countrySource` required "timezone" | "phone" | "email" | "website" | null**
- **`timezoneSource` required "replies" | null**: replies = learned from the hours the lead replies at; null = given or from the country
- **`website` required string | null**
- **`phone` required string | null**
- **`linkedin` required string | null**
- **`custom` required object**
- **`lists` required object\[\]**
- **`verifiedAt` required string | null**
- **`checkBack` required object | null**
- **`updatedAt` required string**

cURL

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

## Add one lead

POST

/api/v1/leads

MCP tool

create\_lead

Parameters

- **`firstName` string | null**
- **`lastName` string | null**
- **`company` string | null**
- **`title` string | null**
- **`website` string | null**
- **`phone` string | null**
- **`linkedin` string | null**
- **`country` string | null**
- **`timezone` string | null**
- **`custom` object**
- **`email` required string**
- **`listId` string**

Returns the same fields as Get a lead with custom fields, lists and labels.

cURL

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

## Create or update a lead by email

POST

/api/v1/leads/upsert

Matches an existing lead by email. New leads go through the same checks as Add lead (suppressions, contact limit). On an existing lead, fields you send replace its values and blank ones are left alone; custom fields are merged. Optionally adds the lead to a list and to a campaign, with the campaign's usual skips.

MCP tool

upsert\_lead

Parameters

- **`firstName` string | null**
- **`lastName` string | null**
- **`company` string | null**
- **`title` string | null**
- **`website` string | null**
- **`phone` string | null**
- **`linkedin` string | null**
- **`country` string | null**
- **`custom` object | null**: Merged into the lead's custom fields
- **`email` required string**
- **`ifExists` "update" | "skip"**: update = write the fields you sent; skip = leave an existing lead as it is
- **`listId` string**: Also put the lead on this list
- **`campaignId` string**: Also add the lead to this campaign

Returns

- **`result` required "created" | "updated" | "unchanged" | "left\_alone" | "suppressed"**: left\_alone = it existed and ifExists was skip; suppressed = created, but the address is on the suppression list
- **`lead` required object**
- **`list` required object | null**
- **`campaign` required object | null**

cURL

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

## Change a lead's fields or status

PATCH

/api/v1/leads/{id}

MCP tool

update\_lead

Parameters

- **`id` required path · string**
- **`firstName` string | null**
- **`lastName` string | null**
- **`company` string | null**
- **`title` string | null**
- **`website` string | null**
- **`phone` string | null**
- **`linkedin` string | null**
- **`country` string | null**
- **`timezone` string | null**
- **`custom` object**
- **`status` "active" | "replied" | "interested" | "won" | "bounced" | "unsubscribed" | "suppressed"**

Returns the same fields as Get a lead with custom fields, lists and labels.

cURL

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

## Mark a lead won

POST

/api/v1/leads/{id}/won

The lead became a customer. Counts toward the won rate on the Overview and sends the lead.won webhook. Give the deal value to track revenue.

MCP tool

mark\_won

Parameters

- **`id` required path · string**
- **`value` number | null**
- **`campaignId` string**

Returns the same fields as Get a lead with custom fields, lists and labels.

cURL

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

## Cancel a lead's check-back

DELETE

/api/v1/leads/{id}/check-back

A Check back later label set the lead to join another campaign later (checkBack on the lead). This cancels it: the lead stays where it is and the label stays on the reply.

MCP tool

cancel\_check\_back

Parameters

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

Returns the same fields as Get a lead with custom fields, lists and labels.

cURL

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

## Stop a lead's campaigns

POST

/api/v1/leads/stop

Ends every email still queued for the lead, in all campaigns or only the one you name, for example when they book a meeting. A waiting no-reply move or check-back into those campaigns is cancelled too. The address isn't suppressed, so the lead can join new campaigns later. Find the lead by id or email; an email no lead has answers found: false instead of an error.

MCP tool

stop\_lead

Parameters

- **`id` string**: The lead's id; give this or email
- **`email` string**: The lead's email; give this or id
- **`campaignId` string**: Only stop the lead in this campaign; leave out for every campaign

Returns

- **`found` required boolean**: false when no lead has that email
- **`stopped` required number**: Campaigns where the lead still had emails queued
- **`lead` required object | null**

cURL

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

## Notes on a lead, newest first

GET

/api/v1/leads/{id}/notes

Internal notes teammates wrote. Never sent to the lead.

MCP tool

list\_lead\_notes

Read-only

Parameters

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

Returns

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

cURL

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

## Add a note to a lead

POST

/api/v1/leads/{id}/notes

Internal: never sent to the lead. Shown on the lead with your name and the time.

MCP tool

add\_lead\_note

Parameters

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

Returns

- **`id` required string**
- **`body` required string**
- **`authorName` required string**
- **`mine` required boolean**: Written by the caller
- **`createdAt` required string**

cURL

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

## Delete a note

DELETE

/api/v1/leads/{id}/notes/{noteId}

Its author, owners and admins can delete a note.

MCP tool

delete\_lead\_note

Parameters

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

Returns

- **`ok` required true**

cURL

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

## Delete leads

POST

/api/v1/leads/delete

Deletes leads with their list memberships and labels. Suppressions stay.

MCP tool

delete\_leads

MCP asks to confirm

Returns

- **`deleted` required number**

cURL

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

## Add leads to a list

POST

/api/v1/leads/lists/add

MCP tool

add\_leads\_to\_list

Parameters

- **`target` required object**
- **`listId` required string**

Returns

- **`added` required number**

cURL

```
curl -X POST https://ballast.to/api/v1/leads/lists/add \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target":{},"listId":"<listId>"}'
```

## Remove leads from a list (the leads stay)

POST

/api/v1/leads/lists/remove

MCP tool

remove\_leads\_from\_list

Parameters

- **`target` required object**
- **`listId` required string**

Returns

- **`removed` required number**

cURL

```
curl -X POST https://ballast.to/api/v1/leads/lists/remove \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target":{},"listId":"<listId>"}'
```

## Apply a label to leads

POST

/api/v1/leads/labels/add

Runs the label's triggers that don't need a campaign: suppress, move to list, auto-remove and apply-after timers.

MCP tool

label\_leads

Parameters

- **`target` required object**
- **`labelId` required string**

Returns

- **`labeled` required number**

cURL

```
curl -X POST https://ballast.to/api/v1/leads/labels/add \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target":{},"labelId":"<labelId>"}'
```

## Remove a label from leads

POST

/api/v1/leads/labels/remove

MCP tool

unlabel\_leads

Parameters

- **`target` required object**
- **`labelId` required string**

Returns

- **`removed` required number**

cURL

```
curl -X POST https://ballast.to/api/v1/leads/labels/remove \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target":{},"labelId":"<labelId>"}'
```

## Never email these leads again

POST

/api/v1/leads/suppress

Adds their addresses to the suppression list.

MCP tool

suppress\_leads

Parameters

- **`target` required object**
- **`reason` string**

Returns

- **`suppressed` required number**

cURL

```
curl -X POST https://ballast.to/api/v1/leads/suppress \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target":{}}'
```

## Verify lead addresses

POST

/api/v1/leads/verify

Runs in the background: mail server lookup, disposable and role checks, then the verifier API when configured. Each lead's verifyStatus updates when its check finishes.

MCP tool

verify\_leads

Needs an active plan

Parameters

- **`target` required object**

Returns

- **`queued` required number**
- **`api` required boolean**: False when only local checks run (no verifier configured)

cURL

```
curl -X POST https://ballast.to/api/v1/leads/verify \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"target":{}}'
```

## Import leads in chunks

POST

/api/v1/leads/import

Send up to 5,000 rows per call. The first call creates the import and returns its id; pass importId with every next chunk and final: true with the last. Addresses are deduped, suppressed ones skipped, invalid ones counted. ESP detection and verification run in the background after the final chunk.

MCP tool

import\_leads

Needs an active plan

MCP asks to confirm

Parameters

- **`importId` string**: Leave out on the first call; pass the id it returns with every next chunk.
- **`fileName` string**
- **`list` object**: List to add every imported lead to: an existing id or a new name
- **`existing` "skip" | "update"**: Leads already in the workspace: leave them as they are, or fill in the new values
- **`verify` boolean**: Verify the new addresses with the verifier API after import
- **`clientInvalid` integer**
- **`clientDuplicates` integer**
- **`rows` required object\[\]**
- **`final` boolean**: Last chunk: starts ESP detection and verification

Returns

- **`id` required string**
- **`fileName` required string | null**
- **`listId` required string | null**
- **`listName` required string | null**
- **`status` required "importing" | "enriching" | "done" | "failed"**
- **`verify` required boolean**
- **`rows` required number**
- **`created` required number**
- **`updated` required number**
- **`skipped` required number**
- **`duplicates` required number**
- **`suppressed` required number**
- **`invalid` required number**
- **`undeliverable` required number**
- **`createdAt` required string**
- **`finishedAt` required string | null**
- **`enrichedAt` required string | null**
- **`source` required "apollo" | "instantly" | "smartlead" | "lemlist" | "hubspot" | "pipedrive" | "clay" | "maps" | null**: Null for a file or API import; apollo, instantly, smartlead or lemlist when pulled from that account; clay for rows Clay pushed; maps for businesses added from the lead finder
- **`sourceName` required string | null**: The list or campaign it came from
- **`expected` required number | null**: Leads the source said the list holds, when it says (progress while pulling)
- **`error` required string | null**: Why an import from a source stopped before the end

cURL

```
curl -X POST https://ballast.to/api/v1/leads/import \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rows":[]}'
```

## Import progress and counts

GET

/api/v1/leads/imports/{id}

MCP tool

get\_import

Read-only

Parameters

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

Returns the same fields as Import leads in chunks.

cURL

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

## Recent imports

GET

/api/v1/leads/imports

Read-only

Returns

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

cURL

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