# Workspace

> Who you are, the workspace and its sending settings. 5 REST endpoints with parameters, permissions and curl examples. Each is also an MCP tool.

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

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

Who you are, the workspace and its sending settings. 5 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).

## Liveness check

GET

/api/v1/ping

Read-only

Returns

- **`ok` required true**
- **`time` required string**

cURL

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

## Who am I: the user, workspace and plan behind this key or session

GET

/api/v1/me

MCP tool

whoami

Read-only

Returns

- **`user` required object**
- **`workspace` required object**
- **`role` required "owner" | "admin" | "member"**
- **`auth` required "session" | "api\_key" | "oauth"**
- **`billing` required object**

cURL

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

## Members of this workspace, and pending invites for owners and admins

GET

/api/v1/members

MCP tool

list\_members

Read-only

Returns

- **`members` required object\[\]**
- **`invitations` required object\[\]**

cURL

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

## Workspace sending and reply settings shared by every campaign

GET

/api/v1/settings/sending

MCP tool

get\_sending\_settings

Read-only

Returns

- **`unsubscribeMode` required "link" | "reply\_text"**: What {{unsubscribe}} becomes in every campaign: a one-click link, or a line asking to reply "stop"
- **`aiLabels` required boolean**: Label replies with AI (OpenAI, Google Gemini as fallback, or the workspace's own key from Integrations). Off: only out-of-office, auto-replies and unsubscribe requests are labeled, by rules.
- **`stopAllOnReply` required boolean**: A person's reply also stops the lead in every other campaign (on by default). Out-of-office and auto-replies never do; the campaign replied in follows its own stop on reply.
- **`unsubscribeText` required string | null**: Your own unsubscribe line; null or empty = the default for the mode. Link mode: put the words that open the unsubscribe page in \[brackets\], once ("Not interested? \[Unsubscribe here\]."). Reply mode: say how to opt out by reply, no brackets
- **`senderAddress` required string | null**: Postal address of the sender (CAN-SPAM in the US and CASL in Canada require one in every commercial email). Shown under the unsubscribe line and as {{sender\_address}}; null or empty = none
- **`timezone` required string**: Workspace time zone (IANA, e.g. Europe/Bucharest): new campaigns send to leads without one in it, and dashboard days are counted in it. Draft campaigns still on the old zone move with it.
- **`ownAiKey` required "openai" | "google" | null**: The workspace's own AI key (Integrations): reply labels run on it, so reply text goes to that account, not Ballast's

cURL

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

## Change the workspace sending and reply settings

PATCH

/api/v1/settings/sending

MCP tool

update\_sending\_settings

Owners and admins

Parameters

- **`unsubscribeMode` "link" | "reply\_text"**: What {{unsubscribe}} becomes in every campaign: a one-click link, or a line asking to reply "stop"
- **`aiLabels` boolean**: Label replies with AI (OpenAI, Google Gemini as fallback, or the workspace's own key from Integrations). Off: only out-of-office, auto-replies and unsubscribe requests are labeled, by rules.
- **`stopAllOnReply` boolean**: A person's reply also stops the lead in every other campaign (on by default). Out-of-office and auto-replies never do; the campaign replied in follows its own stop on reply.
- **`unsubscribeText` string | null**: Your own unsubscribe line; null or empty = the default for the mode. Link mode: put the words that open the unsubscribe page in \[brackets\], once ("Not interested? \[Unsubscribe here\]."). Reply mode: say how to opt out by reply, no brackets
- **`senderAddress` string | null**: Postal address of the sender (CAN-SPAM in the US and CASL in Canada require one in every commercial email). Shown under the unsubscribe line and as {{sender\_address}}; null or empty = none
- **`timezone` string**: Workspace time zone (IANA, e.g. Europe/Bucharest): new campaigns send to leads without one in it, and dashboard days are counted in it. Draft campaigns still on the old zone move with it.

Returns the same fields as Workspace sending and reply settings shared by every campaign.

cURL

```
curl -X PATCH https://ballast.to/api/v1/settings/sending \
  -H "Authorization: Bearer $BALLAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"unsubscribeMode":"link","aiLabels":true}'
```
