Skip to content

Twilio

Twilio is a cloud communications platform that enables developers to integrate messaging, voice, and video capabilities into their applications.

Categories: communication

Type: twilio/v1


Connections

Version: 1

Basic Auth

Properties

NameLabelTypeControl TypeDescriptionRequired
usernameAccount SIDSTRINGTEXTThe Account SID from your Twilio account.true
passwordAuth TokenSTRINGTEXTThe Auth Token from your Twilio account.true

Actions

Send SMS

Name: sendSMS

Send a new SMS message

Properties

NameLabelTypeControl TypeDescriptionRequired
ToToSTRINGPHONEThe recipient’s phone number in E.164 format (for SMS/MMS) or channel address, e.g. whatsapp:+15552229999.true
FromFromSTRINGPHONEThe sender’s Twilio phone number (in E.164 format), alphanumeric sender ID, Wireless SIM, short code, or channel address (e.g., whatsapp:+15554449999). The value of the from parameter must be a sender that is hosted within Twilio and belongs to the Account creating the Message. If you are using messaging_service_sid, this parameter can be empty (Twilio assigns a from value from the Messaging Service’s Sender Pool) or you can provide a specific sender from your Sender Pool.true
BodyBodySTRINGTEXTThe text content of the outgoing message. SMS only: If the body contains more than 160 GSM-7 characters (or 70 UCS-2 characters), the message is segmented and charged accordingly. For long body text, consider using the send_as_mms parameter.true

Output

Type: OBJECT

Properties

NameTypeControl Type
bodySTRINGTEXT
numSegmentsSTRINGTEXT
directionSTRINGTEXT
fromOBJECT
Properties {STRING(rawNumber)}
OBJECT_BUILDER
toSTRINGTEXT
dateUpdatedOBJECT
Properties {DATE_TIME(dateTime), STRING(zoneId)}
OBJECT_BUILDER
priceSTRINGTEXT
errorMessageSTRINGTEXT
uriSTRINGTEXT
accountSidSTRINGTEXT
numMediaSTRINGTEXT
statusSTRINGTEXT
messagingServiceSidSTRINGTEXT
sidSTRINGTEXT
dateSentOBJECT
Properties {DATE_TIME(dateTime), STRING(zoneId)}
OBJECT_BUILDER
dateCreatedOBJECT
Properties {DATE_TIME(dateTime), STRING(zoneId)}
OBJECT_BUILDER
errorCodeINTEGERINTEGER
currencyOBJECT
Properties {STRING(currencyCode), INTEGER(defaultFractionDigits), INTEGER(numericCode)}
OBJECT_BUILDER
apiVersionSTRINGTEXT
subresourceUrisOBJECT
Properties {}
OBJECT_BUILDER

JSON Example

{
"label" : "Send SMS",
"name" : "sendSMS",
"parameters" : {
"To" : "",
"From" : "",
"Body" : ""
},
"type" : "twilio/v1/sendSMS"
}