Pods

One pod for each of your customers, on one team and one bill.

If your product gives your own customers or agents email, create a pod per tenant. The inboxes, domains, API keys and webhook endpoints made in a pod belong to it, and a key made in a pod reaches only that pod. Your plan, quota and limits stay your team's.

On every paid plan, with no cap on the number of pods. Free has none.

import { BillionSend } from "@billionsend/node";
const bs = new BillionSend();
const { data: pod } = await bs.pods.create({
name: "Acme Inc.",
client_id: "customer_12345", // your own id for the tenant
});
// A key that reaches this pod and nothing else:
const { data: key } = await bs.apiKeys.create({ name: "acme", pod_id: pod.id });

// 201 { "object": "pod", "status": "active", "client_id": "customer_12345", ... }

  • $10a month: the cheapest plan that has pods
  • 10inboxes on Starter, shared by its pods
  • 10sending domains on Starter, shared by its pods
  • 5webhook endpoints on Starter, shared by its pods

How it works

From a new customer to an isolated mailbox set.

Three steps. Your platform makes them when a customer signs up.

  1. 01

    Create the pod

    Post a name and your own id for the tenant. Creating again with the id of a live pod returns that pod, so a retried signup never makes two.

  2. 02

    Make its resources

    Create inboxes, domains and webhook endpoints with the pod's id. An inbox may sit on the pod's own domain, one of your team's domains or your team's shared address, never on another pod's domain.

  3. 03

    Hand the tenant a pod key

    A pod key lists, reads and sends only its pod's mail. Any other pod's object, or one of your team's own, answers 404.

Endpoints

What a pod and its key can do.

Every call takes your team's key; a pod key reaches only its own pod's part.

CallWhat it doesWho may call it
POST /podsCreate a pod with your own client_id, and optional limits of its own.Owner, admin, developer
PATCH /pods/{pod_id}Rename it, change its limits, or suspend and resume it.Owner, admin, developer
GET /pods/{pod_id}/usageWhat the pod holds and sent: inboxes, domains, mail counts and its deliverability standing.Any member; the pod's own key
POST /inboxes with pod_idCreate an inbox that belongs to the pod.Your team key or the pod's key
DELETE /pods/{pod_id}Delete the pod, its keys, inboxes, domains and webhook endpoints.Owner, admin, developer

In your code

Know why a pod's request was refused.

Every refusal has a name, so your platform can tell the tenant.

  • restricted_api_keyA pod key asked for a route outside its pod: contacts, broadcasts, billing, team settings, or a sender that is not the pod's.
  • pod_limit_reachedA send went past the pod's own daily or period limit. Your team and the other pods are not affected.
  • pod_sending_pausedThe pod's own bounce or complaint rate crossed the pause line. It lifts by itself once the rate drops.
  • pod_suspendedYou suspended the tenant. New mail is refused; its mail still arrives and its keys still work.
  • activeThe pod sends and receives within your plan and its own limits.
GET https://api.billionsend.com/pods/customer_12345
{
"object": "pod",
"id": "9b2f6c1e-3a47-4d28-8e5b-1f7a60c4d903",
"name": "Acme Inc.",
"client_id": "customer_12345",
"status": "active"
}

Where it fits

Use it where your customers need mail of their own.

  1. 01

    Agent platforms

    Every agent your customers run gets its own inboxes and a key that reaches nothing else.

  2. 02

    SaaS with a mail feature

    Send and receive for each customer from their own domain, with their own limits and standing.

  3. 03

    Agencies

    Keep each client's domains, inboxes and webhooks apart, and suspend one without touching the rest.

Before you ship

Plan for limits, standing and cost.

  • PlanOne team, one bill

    What your pods hold and send counts toward your plan, quota and limits. Pods are on every paid plan with no cap on how many you create.

  • StandingJudged on their own

    Each pod's bounce and complaint rates are judged with the same lines as your team's. A pod over the line stops while your other pods keep going. Your team's own standing still counts every pod's mail.

  • SendersBroadcasts stay yours

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

  • DeletingOne call removes it all

    Deleting a pod stops its keys and inboxes at once and removes the rest in the background. What it already sent stays counted in your usage.

FAQ

Questions, answered.

Something missing? Ask us at support@billionsend.com.

Send your first email in five minutes.