๐ค Give Your AI Agent a Real Phone Number
Connect any AI voice agent or LLM to a real local phone number in 145 countries. Provision via API, route inbound calls to your AI system in real time via SIP or webhook.
Why AI Agents Need a Real Phone Number
๐ Real Inbound Calls
AI agents built on Bland.ai, Vapi, Retell, or custom LLMs need a real dialable number. Without one, they can only work inside apps โ not on actual phone networks.
๐ Local Presence in 145 Countries
Provision local numbers in any country via API. Your AI agent appears local to callers โ boosting answer rates and trust.
โก Real-Time Call Routing
Incoming calls are delivered to your AI system instantly via SIP URI or webhook โ zero human involvement required.
๐ Dynamic Forwarding
Change where calls route at any time via API โ reassign numbers between agents, update destinations, or release numbers programmatically.
How It Works โ Call Flow
๐ฑ Caller
Dials your local number
๐ข PBXme Number
Virtual number in 145 countries
๐ SIP / Webhook
Real-time call delivery
๐ค AI Agent
Bland.ai / Vapi / Retell / Custom LLM
โ Response
Agent handles the call
3-Step Integration Guide
Provision a Virtual Number via API
Use the Login API to get your account_token, then call the Available DIDs endpoint to find a number in your target country. Use did/assign to add it to your account. This takes seconds and works fully programmatically โ no dashboard needed.
Point the Number to Your AI Agent
Use the did/forward API to route incoming calls to your AI agent’s SIP URI (e.g. agent@yourplatform.com) or to a PSTN number your platform provides. This can be updated at any time via API without releasing the number โ enabling dynamic agent assignment.
Your AI Agent Answers Live Calls
When someone dials your number, PBXme forwards the call to your configured SIP destination in real time. Your AI agent picks up, handles the conversation, and can push webhook events back to your system for logging, CRM updates, or follow-up actions.
Code Examples
import requests BASE = "https://newsip.pbxme.com/api" # Step 1: Authenticate login = requests.post(f"{BASE}/login", data={ "username": "YOUR_USERNAME", "password": "YOUR_PASSWORD" }) token = login.json()["account_token"] # Step 2: Find available numbers in the UK available = requests.post(f"{BASE}/did/available", data={ "token": token, "country": "GB" }) dids = available.json()["dids"] chosen = dids[0] # Step 3: Assign the number to your account assign = requests.post(f"{BASE}/did/assign", data={ "token": token, "did_id": chosen["did_id"] }) # Step 4: Route calls to your AI agent's SIP URI AI_SIP_URI = "sip:agent@your-ai-platform.com" forward = requests.post(f"{BASE}/did/forward", data={ "token": token, "did_id": chosen["did_id"], "destination": AI_SIP_URI, "type": "sip" }) print(f"โ {chosen['did_number']} now routes to your AI agent!")
Full API reference: pbxme.com/api/
Compatible AI Voice Agent Platforms
Bland.ai
Connect via SIP trunk. Point your Bland.ai agent endpoint to your PBXme number.
Vapi
Use PBXme SIP credentials in Vapi’s phone number settings for inbound call handling.
Retell AI
Import your PBXme SIP trunk into Retell to assign numbers to your voice agents.
Custom LLM
Route calls via SIP to any custom voice pipeline โ Whisper, GPT-4o, ElevenLabs, and more.
Any SIP Platform
PBXme delivers calls via standard SIP โ compatible with any platform that accepts SIP trunking.
Webhook / PSTN
No SIP? Forward calls to a PSTN number or HTTP webhook your platform provides.
Frequently Asked Questions
Ready to Give Your AI Agent a Phone Number?
Instant number provisioning ยท 145 countries ยท Full REST API ยท SIP trunk included ยท No contracts
