Skip to content

Event Target for Twilio

This event Target receives CloudEvents and utilizes Twilio to enable the creation and delivery of SMS messages via event data and event occurrence, respectively.


Consult the Secrets guide for more information about how to add the Twilio Account SID and API Access Token as secrets.

Deploying an Instance of the Target

Open the Bridge creation screen and add a Target of type Twilio.

Adding a Twilio Target

In the Target creation form, give a name to the event Target and add the following information:

Both the Default source phone number and Default destination configurations may be overridden by any CloudEvent message received by the Target.

For more information about using Twilio, please refer to the Twilio documentation.

Twilio Target form

After submitting the Bridge, and allowing for some configuration time, a green check mark on the main Bridges page indicates that the Bridge was successfully created.

Bridge status

Event Types

A Twilio event Target accepts the following CloudEvent types:


Events of this type intend to send a SMS message via Twilio.

This type expects a JSON payload with the following properties:

Name Type Description
message string Text to be sent in the body of the SMS message.
media_urls string Array of URLs pointing to JPEG, GIF or PNG resources.
from string Phone number sourcing the communication. Takes precedence over the value from the Twilio Target spec.
to string Phone number of the destination. Takes precedence over the value from the Twilio Target spec.