# Domains

> Sending domains and their nightly DNS and blacklist report. 4 REST endpoints with parameters, permissions and curl examples.

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

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

Sending domains and their nightly DNS and blacklist report. 4 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 all connected sending domains and their verification status

GET

/api/v1/domains

Returns all custom sending domains currently registered in the workspace, including their mailbox count, latest deliverability scores, and verification history.

MCP tool

list\_domains

Read-only

Returns a list of

- **`domain` required string**
- **`mailboxes` required number**
- **`report` required object | null**
- **`history` required object\[\]**: Up to 30 earlier scores, oldest first

cURL

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

## Re-check a sending domain now

POST

/api/v1/domains/check

MCP tool

check\_workspace\_domain

Parameters

- **`domain` required string**

Returns

- **`domain` required string**
- **`selector` required string | null**
- **`exists` required boolean**
- **`score` required integer**
- **`grade` required "A" | "B" | "C" | "D" | "F"**
- **`verdict` required string**
- **`mxFamily` required "google" | "microsoft" | "other" | "none"**
- **`mxLabel` required string**
- **`checkedAt` required string**
- **`durationMs` required number**
- **`cached` required boolean**
- **`checks` required object\[\]**

cURL

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

## Connect a new sending domain to the workspace and verify DNS

POST

/api/v1/domains

Registers a new sending domain under the workspace, saves it, and immediately initiates DNS and deliverability verification (MX, SPF, DKIM, DMARC, blacklists).

MCP tool

add\_domain

Owners and admins

Parameters

- **`domain` required string**

Returns the same fields as Re-check a sending domain now.

cURL

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

## Remove a domain no mailbox uses

DELETE

/api/v1/domains/{domain}

MCP tool

remove\_domain

Owners and admins

MCP asks to confirm

Parameters

- **`domain` required path · string**

Returns

- **`ok` required true**

cURL

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