# Deliverability Network

> The IPs your SMTP and IMAP mailboxes log in through. 4 REST endpoints with parameters, permissions and curl examples. Each is also an MCP tool.

Canonical: https://ballast.to/docs/api/deliverability-network

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

The IPs your SMTP and IMAP mailboxes log in through. 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).

## Where your mailboxes connect from

GET

/api/v1/sending-ip

SMTP/IMAP mailboxes connect through the Deliverability Network: the shared network on every plan, dedicated IPs, or your own proxy (API and MCP only). Microsoft and Gmail API mailboxes need none.

MCP tool

get\_sending\_ip

Read-only

Returns

- **`required` required boolean**: False only in development: mailboxes may then connect directly
- **`own` required object | null**
- **`proxies` required object\[\]**
- **`waiting` required number**: Mailboxes waiting for a sending IP
- **`direct` required number**: Microsoft and Gmail API mailboxes, which need no proxy
- **`dedicated` required object**

cURL

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

## Test your own proxy without saving

POST

/api/v1/sending-ip/own/test

Logs one of your SMTP/IMAP mailboxes in through it (or checks Gmail answers through it when you have none) and reads its IP type from IPinfo.

MCP tool

test\_own\_proxy

Owners and admins

Parameters

- **`url` required string**: socks5://user:pass@host:port or http://user:pass@host:port

Returns

- **`ok` required boolean**
- **`error` required string | null**
- **`exitIp` required string | null**
- **`country` required string | null**
- **`ipType` required string | null**: IPinfo network type: isp is what you want; hosting means a datacenter
- **`login` required object | null**: SMTP AUTH and IMAP LOGIN of one of your mailboxes through the proxy
- **`handshake` required object | null**: Gmail's SMTP 587 and IMAP 993 answering through the proxy

cURL

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

## Use your own proxy

PUT

/api/v1/sending-ip/own

Tested first; saved only when it passes. Every SMTP/IMAP mailbox of the workspace then connects through it instead of the pool. Free on every plan.

MCP tool

set\_own\_proxy

Owners and admins

Parameters

- **`url` required string**

Returns

- **`saved` required boolean**
- **`test` required object**

cURL

```
curl -X PUT https://ballast.to/api/v1/sending-ip/own \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<url>"}'
```

## Stop using your own proxy

DELETE

/api/v1/sending-ip/own

Your SMTP/IMAP mailboxes go back to the shared pool (they wait if it has no room).

MCP tool

remove\_own\_proxy

Owners and admins

Returns

- **`ok` required true**
- **`waiting` required number**

cURL

```
curl -X DELETE https://ballast.to/api/v1/sending-ip/own \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```
