Twilio

Send SMS messages through Twilio

Component key: twilio

Description#

Twilio is a communication platform that allows developers to programmatically send SMS messages.

Authorization Methods#

Twilio requires one of the following authorization methods:

Auth TypeKeyDescriptionFields
API Key / Secretapi_key_secretAPI Key / Secret Combination

API Key |  api_key

API Secret |  api_secret

Basic AuthbasicBasic authorization using a username/password combination

Password |  password

Username |  username

Twilio allows you to use basic auth (username/password) or an API key / secret key pair to authenticate against their API.

Information about getting started and creating an account with Twilio can be found on their developer documentation site.

Actions#

Send SMS#

Send an SMS message | key: sendSMS

InputKeyNotesExample

From

string
/ Required
fromThe SMS sender's phone number.5555551234

Message

string
/ Required
messageThe message body of the SMS message.Hello from Prismatic!

To

string
/ Required
toThe SMS recipient's phone number.5551234567

Output Example Payload#

{
"data": {
"body": "Example",
"status": 200,
"dateUpdated": "2020-01-01T00:00:00.000Z"
}
}