Voice API

Voice API (programmable voice)

Phone

A voice API lets software make, receive and control phone calls through code, such as placing a call, playing audio or transferring the line.

What is Voice API?

A voice API is the programming connection to phone service. Instead of a person dialing, software sends requests: call this number, answer that call, play this audio, record, transfer, hang up. The provider handles the phone network and tells your software what happens through events. What developers build with it: - Phone menus and call routing. - Click-to-call buttons and call tracking. - Appointment reminders and notification calls. - Voice agents, by streaming call audio to speech recognition and a language model and sending synthesized speech back. What to look for: - Which countries and number types are supported. - Call quality and how audio can be streamed in real time. - Recording, transcription and transfer features. - Pricing per minute and per number, plus any extra fees. - Support for caller ID rules such as STIR/SHAKEN. Voice API vs a voice agent product: a voice API gives you the building blocks; you write and run everything else. A voice agent product uses those building blocks for you, so you set up the agent instead of writing code. Common mistakes: underestimating the work of handling real-time audio, interruptions and errors well.

Example

A developer uses a voice API to place a reminder call the day before each appointment. When the person answers, the code plays a message and records whether they pressed 1 to confirm.

Why Voice API Matters

It is the foundation of most phone software, including voice agents. It also explains why some products need developers and others do not.

Explore More Terms

Browse our complete glossary of e-commerce and subscription terms.

Space, at your fingertips

What would you do with 22% more revenue?