Voice API
Make, receive and control calls globally with programmable voice capabilities. Start building today on the Voice API trusted by developers.
Get started in the portal
Build programmable voice experiences into calls
The Telnyx Voice API makes it simple to make, receive and control voice calls with code. Build intelligent call flows with recording, conferencing, speech recognition, real-time call media access, agent coaching and more—it's all possible with a powerful REST API or intuitive XML scripting. Your calls run on our global private IP network for carrier-grade quality and uptime everywhere on earth.
Powerful voice API features out of the box
Build programmable voice applications like you would build a web app—simple HTTP commands or XML scripting unlocks a toolkit of features including call flow control, recordings, conferencing and more.
Conference calling
Connect people and teams across the globe with feature-rich audio conferencing.
Media streaming
Access the raw audio stream of calls in real-time to integrate advanced AI/ML capabilities.
Text-to-speech
Speak dynamic text in 29 languages and accents, powered by Amazon Polly.
Answering machine detection
Detect voicemail systems with exceptional accuracy using advanced AI techniques.
Speech-to-text
Real-time transcription and diarization on a live call, activated via one API command.
Smart IVR
Build a multi-level interactive voice response (IVR) phone tree to intelligently route your call flows via DTMF or voice commands.
BENEFITS
High quality voice calling
With Tier-1 interconnects at major global internet hubs, your calls get through the first time, every time.
99%
Reduction in call failures for a global contact center.
True real time call control
Send call commands and respond to call media events with super low latency, for truly interactive calling experiences that work on live calls, in real time.
66%
Reduction in talk-time latency for a real-time AI voice responder.
Make calls on every platform, everywhere
Get instant local, national and toll-free numbers anywhere on earth, and scale on demand with unlimited capacity.
140+
Countries with phone numbers available for purchase or porting.
Start building
Our code is your code
curl -X POST \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: Bearer YOUR_API_KEY" \
--data '{"connection_id": "uuid", "to": "+18005550199", "from": "+18005550100"}' \
https://api.telnyx.com/v2/calls
Get the answers you need with in-depth documentation
Explore quickstart guides, tutorials and ready-to-use code examples and leverage an in-depth API reference to get the most out of your programmable voice applications.
Your guide to choosing the right voice API
Learn all you need to know about voice APIs, why your business needs one and what to look for in potential providers.
What is a voice API?
Learn everything you need to know about programmable voice—from how it works, to how much it costs, to must-have features and use-cases.
Customers typically save 30% by switching to Telnyx, with lower list pricing and automatic volume discounts.
Starting at
$0.002
per minuteAll your business needs, in one API
Telnyx media forking gives Replicant low-latency access to audio packets to be able to feed our AI models. In many cases, Telnyx was the fastest provider that was there on the market.
Benjamin Gleitzman
CTO, Replicant
A Voice API is a tool that software developers use to make and receive phone calls using an Application Programming Interface (API). A voice API connects internet-based applications to the Public Switched Telephone Network (PSTN).