Phone numbers for AI agents: texts, codes and calls on a number it owns
Obsession gives each AI agent its own phone number in one call. The agent sends and receives texts, gets verification codes, and makes and takes calls through the voice agent you bring or connect.
import { Obsession } from "obsession"const obsession = new Obsession({ apiKey: process.env.OBSESSION_API_KEY })// A US number your agent owns: number.e164const number = await obsession.numbers.create({ country: "US" })// Text from itawait number.sms({ to: "+12025550178", text: "Your table for 4 is booked for 7:30 tonight.",})// Texts and calls that come in reach your webhookawait obsession.events.subscribe({ url: "https://your-app.example/hooks/phone", events: ["sms.received", "call.received"],})One number for the call, the text and the code.
Customers text back the number that called them, and sign-ups send codes to the number on file. One number per agent keeps all of it in one thread.
- 01A customer calls the agent’s number
- 02Later they text the same number
- 03A sign-in code arrives there too
- 04One thread in one log
- 09:12call.received+44 20 7946 0321 · 3 min 40 s · voice agent answered · transcript kept
- 09:16call.endedTable for 6 on Friday at 19:30 · deposit link texted
- 11:02sms.receivedSame caller: “Can we make it 8 people?”
- 11:03sms.receivedYour booking system code is 551204
- 11:03webhookBooking changed to 8 · sent to your reservations sheet
One number for calls, texts and codes
Your agent texts, calls and gets its codes on its own number.
A real phone number, run through code instead of a handset.
A number in one call
A US number, or one in any country you need.
Texts both ways
Your agent texts people, and every reply reaches your webhook.
Verification codes
A code texted at sign up is pulled out of the text for your agent.
Calls in and out
Your agent answers calls and places its own, billed by the minute.
Your voice agent
Point the number at your own voice agent, or connect another. Audio streams both ways.
A transcript of every call
Each call comes back as text your agent can read and act on.
Every event reaches your webhook, your code or your agent.
Each event is saved in your event log, then sent where you listen.
The events it sends
sms.received- A text reaches one of your numbers.
call.received- Someone calls one of your numbers.
call.ended- A call ends, with its length and its transcript.
Where they reach you
One signed webhook
Subscribe once for every piece and blueprint. Each event is signed.
Your event log, by cursor
Read every event since the last one you saw.
Your own agent, over MCP
Events as tools, in Claude Code, Cursor or any MCP client.
Your handler, on our runtime
Your code runs about 50 ms after the event lands. No server to run.
A live stream while you build
Every event, forwarded to your laptop.
Zapier, Make and n8n
Each event starts a Zap, scenario or workflow.
If your server is down, events retry for 27 hours, and any event can be replayed.
See the code for each channelA number, its texts and its minutes, each priced on its own.
Hold a number as long as the job runs. Texts and minutes are billed as they’re used.
See every price- Phone number
- $2 a US or UK number a month
- Numbers in other countries are priced by country, shown before you add one.
- Texts
- $0.015 a text, sent or received
- Carrier fees included.
- US texting registration
- $25 once to file each campaign, then $17 a month while it’s active
- US carriers require it, and no plan includes it. We file it for you, and a rejected filing costs $15 to send again.
- Calls
- $0.012 a minute, in or out
- Bring your own voice agent, or connect one.
- A persona’s own voice
- $0.0676 a minute of a call it speaks on
- On top of the call minute, when a persona speaks for itself.
A number does more beside the other pieces.
One API key and one bill cover every piece.
- EmailAn inbox beside the number, for sites that confirm by email as well as by text.
- PersonasGive the number a name, an inbox and a browser.
- BrowserSign up in the browser and finish the text check on the agent’s own number.
- SandboxTurn call transcripts into summaries or tickets with code that runs only when needed.
- MessagingMove the conversation to iMessage or WhatsApp when the person would rather chat there.
A number your agent keeps for as long as the job runs.
One call gives your agent its own phone number. It texts and calls both ways, and everything that comes in reaches your app by webhook.
AI agents that talk to customersYes. The Free plan includes a number that receives texts and calls, such as verification codes, up to a monthly amount, with no credit card. To send texts or call out, pick a paid plan: Developer, Startup and Scale.
See what each plan includesYes. The code is pulled out of the text for your agent, so a sign-up goes through without a person.
Yes. Point a number at your voice agent and its calls go straight to it, with the minutes on the same bill.
Yes. US carriers make every business that texts register what it texts for, known as 10DLC. We file it for you when you add a US number: $25 once per campaign, then $17 a month while it’s active. US carriers require it for business texting. No plan includes it.
Phone number: $2 a US or UK number a month. Texts: $0.015 a text, sent or received. Carrier fees included. Calls: $0.012 a minute, in or out. US texting registration: $25 once to file each campaign, then $17 a month while it’s active. Numbers in other countries are priced by country, shown before you add one.