Setup

We guide every step.

Select the countries you want to reach. We supervise the brand and the sender each one requires. Then you can send.

  1. Select countries
  2. Apply for the brand
  3. Ready to send

By API or MCP

Or let your agent set it up.

The brand, its documents and the number, and any fix carriers ask for. You approve the price.

  1. Your agent
  2. Uploads the papers
  3. Orders the number
  4. Ready to send

SMS

The same audience, by text.

The message they expect, the sender a country requires, and the wallet you already use for email.

A sign-in code

A code can go without a marketing opt-in. The number has to be on the contact, and it cannot be opted out.

Ready for pickup

The order is at the counter. A service text, same rule as the code.

A promotion

They opted in. You attest that consent. STOP is on the text.

A charge

A receipt, not a promotion. It goes out at any hour. STOP still applies.

Senders and brands

A number or a Sender ID, and the brand a country asks for before you can send.

Consent

Marketing needs the opt-in they already gave you. A code does not.

One contact

Email and phone live on the same person. You do not import the audience twice.

One wallet

SMS draws from the same monthly allowance as email. The rate depends on the country.

Workflows

The texts your product sends.

Pick a job to see the steps it runs.

A code the moment they ask. No opt-in needed.

  1. Sign-in requested
  2. Send SMS
  3. Signed in

Two-way

People text back. Your app or agent answers.

A text to your US or Canadian number arrives as an sms.received webhook. Answer it with one API call, from the same number.

  • Every text, as a webhook

    Who sent it, what they said, and which of your texts they answered.

  • One conversation

    Answers leave from the number they texted. The history is one API call.

  • STOP and HELP handled

    We answer the keywords for you and tell your code we did.

  • From $0.004 per SMS received

    $0.008 a segment in the US and $0.004 in Canada, counted like a send. Sender IDs are one-way.

Answer a text
import { Unitpost, verifyWebhook } from "unitpost";

const unitpost = new Unitpost(process.env.UNITPOST_API_KEY);

// Your endpoint, subscribed to sms.received. Pass the RAW body.
export async function POST(req: Request) {
  const event = verifyWebhook<{ type: string; data: SmsReceived }>({
    payload: await req.text(),
    secret: process.env.UNITPOST_WEBHOOK_SECRET!, // whsec_…
    headers: Object.fromEntries(req.headers),
  });
  const text = event.data;
  if (event.type !== "sms.received") return new Response("ok");
  if (text.keyword === "OPT_OUT" || text.auto_replied) return new Response("ok");

  // The whole conversation with this person, newest first.
  const { data: history } = await unitpost.sms.list({ participant: text.from, limit: 20 });
  const answer = await yourAgent(history?.data ?? [], text.body);

  // No `from`: the answer leaves from the number they texted.
  await unitpost.sms.send({ to: text.from, body: answer });
  return new Response("ok");
}

type SmsReceived = { from: string; body: string; keyword: string | null; auto_replied: boolean };

Where you send

Pick the countries. See what to apply for.

Pick the countries and how many texts. Each row is what you apply for, the rate, and the plan that covers it.

North America

5

Central America & Caribbean

17

South America

4

Europe

47

Middle East

12

Africa

50

Asia

28

Oceania

14

Questions

Common questions

Can I send SMS today?

Yes, on any paid plan. SMS is not on the free plan. You set up a sender for each country first. Where a country needs a registered brand, carrier review comes before the first text.

Does SMS use the same wallet as email?

Yes. SMS draws from the same monthly allowance as email. Each country has one fixed rate, the same on every paid plan. You pay per segment, and a long text can be more than one. See the rate for each country

What do I need before I can send?

A sender, and a brand where the country requires it. A code can go to a contact who has not opted into marketing. Marketing needs that opt-in on the contact. STOP applies to both. Quiet hours hold marketing only.

Can people text back?

Yes, in the US and Canada. A text to your toll-free, local (10DLC) or Canadian number arrives as an sms.received webhook, and you answer it with one API call from the same number. Each text you receive costs $0.008 a segment in the US and $0.004 in Canada, counted the same way as the texts you send. STOP and HELP are answered for you. Sender IDs, used everywhere else, are one-way: people can't text back to them. Receive and answer texts

Can an AI agent set up SMS for me?

Yes. Over the API or MCP an agent creates the brand, hands over the opt-in screenshot and company documents as files, orders a 10DLC or toll-free number once you approve the price, resubmits what carriers send back, and releases a number you no longer need. Sender IDs stay in the dashboard for now. Set it up with an agent

Is WhatsApp included?

No. WhatsApp is planned. There is no WhatsApp page and no send path.