Twilio SMS

PAID
By twilioOfficial
Updated a month ago
SMS
8.5/10
Popularity Score
5110ms
Latency
38%
Success Rate

Twilio SMS API Documentation

Twilio's Programmable SMS API helps you add robust messaging capabilities to your applications. Please read pricing details carefully.

View API Details
GETFetch an Account Resource
Message Resource
POSTUpdate a Message Resource
GETFetch Multiple Message Resources
GETFetch a Message Resource
DELETEDelete a Message Resource
POSTSend SMS (Create a Message Resource)
Media Resource
GETRead Multiple Media Resources
GETFetch a Media Resource
DELETEDelete a Media Resouce
Pricing
GETMessaging Pricing by Country
Service Resource
POSTUpdate a Service Resource
GETRead Multiple Service Resources
DELETEDelete a Service Resource
GETFetch a Service Resource
POSTCreate a Service Resource
Phone Numbers
GETAvailable Mobile Phone Numbers
GETFetch a Phone Number
GETAvailable Local Phone Numbers
POSTUpdate a Phone Number
DELETEDelete a Phone Number
GETFetch Multiple Phone Numbers
POSTBuy a Phone Number
POSTUpdate a Service Resource

You may specify one or more of the optional parameters above to update the Service's respective properties. Parameters not specified in your request are not updated.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
SidSTRING
REQUIRED
friendlyNameSTRING
REQUIREDA human readable descriptive text for this resource, up to 64 characters.
Optional Parameters
fallbackUrlSTRING
OPTIONALA request is made to the Fallback URL if an error occurs with retrieving or executing the TwiML from you Inbound Request URL.
stickySenderBOOLEAN
OPTIONALConfiguration to enable or disable Sticky Sender on your Service Instance. Possible values are true and false. Default value is true.
smartEncodingSTRING
OPTIONALConfiguration to enable or disable Smart Encoding. Possible values are true and false. Default value is true.
inboundMethodSTRING
OPTIONALThe HTTP method used when making requests to the Inbound Request URL. Either GET or POST. Default value is POST.
inboundRequestUrlSTRING
OPTIONALA webhook request is made to the Inbound Request URL when a message is received by any phone number or shortcode associated to your Messaging Service. Set to null to disable inbound messaging.
fallbackToLongCodeSTRING
OPTIONALConfiguration to enable or disable Fallback to Long Code. Possible values are true and false. Default value is false.
areaCodeGeomatchSTRING
OPTIONALConfiguration to enable or disable Area Code Geomatch. Possible values are true and false. Default value is false.
mmsConverterSTRING
OPTIONALConfiguration to enable or disable MMS Converter on your Service Instance. Possible values are true and false. Default value is true.
statusCallbackSTRING
OPTIONALA webhook request is made to the Status Callback to pass status updates about your messages. These status updates let you know if your accepted message were successfully sent and delivered or if a delivery related error may have occurred.
validityPeriodSTRING
OPTIONALConfiguration to set the validity period of all messages sent from your Service, in seconds. Acceptable integers range from 1 to 14,400. Default value is 14,400.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication