# Integrations

> Your verifier and your own AI key. 7 REST endpoints with parameters, permissions and curl examples. Each endpoint is also an MCP tool for your AI.

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

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

Your verifier and your own AI key. 7 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 connected integrations

GET

/api/v1/integrations

The workspace's email verifier and email finder (its own accounts) with credits left at the last check, its own AI provider key (OpenAI or Gemini), its Slack and Discord channels for reply alerts and automations, and the HubSpot and Pipedrive accounts, if connected. Keys and webhook URLs are never returned.

MCP tool

list\_integrations

Read-only

Returns

- **`integrations` required object\[\]**
- **`pipedriveApp` required boolean**: Whether Pipedrive can be connected through the Ballast app (OAuth) on this server

cURL

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

## Pick the models the workspace's own AI key runs

PUT

/api/v1/integrations/ai/models

Only with the workspace's own OpenAI or Gemini key (Ballast's keys always run the cheapest models). Per job: write (Write with AI) and classify (reply labels); null = the default, cheapest model. A new pick is tested with the key first. The default model stays as the fallback. OpenAI: gpt-6-luna, gpt-6.1-sol, gpt-6-astra. Gemini: gemini-3.5-flash-lite, gemini-3.8-flash, gemini-4-argon.

MCP tool

set\_ai\_models

Owners and admins

Parameters

- **`write` string | null**
- **`classify` string | null**

cURL

```
curl -X PUT https://ballast.to/api/v1/integrations/ai/models \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"write":{},"classify":{}}'
```

## Turn HubSpot or Pipedrive sync on or off

PUT

/api/v1/integrations/{provider}/sync

log: sent emails, replies, bounces and unsubscribes go on the CRM contact (a cold send only for contacts the CRM has). createOnReply: a contact who replies is created when missing. exitOnDeal: a deal opened in the CRM stops the contact's sequences in every campaign. Each starts from the moment it's turned on.

MCP tool

set\_crm\_sync

Owners and admins

Parameters

- **`provider` required path · "hubspot" | "pipedrive"**
- **`log` boolean**
- **`createOnReply` boolean**
- **`exitOnDeal` boolean**

Returns

- **`provider` required "noparam" | "millionverifier" | "zerobounce" | "neverbounce" | "prospeo" | "icypeas" | "dropcontact" | "openai" | "google" | "slack" | "discord" | "hubspot" | "pipedrive"**: prospeo, icypeas and dropcontact are email finders, openai and google (Gemini) are AI providers, slack and discord post reply alerts and automation messages, hubspot and pipedrive are CRMs, the others are email verifiers
- **`kind` required "verifier" | "finder" | "ai" | "slack" | "discord" | "crm"**
- **`status` required "connected" | "error"**
- **`lastError` required string | null**
- **`lastCheckedAt` required string | null**
- **`credits` required number | null**: Credits left at the last check (verifiers, and Prospeo and Dropcontact among the email finders)
- **`model` required string | null**: Model the AI key was tested on (AI providers only)
- **`models` required object | null**: AI providers only: the model picked for Write with AI and for reply labels; null = the default, cheapest model
- **`keyHint` required string**: Last 4 characters of the key (of the webhook URL for Slack and Discord)
- **`account` required string | null**: CRMs only: the account the key belongs to
- **`dealsReadable` required boolean | null**: CRMs only: whether the key could read deal pipelines at the last check (deal steps need it)
- **`auth` required "key" | "app" | null**: CRMs only: key = an API token or service key pasted in Ballast, app = connected through the Ballast app in Pipedrive (OAuth)
- **`sync` required object | null**: CRMs only
- **`connectedBy` required string | null**
- **`createdAt` required string**

cURL

```
curl -X PUT https://ballast.to/api/v1/integrations/<provider>/sync \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"log":true,"createOnReply":true}'
```

## Test a connected key again (verifier or email finder credits left, the AI key on its model, a test message to the Slack or Discord channel, or free reads on the CRM)

POST

/api/v1/integrations/{provider}/check

MCP tool

check\_integration

Owners and admins

Parameters

- **`provider` required path · "noparam" | "millionverifier" | "zerobounce" | "neverbounce" | "prospeo" | "icypeas" | "dropcontact" | "openai" | "google" | "slack" | "discord" | "hubspot" | "pipedrive"**

Returns the same fields as Turn HubSpot or Pipedrive sync on or off.

cURL

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

## Calendly and Cal.com connections for the meeting triggers

GET

/api/v1/meetings

MCP tool

list\_meeting\_connections

Read-only

Returns

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

cURL

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

## Gmail spam rate per domain (Google Postmaster Tools)

GET

/api/v1/postmaster

Daily spam rate and delivery error rate Gmail reported for each workspace domain over the last 30 days, read every morning from the workspace's connected Postmaster Tools account. Gmail stays quiet for domains with little Gmail traffic.

MCP tool

get\_postmaster\_stats

Read-only

Returns

- **`configured` required boolean**: Google sign-in is set up on this server
- **`available` required boolean**: Connecting is open to this user (off until Google verifies the app)
- **`connection` required object | null**
- **`domains` required object\[\]**

cURL

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

## Read Gmail's numbers from Postmaster Tools again now

POST

/api/v1/postmaster/refresh

Happens every morning on its own. Gmail reports each day about two days late.

MCP tool

refresh\_postmaster\_stats

Owners and admins

Returns

- **`ok` required boolean**
- **`error` required string | null**

cURL

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