Skip to content

Search docs

Find pages, headings, and concepts. Press ⌘K or Ctrl+K to toggle.

Telephony

Phone numbers, SMS, call routing, and provider webhooks.

Telephony routes inbound and outbound voice and SMS through Twilio, OpenAI Realtime, or ElevenLabs depending on the number and agent configuration. Use these endpoints to inventory numbers, manage routing, inspect calls, send SMS, and receive provider callbacks.

Endpoints

MethodPathDescription
GET/api/v1/telephonyOverview (numbers, recent calls).
GET/api/v1/telephony/callsList calls.
GET/api/v1/telephony/numbersList numbers.
POST/api/v1/telephony/numbers/importImport a number.
GET/api/v1/telephony/routingRouting rules.
POST/api/v1/telephony/routingCreate routing rule. Browser session + fresh step-up required; API keys rejected.
PATCH/api/v1/telephony/routingUpdate routing. Browser session + fresh step-up required; API keys rejected.
DELETE/api/v1/telephony/routingDelete routing rule. Browser session + fresh step-up required; API keys rejected.
GET/api/v1/telephony/smsList SMS messages.
POST/api/v1/telephony/smsSend SMS.
POST/api/v1/telephony/openai/webhookOpenAI realtime voice webhook.
POST/api/v1/telephony/elevenlabs/webhookElevenLabs webhook.
POST/api/v1/telephony/elevenlabs/tools/close-conversationElevenLabs tool callback to close a conversation.
POST/api/v1/telephony/elevenlabs/tools/queue-agent-runElevenLabs tool callback to queue an agent run.
POST/api/v1/telephony/webhooks/conference-bridgeProvider conference bridge webhook.
POST/api/v1/telephony/webhooks/outbound-target-statusProvider outbound target status webhook.
POST/api/v1/telephony/webhooks/smsProvider SMS webhook.
POST/api/v1/telephony/webhooks/statusProvider call status webhook.
POST/api/v1/telephony/webhooks/voiceProvider voice webhook.

Numbers and routing

Numbers belong to the current organization. GET /api/v1/telephony/numbers lists imported phone numbers and POST /api/v1/telephony/numbers/import attaches an existing provider number so Alumia can route it.

Routing rules decide which agent or workflow handles inbound calls. Read the active rules with GET /api/v1/telephony/routing. Creating, updating, or deleting routing rules requires a browser session with fresh step-up; API keys are rejected.

SMS

GET /api/v1/telephony/sms returns the organization's SMS message history. POST /api/v1/telephony/sms sends an outbound SMS through the configured provider number.

Provider webhooks

Provider webhooks (/api/v1/telephony/webhooks/*, OpenAI callbacks, and ElevenLabs callbacks) are unauthenticated ingress endpoints verified by provider signatures or provider-specific secrets. They are not general-purpose webhook receivers; use Webhooks for signed inbound receivers you create yourself.

See Voice for realtime audio sessions and phone-call voice behavior.