A phone number API for AI agents lets your agent place calls and send texts from a real phone number through code. With Bland, the Agent Phone Plan gives your agent a dedicated US local number, and your agent uses it through Bland's API or MCP server.
Your agent sends the request, Bland handles the call or text, and your agent gets the result back.
2 ways to connect
REST API: your agent sends authenticated requests to https://api.bland.ai/v1 with your API key in an Authorization: Bearer header.
MCP: point any MCP client that supports remote servers with headers at https://api.bland.ai/v1/mcp. Bland hosts the server, so there's nothing to install.
Who it's for
Built for 1 AI agent doing 1 everyday task at a time, like asking a restaurant about a table or confirming a delivery window.
Need several calls at once or high call volume? Bland's Build or Scale plans cover that instead.
How it works in 3 steps
1. Subscribe to the Agent Phone Plan
Open Billing & Plans in your Bland dashboard and choose the Agent Phone Plan. A US local number is added to your account automatically. Outbound calls use this number as the caller ID unless you pass a different from number.
2. Connect your agent
Copy your API key from your Bland dashboard settings and give it to your agent as an environment variable, such as BLAND_API_KEY. Use the REST API, or add https://api.bland.ai/v1/mcp as a remote MCP server with an Authorization: Bearer header.
3. Run a safe test call to your own phone
Have your agent call your own cell number first, say it's a test, then end the call. Check that the call came from your agent's number and that your agent reports back how it went.
What your AI agent can do with its own number
Make everyday calls
Ask a restaurant about a table for 4 on Friday, or check a store's opening hours.
Call a hotel to ask about late checkout and report back what they said.
Handle small errands
Request a new time for an appointment and tell you which options they offered.
Confirm a delivery window and text you the answer.
Send and reply to texts
Text a service business to ask for prices, then keep replying toward the goal you set.
Read incoming texts on its number and reply to them.
Receive calls
People can call your agent's number back.
1 call runs at a time across your account. If a call is already live, a new incoming call hears a busy message.
What you need before you connect
A Bland account and API key
Create a Bland account, then copy your API key from the dashboard settings page.
Treat the key like a password. Keep it in an environment variable or secret storage, never in a repo.
An agent that can connect
Your agent needs to make authenticated HTTP requests, or add a remote MCP server by URL with an Authorization header.
Custom agents, including ones made with frameworks such as CrewAI or the OpenAI Agents SDK, can connect if they support either route.
The Agent Phone Plan for a number
The plan adds the dedicated number, texting, and incoming calls.
Without the plan, trying it for free covers outbound calls only.
Optional: let your agent sign itself up
An agent that can make HTTP requests can start Bland's agent onboarding flow. It shows you a link and a short code, you sign up in your browser and approve, and the agent receives an API key.
If you start the Agent Phone Plan during that sign-up, the agent gets its phone number too.
Connect your agent through the API or MCP
Option A: REST API
Send a POST request to https://api.bland.ai/v1/calls with your key in an Authorization: Bearer header, the phone number to call, and a task for the call.
The request returns a call_id right away. Poll GET /v1/calls/{call_id} until completed is true, or add a webhook URL to get the result pushed to you.
Option B: Bland's hosted MCP server
Add https://api.bland.ai/v1/mcp as a streamable-HTTP MCP server with the header Authorization: Bearer YOUR_BLAND_API_KEY.
If your agent only supports stdio servers, the mcp-remote bridge (Node.js 22+) connects it to the same URL.
Texting from your agent's number
Texts go out with a POST to /v1/sms/send from your agent's number. Include an objective so replies in that thread stay on your goal.
Texting needs the Agent Phone Plan, because your agent needs its own number to text from.
Keep approvals on
Calls and texts have real-world effects. Keep tool-approval prompts on, or add your own confirm step before your agent dials.
Bland marks tools that place calls as destructive, so well-behaved MCP clients ask before they run them.
Run a safe test call, then try a real task
Test call to your own phone
Give your agent a short task: call your own cell number, say it's a test from your assistant, then end the call.
Set a short max_duration on the test call so it can't run long.
Check the result
Confirm the call showed your agent's number and that your agent reports back how it ended.
A completed call isn't always a successful one. Check whether a person or voicemail answered before you move on.
Try this next
Ask your agent to call a local restaurant, ask about a table for 2 this Saturday at 7, and text you what they said.
Or have it check a store's opening hours for tomorrow and report back.
Supported apps and how they connect
ChatGPT, Claude Code, and Claude Desktop
ChatGPT: add Bland's MCP URL (https://api.bland.ai/v1/mcp) as a connector, then sign in with Bland when ChatGPT opens it.
Claude Code and Claude Desktop: connect the Bland MCP server with a Bland API key (Authorization: Bearer header) or sign in with Bland.
Codex, Cursor, VS Code, Windsurf, and Gemini CLI
Codex: add Bland's MCP server to ~/.codex/config.toml and read the key from the BLAND_API_KEY environment variable. Bland sign-in isn't available for Codex yet. Sign in with Bland will apply once dynamic client registration is available. Until then, Codex uses an API key.
Cursor, VS Code, Windsurf, and Gemini CLI: add the Bland MCP server URL and an API key header in each tool's own MCP config.
Grok Bot and Meta Muse
Grok Bot: wallet-assisted setup, or the manual MCP route with your API key.
Meta Muse: connects through Bland's REST API with a secure credential flow, not MCP.
Your own agent
Custom agents connect through Bland's REST API or the hosted MCP server, using an API key from your Bland dashboard settings.
Bland isn't affiliated with the companies behind these apps; it connects through each app's supported tools.
Two signup paths, one human checkpoint
Link-based flow
The agent shows you a sign-in link and short code. You open it, sign up or sign in, choose the plan or try it for free, and approve in your browser. The code expires in 15 minutes. Set up Grok Bot phone calls.
Headless flow
For an owner with no account yet, Bland texts you a six-digit code valid for 10 minutes. You relay it, and the agent completes payment with a wallet token. A declined payment falls back to a browser link. See Grok Bot's headless setup.
Try it for free
At approval you can try it for free instead of the plan. That try covers outbound calls from a shared number, with no texting. See AI phone number cost.
Agent Phone Plan pricing and fair-use limits
$9.99 for the first month (50% off), then $19.99/month. The first-month price applies once per account owner. No trial. Your card is charged when you approve, and you can cancel from the billing page. 1 dedicated US local number, with unlimited calling and texting to US and Canada numbers, subject to fair use: 1 call at a time (counted across your account, inbound and outbound), 20 calls an hour, 50 calls a day, 1,000 call minutes a day, 60 minutes max per outbound call, 20 texts an hour, and 100 texts a day. Calls and texts to numbers outside the US and Canada are blocked on this plan. Cancel in Billing and Plans. Cancellation takes effect immediately. What the unlimited AI calling and SMS plan includes.
Then $19.99/month. First month price applies once per account owner.
Unlimited US + Canada voice minutes
Unlimited US + Canada SMS
One included US local number
One active call, inbound or outbound
Unlimited means fair use: one call at a time, 20 calls/hour, 50/day, 1,000 call minutes/day, 60 minutes max per outbound call, 20 texts/hour, 100/day, for US and Canada numbers. See plan limits. Charged when you approve. There is no trial. Cancel in Billing and Plans. Cancellation takes effect immediately.
Questions
What's the difference between the Agent Phone Plan and trying it for free?
The Agent Phone Plan ($9.99 for the first month, then $19.99/month) gives your AI a dedicated US local number to make and receive calls and send and receive texts, with unlimited US and Canada calling and texting, subject to fair use: 1 call at a time (counted across your account, inbound and outbound), 20 calls an hour, 50 calls a day, 1,000 call minutes a day, 60 minutes max per outbound call, 20 texts an hour, and 100 texts a day. You can try it for free. That try covers outbound calls only, from a shared Bland number: no dedicated number, no texting, no incoming calls.
Which AI agents can use the phone number API?
Any agent that can make authenticated HTTP requests, or add a remote MCP server by URL with an Authorization header. That includes custom agents made with frameworks such as CrewAI or the OpenAI Agents SDK, as long as they support one of those routes. Bland also documents setup for ChatGPT, Claude Code, Claude Desktop, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Grok Bot, and Meta Muse.
Where do I get my API key?
Copy it from your Bland dashboard settings, then send it in an Authorization: Bearer header. Keep it in an environment variable or secret storage, never in a repo.
What does it cost after the first month?
$19.99/month. The $9.99 first-month price applies once per account owner. There's no trial, and your card is charged when you approve.
What happens if 2 calls come in at once?
The plan allows 1 call at a time across your account, inbound and outbound. If a call is already live, a new incoming call hears a busy message, and a new outbound call is rejected until the first one ends.
Where can my agent call and text?
US and Canada numbers only. Calls and texts to other countries are blocked on this plan.
Can my agent run several calls in parallel?
No. The Agent Phone Plan is built for 1 agent doing 1 everyday task at a time. For parallel calls or high call volume, look at Bland's Build or Scale plans.
Can an agent get its own number without me?
Not entirely. The agent can start the process, but either you approve a request in your browser or you relay a texted code back to the agent before a number is issued. How ChatGPT phone calls work.
Who pays for the plan?
On the link-based flow, you approve the charge yourself in the browser and the agent never handles your payment details. On the headless flow, the agent completes payment with its own wallet token after you confirm a texted code. Compare Grok Bot phone calls.
What if I already have a Bland account?
Use the link-based flow. The headless flow is for owners with no existing account and returns an error if one is found. Compare Claude phone calls.
Is there a CLI for this?
Yes. The bland-cli tool's device login command wraps the link-based flow from a terminal, displaying the link and code, polling for you, and storing the resulting key. Compare Meta Muse phone calls.
What should I check before approving?
Before approving, check the selected plan and price. After setup, confirm the returned organization and number before the agent calls or texts; trying it for free provides no dedicated number or texting. Set up an AI phone number to text.
Can the agent take calls once set up?
Yes, on the Agent Phone Plan the same number takes inbound calls, with one active call at a time across the account. See inbound calls for your AI.
The config.toml entry that lets Codex call and text with a Bland API key.
Let your agent sign itself up
Works with
ClaudeCodexMuseGrok Bot
ChatGPT, Claude, Codex, Muse, and Grok Bot are trademarks of their respective owners. Bland isn't affiliated with, partnered with, or endorsed by Anthropic, OpenAI, Meta, or xAI.