Twilio

The HTTP API datasource will be used to connect to Twilio API.

Configuration

Prerequisites

Before connecting the data source, you'll need to obtain the necessary parameters for authentication.

Twilio supports HTTP Basic Authentication. For this type of authentication, you'll need your Twilio account SID as the username and your auth token as the password. You can find these credentials in the Twilio console.

If you want to use API keys to authenticate instead of your Twilio account SID and auth token, then you can use the API key as the username and your API key’s secret as the password. You can learn more about Twilio authentication in their documentation.

Connecting the data source

Once you have the credentials, you can proceed to connecting your Twilio data source:

  1. On the Data sources page, click Connect, and select HTTP API in the Data sources list.

  2. Next, specify the Base URL - https://api.twilio.com/api_version.

  3. Select Basic Auth in the Authentication settings dropdown and specify your account SID & auth token/API key & API key secret in the Username and Password fields respectively.

  4. Finally, click Connect Datasource to complete the setup.

Usage

Once you've established the connection between UI Bakery and your Twilio API, you can start interacting with its data. For this purpose, you'll need to use the HTTP Request action step.

Refer to Twilio documentation to learn more about Twilio requests.

If you want to send messages in trial mode, you must first verify your 'To' phone number with Twilio. You can verify it by adding the number to your Verified Caller IDs in the console.

Last updated

Was this helpful?