Twilio - Api logo

Twilio - Api

Twilio - Api

Twilio's core API for voice calls, SMS, Verify, and other programmable communications, billed per usage.

Visit site ↗Health checked 9h ago
Use it when

Global phone-number and SMS coverage

Watch for

Per-message and per-minute pricing adds up at scale

First check

Sign up at twilio.com, copy the Account SID and Auth Token from the Console, and authenticate with HTTP Basic (SID:token). Trial accounts get a small credit; buy a phone number before sending real SMS. For production prefer API Keys over the master Auth Token.

Auth
basic
CORS
No
HTTPS
Yes
Signup
Required
Latency
394 ms
Protocol
REST
Pricing
paid

Uptime · 30-day window

Probes: 1Uptime: 100%Avg latency: 394ms
01

About this API

Twilio turns telecom networks into HTTP APIs, letting developers place calls, send messages, and run identity flows with familiar request/response shapes. At its core is TwiML — an XML markup language that describes what happens when a call connects: answer, transfer, record, play audio, gather digits.

The product surface is broad but cohesive: Programmable Voice handles calls, Programmable Messaging handles SMS/MMS, Verify runs OTP flows, Conversations orchestrates multichannel threads, and Studio offers a drag-and-drop builder for non-engineers. All share the same auth and phone-number pool, making cross-product workflows straightforward.

Pricing is per-usage (per SMS, per minute, per OTP). There is no monthly fee but costs scale linearly with traffic. Several countries require registered sender identities (A2P 10DLC, Toll-Free, Sender ID); skipping that step leads to filtering or blocks. Brand-new accounts also face stricter anti-fraud throttles on the first sends.

02

What you can build

  • 1Send programmatic SMS and MMS
  • 2Build inbound/outbound voice and IVR flows
  • 3Add OTP verification with Verify
  • 4Record calls and capture delivery receipts
  • 5Orchestrate conferences, transfers, and voicemail with TwiML
03

Strengths & limitations

Strengths

  • Global phone-number and SMS coverage
  • Interactive, high-quality documentation
  • TwiML makes call flows feel like writing markup
  • Mature SDKs and a polished CLI

Limitations

  • Per-message and per-minute pricing adds up at scale
  • Some countries require sender ID registration or 10DLC compliance
  • New accounts face stricter anti-fraud throttles on first send
04

Example request

Generic template — replace <endpoint> with the real path from the docs.
curl https://support.twilio.com/<endpoint> \
  -u "$USERNAME:$PASSWORD"
05

Getting started

Sign up at twilio.com, copy the Account SID and Auth Token from the Console, and authenticate with HTTP Basic (SID:token). Trial accounts get a small credit; buy a phone number before sending real SMS. For production prefer API Keys over the master Auth Token.

06

FAQ

How much does one SMS cost?+

Priced per destination country — US local is around $0.0083/message, international varies widely. See twilio.com/sms/pricing.

Do I need to buy a phone number?+

Yes, sending SMS or making calls requires at least one Twilio number or registered sender. US local numbers are about $1.15/month.

Can I call the API directly from a browser?+

Credentials should not be exposed client-side; proxy through your server. Browser-side use (Video, Voice JS SDK) is authorized via short-lived access tokens.

Why use Verify instead of rolling my own OTP?+

Verify handles retries, fraud detection, multi-channel fallback, and global routing, and lifts compliance burden off your team.

07

Technical details

CORS: NoHTTPS: YesSignup: YesOpen source: No
Auth type
basic
Pricing
paid
Protocols
REST
SDKs
python, javascript, typescript, java, ruby, go, php, csharp
Response time
394 ms
Last health check
5/12/2026, 7:38:31 AM
08

Endpoints

Parsed from the OpenAPI spec. Showing 12 of 199 non-deprecated endpoints.

GET
/2010-04-01/Accounts.json
FriendlyName:queryStatus:queryPageSize:queryPage:queryPageToken:query
POST
/2010-04-01/Accounts.json
GET
/2010-04-01/Accounts/{AccountSid}/Addresses.json
AccountSid:path*CustomerName:queryFriendlyName:queryIsoCountry:queryPageSize:query+2 more
POST
/2010-04-01/Accounts/{AccountSid}/Addresses.json
AccountSid:path*
GET
/2010-04-01/Accounts/{AccountSid}/Addresses/{AddressSid}/DependentPhoneNumbers.json
AccountSid:path*AddressSid:path*PageSize:queryPage:queryPageToken:query
DELETE
/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json
AccountSid:path*Sid:path*
GET
/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json
AccountSid:path*Sid:path*
POST
/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json
AccountSid:path*Sid:path*
GET
/2010-04-01/Accounts/{AccountSid}/Applications.json
AccountSid:path*FriendlyName:queryPageSize:queryPage:queryPageToken:query
POST
/2010-04-01/Accounts/{AccountSid}/Applications.json
AccountSid:path*
DELETE
/2010-04-01/Accounts/{AccountSid}/Applications/{Sid}.json
AccountSid:path*Sid:path*
GET
/2010-04-01/Accounts/{AccountSid}/Applications/{Sid}.json
AccountSid:path*Sid:path*

187 more endpoints not shown. See the OpenAPI spec for the full list.

09

Tags

10

More from Twilio

11

Alternatives to consider

Different providers solving similar problems. Picked by category, auth, pricing, and tag overlap.