---
title: Pods
description: Give each tenant of your platform its own inboxes, domains, API keys and webhooks, isolated from every other tenant, on one team and one bill.
---

If you build a product on BillionSend that gives your own customers or agents email, create one **pod** per tenant. The inboxes, domains, API keys and webhook endpoints you create in a pod belong to it, and a key created in a pod reaches only that pod. Your plan, quota and limits stay your team's: what your pods hold and send counts toward them.

## Plans

Pods are part of every paid plan, with no cap on how many you create. The Free plan has none: creating a pod there answers `403 plan_limit_reached`.

## Create a pod and its resources

```bash
curl https://api.billionsend.com/pods \
  -H "Authorization: Bearer $BILLIONSEND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Acme Inc.","client_id":"customer_12345"}'
```

`client_id` is your own id for the tenant. Creating a pod again with the client_id of a live pod returns that pod (200) and changes nothing, so a retried create never makes a second one. You can read a pod by its id or by its client_id: `GET /pods/customer_12345`.

Then create its resources with `pod_id`:

- `POST /inboxes` with `pod_id`: on one of the pod's domains, one of your team's own domains, or your team's address on the shared inbox domain. Never on another pod's domain.
- `POST /domains` with `pod_id`: only that pod's inboxes can then be on it.
- `POST /webhooks` with `pod_id`: the endpoint hears only the events of that pod's mail and objects. An endpoint without a pod hears every pod's events too.
- `POST /api-keys` with `pod_id`: a **pod key**.

## Pod keys

A pod key reaches only its pod:

- **Its pod's objects only.** Lists (`GET /inboxes`, `/domains`, `/webhooks`, `/api-keys`, `/emails`, `/emails/receiving`) return the pod's objects, and any other pod's object, or one of your team's own, answers `404`.
- **Its pod's routes only.** Inboxes and everything in them (threads, drafts, labels, held mail, calendar, signing in to apps), domains (claiming one another account holds included), webhooks, keys, sending, reading, sharing and deleting its own mail, and received mail, and reading its own pod. Every other route (contacts, broadcasts, automations, templates, suppressions, billing, team settings, the team's reports under `/emails/metrics`, assigning a thread to a team member) answers `403 restricted_api_key`; the pod's own figures are `GET /pods/{pod_id}/usage`.
- **Its pod's senders only.** It sends from the pod's domains and from the addresses of the pod's inboxes. Any other address, including another pod's inbox on your shared domain, answers `403 restricted_api_key`.
- **Keys it creates stay in the pod.** It can create pod keys and keys for one of the pod's inboxes, never a key outside the pod.
- **MCP.** A pod key can connect to the MCP server; its tools reach the pod the same way.

A key without a pod keeps reaching everything, every pod included. Lists take a `pod_id` filter.

## Limits and usage

A pod can have its own limits, under your team's: `inboxes`, `domains`, `daily_sends` (emails per UTC day) and `period_sends` (emails per quota period). Set them on create or with `PATCH /pods/{pod_id}`; `null` removes one. A send past a pod's limit answers `403 pod_limit_reached`.

`GET /pods/{pod_id}/usage` answers what the pod holds and sent: inboxes and domains, emails accepted today and this period, the last 35 days of sent, delivered, bounced, complained and received mail, and its deliverability standing.

## Deliverability and suspension

Each pod's bounce and complaint rates are judged on their own, with the same lines as your team's ([Sending limits](/docs/concepts/sending-limits)). A pod over the pause line stops sending (`403 pod_sending_paused`) while your other pods and your team keep going; it lifts on its own once the rate drops. Your team's own standing still counts every pod's mail.

Suspend a tenant with `PATCH /pods/{pod_id}` and `"status": "suspended"`: its new mail is refused (`403 pod_suspended`), its mail still arrives and its keys still work. Set `"active"` to resume it.

Broadcasts and automations always send from your team's own domains: a pod's domains and inbox addresses cannot be their sender.

## Deleting a pod

`DELETE /pods/{pod_id}` deletes the pod and everything in it. Its keys stop working and its inboxes stop taking and sending mail at once; its inboxes with their mail, its domains, its webhook endpoints and the mail it sent are then deleted in the background. What it already sent stays counted in your team's usage. Inboxes cannot be moved between pods.

## Who can manage pods

Every member can read pods. Owners, admins and developers can create, change, suspend and delete them, in the dashboard under **Pods** or through the API. See [Team roles](/docs/team-roles).
