Programmable Voice API
The EnableX Voice API is a REST API and SDK set for making and receiving phone calls over PSTN, SIP and WebRTC. It includes programmable call flows, IVR, recording, conferencing, number provisioning and a WebSocket stream of live call audio for AI agents, in 50+ countries, with a 99.5% uptime SLA.
Make and receive calls with one REST API. Build IVRs, record calls, bridge agents and stream live audio to your own AI models at sub-second round trip. 100K+ calls a day already run on this stack.
Your first call in one request
Authenticate with your App ID and Key, post one JSON body, and the platform places the call and speaks your text to the answerer. Copy, paste, run.
curl -X POST https://api.enablex.io/voice/v1/call \
-u APP_ID:APP_KEY \
-H "Content-Type: application/json" \
-d '{
"from": "+14155550100",
"to": "+442079460000",
"action_on_connect": {
"play": { "text": "Hello, and welcome to EnableX.", "language": "en-US", "voice": "female" }
},
"event_url": "https://yourserver.com/webhook"
}'
const axios = require('axios');
const res = await axios.post(
'https://api.enablex.io/voice/v1/call',
{
from: '+14155550100',
to: '+442079460000',
action_on_connect: {
play: { text: 'Hello, and welcome to EnableX.', language: 'en-US', voice: 'female' }
},
event_url: 'https://yourserver.com/webhook'
},
{ auth: { username: 'APP_ID', password: 'APP_KEY' } }
);
console.log(res.data);
import requests
from requests.auth import HTTPBasicAuth
res = requests.post(
"https://api.enablex.io/voice/v1/call",
auth=HTTPBasicAuth("APP_ID", "APP_KEY"),
json={
"from": "+14155550100",
"to": "+442079460000",
"action_on_connect": {
"play": {"text": "Hello, and welcome to EnableX.", "language": "en-US", "voice": "female"}
},
"event_url": "https://yourserver.com/webhook"
}
)
print(res.json())
Everything a production voice app needs
Place and receive calls, build IVRs, record, conference and stream audio to AI, all pay as you use with no platform fee.
Programmable call flows
Place and answer calls with one REST API. Branch on DTMF, speech or a webhook response. No markup dialect to learn.
Menu or speech-driven IVR
Build IVRs with built-in speech recognition for natural-language intent capture and skill-based routing to agents.
Voice Streaming for AI
Bidirectional WebSocket audio for any speech-to-text, language model and text-to-speech, with sub-second round trip end to end.
Server-side recording
Mono, dual-channel or composite recording, delivered to your storage with signed URLs and encrypted at rest, with retention you control.
Conference and bridging
Multi-party rooms with mute, hold, transfer, whisper and barge. Mix human agents and bot participants on the same media servers.
Numbers, SIP trunks, masking
Local, mobile and toll-free numbers in 50+ countries, SIP trunking and bring-your-own-carrier, plus number masking and click-to-call.
Built for calls that have to connect
The same API runs outbound dialers, inbound self-service and AI voice agents.
From a phone number to a voice AI agent on one stack.
The Voice API handles the carrier side: interconnects, DTMF, recording and call records. Voice Streaming forks the live audio both ways over WebSocket, so you can plug in any speech-to-text, language model and text-to-speech, including open-source agent frameworks.
- Bidirectional WebSocket audio, raw PCM or Opus.
- Works with any STT, LLM or TTS provider and with open-source agent frameworks.
- Sub-second round trip on direct routes.
- Carrier interconnect, DTMF, recording and call records handled by EnableX. You focus on the agent.
- On-premise deployment for regulated voice workloads.
Why teams build voice on EnableX
What sets the EnableX Voice API apart.
Full-stack
The same account adds video and messaging, so a voice flow can send a WhatsApp link or escalate to a video call without a second vendor.
Deployment choice
Our cloud, your cloud, private cloud or fully on-premise, with controls aligned with ISO 27001 and SOC 2 Type II, for teams whose regulators require call data to stay in-country.
White-label
Run EnableX voice under your own brand and bill on your own invoice, as an annual licence.
Where teams use the Voice API
Voice API FAQs
Build it: developer docs
Voice API overview → Voice API → Media Streaming API → Broadcast API →
See EnableX in action.
Start a free trial, or talk to sales about volume pricing and on-premise. No credit card required.
Free trial credits · No credit card · API keys in minutes