Twilio SMS

PAID
By twilioOfficial
Updated 3 months ago
SMS
8.9/10
Popularity
6404ms
Latency
66%
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
POSTCreate a Service Resource

The Services resource of Messaging represents a set of configurable behavior for sending and receiving Messages.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
friendlyNameSTRING
REQUIREDA human readable descriptive text for this resource, up to 64 characters.
Optional Parameters
areaCodeGeomatchSTRING
OPTIONALConfiguration to enable or disable Area Code Geomatch. Possible values are true and false. Default value is false.
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.
fallbackUrlSTRING
OPTIONALA request is made to the Fallback URL if an error occurs with retrieving or executing the TwiML from you Inbound Request URL.
inboundMethodSTRING
OPTIONALThe HTTP method used when making requests to the Inbound Request URL. Either GET or POST. Default value is POST.
fallbackToLongCodeSTRING
OPTIONALConfiguration to enable or disable Fallback to Long Code. Possible values are true and false. Default value is false.
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.
smartEncodingSTRING
OPTIONALConfiguration to enable or disable Smart Encoding. Possible values are true and false. Default value is true.
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.
mmsConverterSTRING
OPTIONALConfiguration to enable or disable MMS Converter on your Service Instance. Possible values are true and false. Default value is true.
stickySenderBOOLEAN
OPTIONALConfiguration to enable or disable Sticky Sender on your Service Instance. Possible values are true and false. Default value is true.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication