TwilioCopilot

FREE
By serg.osipchuk
Updated 7 months ago
SMS
5.2/10
Popularity Score
59352ms
Latency
-
Success Rate

TwilioCopilot API Documentation

Add local phone numbers and better scaling/delivery to SMS.

View API Details
POSTsendMms
POSTsendSms
POSTwebhookEvent
POSTsendMms

This block allows you to send mms.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
toSTRING
REQUIREDThe destination phone number. Format with a '+' and country code e.g., +16175551212 (E.164 format).
accountSidCREDENTIALS
REQUIREDA 34 character string that uniquely identifies this account.
fromSTRING
REQUIREDA Twilio phone number (in E.164 format) or alphanumeric sender ID enabled for the type of message you wish to send. Phone numbers or short codes purchased from Twilio work here. You cannot (for example) spoof messages from your own cell phone number.
accountTokenCREDENTIALS
REQUIREDThe authorization token for this account.
mediaUrlSTRING
REQUIREDThe URL of the media you wish to send out with the message. gif , png and jpeg content is currently supported and will be formatted correctly on the recipient's device.
Optional Parameters
statusCallbackSTRING
OPTIONALA URL that Twilio will POST to each time your message status changes to one of the following: queued, failed, sent, delivered, or undelivered.
maxPriceSTRING
OPTIONALThe total maximum price in US dollars acceptable for the message to be delivered.
provideFeedbackSTRING
OPTIONALSet this value to true if you are sending messages that have a trackable user action and you intend to confirm delivery of the message using the Message Feedback API. This parameter is set to false by default.
applicationSidSTRING
OPTIONALTwilio will POST MessageSid as well as MessageStatus=sent or MessageStatus=failed to the URL in the MessageStatusCallback property of this Application.
messagingServiceSidSTRING
OPTIONALRequired if from not provided. The 34 character unique id of the Messaging Service you want to associate with this Message. Set this parameter to use the Messaging Service Settings and Copilot Features you have configured. When only this parameter is set, Twilio will use your enabled Copilot Features to select the From phone number for delivery.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication