Twilio Voice API

Twilio's Voice API makes it easy to make, retrieve, control and monitor calls. Using this REST API, you can make outgoing calls, modify calls in progress, and query metadata about calls. You can also use this API to route voice calls with global reach to phones, browsers, or mobile apps with SIP Interface.

Base URL

All URLs referenced in the documentation have the following base:

https://api.twilio.com/2010-04-01

The Twilio REST API is served over HTTPS. To ensure data privacy, unencrypted HTTP is not supported.

Voice API Authentication

HTTP requests to the REST API are protected with HTTP Basic authentication. To learn more about how Twilio handles authentication, please refer to our security documentation. In short, you will use your Twilio account SID as the username and your auth token as the password for HTTP Basic authentication.

curl -G https://api.twilio.com/2010-04-01/Accounts \
    -u '[YOUR ACCOUNT SID]:[YOUR AUTH TOKEN]'

You can find your account SID and auth token in your console.

For more information on authentication and interacting with the Twilio REST API, check out our documentation for requests to the API and Twilio's response.

Building with Twilio's Voice API

Explore Twilio's Voice API with our quickstarts, see how to make calls, modify calls, and explore the REST Resources that help you:

Helper Libraries

While you can use the API directly to integrate voice calls into your application, we also support 6 common web languages with a helper library.  If you are using one of these languages, there is usually no quicker way to get started than using our helper library.

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.