← Back to Marketplace

Twilio

Basic

SMS, voice calls, and messaging. Programmable communication infrastructure.

https://api.twilio.com
OVERVIEW

Twilio's API lets you send SMS messages, make phone calls, and build messaging workflows. The REST API uses your Account SID and Auth Token for authentication via HTTP Basic Auth.

Every resource lives under your Account SID in the URL. Request and response bodies use JSON (or form-encoded for older endpoints). Test credentials let you simulate without sending real messages.

GET YOUR API KEY

Authentication setup

  1. Go to console.twilio.com and sign in
  2. Your Account SID and Auth Token are on the dashboard
  3. Account SID starts with AC. This is your username
  4. Auth Token is a 32-character hex string. This is your password
  5. For production, create API keys at Account → API keys
Token format AC... (SID) + auth token
Auth type basic
QUICK CONNECT

Create a connection in one request.

CONNECT TWILIO
POST /connections Authorization: Bearer $TOKEN Content-Type: application/json { "name": "Twilio", "base_url": "https://api.twilio.com", "auth_type": "basic", "auth_config": {"username": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "password": "your_auth_token"} } → {"id": "cn_xxxxxxxx", "name": "Twilio"}
KEY ENDPOINTS

What you can call via proxy.

MethodPathDescription
POST /2010-04-01/Accounts/{SID}/Messages.json Send an SMS or MMS
GET /2010-04-01/Accounts/{SID}/Messages.json List sent/received messages
POST /2010-04-01/Accounts/{SID}/Calls.json Initiate a phone call
GET /2010-04-01/Accounts/{SID}/Calls.json List call records
GET /2010-04-01/Accounts/{SID}/Usage/Records.json Get usage and billing data
GET /2010-04-01/Accounts/{SID}/IncomingPhoneNumbers.json List your phone numbers
EXAMPLE

Send SMS

PROXY CALL
POST /proxy/cn_xxxxxxxx/2010-04-01/Accounts/ACxxx/Messages.json Authorization: Bearer $TOKEN Content-Type: application/json To=%2B15551234567&From=%2B15559876543&Body=Hello+from+the+API+proxy! { "sid": "SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "status": "queued", "to": "+15551234567", "from": "+15559876543", "body": "Hello from the API proxy!", "date_created": "Mon, 24 Mar 2026 10:30:00 +0000" }
USE CASES

What people build with Twilio.

SMS Notifications

Send order confirmations, shipping updates, and appointment reminders via SMS.

Two-Factor Auth

Send verification codes for login and sensitive operations.

Voice IVR

Build interactive phone menus and call routing with TwiML.

Phone Number Management

Provision and manage phone numbers across 100+ countries.

# Twilio > SMS, voice calls, and messaging. Programmable communication infrastructure. ## Overview Twilio's API lets you send SMS messages, make phone calls, and build messaging workflows. The REST API uses your Account SID and Auth Token for authentication via HTTP Basic Auth. Every resource lives under your Account SID in the URL. Request and response bodies use JSON (or form-encoded for older endpoints). Test credentials let you simulate without sending real messages. - **Base URL:** https://api.twilio.com - **Auth type:** basic - **Token format:** AC... (SID) + auth token ## Get Your API Key 1. Go to console.twilio.com and sign in 2. Your Account SID and Auth Token are on the dashboard 3. Account SID starts with AC. This is your username 4. Auth Token is a 32-character hex string. This is your password 5. For production, create API keys at Account → API keys ## Quick Connect bashcurl -X POST https://api.liteio.dev/connections \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "Twilio", "base_url": "https://api.twilio.com", "auth_type": "basic", "auth_config": {"username": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "password": "your_auth_token"} }' ## Key Endpoints MethodPathDescription POST/2010-04-01/Accounts/{SID}/Messages.jsonSend an SMS or MMS GET/2010-04-01/Accounts/{SID}/Messages.jsonList sent/received messages POST/2010-04-01/Accounts/{SID}/Calls.jsonInitiate a phone call GET/2010-04-01/Accounts/{SID}/Calls.jsonList call records GET/2010-04-01/Accounts/{SID}/Usage/Records.jsonGet usage and billing data GET/2010-04-01/Accounts/{SID}/IncomingPhoneNumbers.jsonList your phone numbers ## Example: Send SMS bashcurl -X POST https://api.liteio.dev/proxy/cn_xxx/2010-04-01/Accounts/ACxxx/Messages.json \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d 'To=%2B15551234567&From=%2B15559876543&Body=Hello+from+the+API+proxy!' ## Use Cases - **SMS Notifications**: Send order confirmations, shipping updates, and appointment reminders via SMS. - **Two-Factor Auth**: Send verification codes for login and sensitive operations. - **Voice IVR**: Build interactive phone menus and call routing with TwiML. - **Phone Number Management**: Provision and manage phone numbers across 100+ countries. ## Links - Back to Marketplace - Developer Guide - Get API Key