Welcome to the Twilio REST API reference.

You will learn how to get started with the Twilio API from Authentication, to using the API in various forms of communication.

Introduction

Twilio is a cloud communications platform that enables businesses to build and scale communication solutions, such as messaging, voice calls, video, and authentication, into their applications.

The Twilio REST API allows you to integrate communication features directly into their software. You can query metadata about your account, phone numbers, calls, text messages, and recordings. You can also initiate outbound calls and send text messages.

Twilio spans a broad range of products that help you build incredible communication experiences with customers. Our resources including accounts, subaccounts, applications, and security apply to everything you want to build.


Base URL

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

This is our base URL referenced in all endpoints: https://api.twilio.com/2010-04-01

Authentication

Twilio REST API allows HTTP Basic Authentication to protect your API requests. We provide two forms of authentification, using Auth Tokens or your API keys. Navigate to the ๐Ÿ”“ Authentication section to learn how to use each method.

Error Handling

Learn the Twilio REST API status codes to assist you in troubleshooting. See the full list on the โŒ Error handlingError handling page.

Test Credentials

Before using your live credentials, you can learn the Twilio REST API by testing resources from the API using free ๐Ÿ•ต Test credentials.

Accounts

Learn how to provision calls, messages, and other resources in the ๐Ÿ“Account EndpointsAccounts section. The following are some of the resources available in the accounts section:

Make Calls with Twilio

Twilio's Voice API enables you 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. See the Voice API Documentation for guides, REST resources, and troubleshooting tips.

Send Messages with Twilio

With Twilio's Messaging API, you can send and receive SMS and MMS messages as well as query meta-data about text messages such as delivery status, and associated media, and leverage tools like Messaging Services to manage your messages globally at scale. Check out our Messaging API Documentation for guides, REST resources, and debugging tips.

Glossary

Find the meaning of important terms used in the Twilio REST API Reference in the ๐Ÿ“– Glossary section.