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.
All URLs referenced in the documentation have the following base:
The Twilio REST API is served over HTTPS. To ensure data privacy, unencrypted HTTP is not supported.
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.
Explore Twilio's Voice API with our quickstarts, see how to make calls, modify calls, and explore the REST Resources that help you:
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.