Appearance
Twilio
Send SMS, make voice calls, and manage phone numbers via Twilio.
| Detail | Value |
|---|---|
| Category | Communication |
| Base URL | https://api.twilio.com |
| Authentication | Bearer Token |
| Endpoints | 5 |
| Connector key | twilio |
Using Twilio in a workflow
- Go to Connections and click New Connection.
- Pick Twilio from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — the full list is below.
Available endpoints
| Endpoint | Summary |
|---|---|
POST /Accounts/{AccountSid}/Messages.json | Send an SMS message |
GET /Accounts/{AccountSid}/Messages.json | List messages |
GET /Accounts/{AccountSid}/Messages/{MessageSid}.json | Fetch a message |
POST /Accounts/{AccountSid}/Calls.json | Make a phone call |
GET /Accounts/{AccountSid}/Calls.json | List calls |
Each endpoint is documented in full below. Use the outline on the right to jump to one.
POST /Accounts/{AccountSid}/Messages.json
Send an SMS message
| Detail | Value |
|---|---|
| Operation ID | messaging.sendSMS |
| Method | POST |
| Path | /Accounts/{AccountSid}/Messages.json |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
AccountSid | path | string | Yes |
Request Body
| Field | Type |
|---|---|
To | string |
From | string |
Body | string |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Twilio connection from the Connection dropdown.
- In the Operation dropdown, select
messaging.sendSMS. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Twilio API reference.
GET /Accounts/{AccountSid}/Messages.json
List messages
| Detail | Value |
|---|---|
| Operation ID | messaging.listMessages |
| Method | GET |
| Path | /Accounts/{AccountSid}/Messages.json |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
AccountSid | path | string | Yes |
PageSize | query | integer | No |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Twilio connection from the Connection dropdown.
- In the Operation dropdown, select
messaging.listMessages. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Twilio API reference.
GET /Accounts/{AccountSid}/Messages/{MessageSid}.json
Fetch a message
| Detail | Value |
|---|---|
| Operation ID | messaging.getMessage |
| Method | GET |
| Path | /Accounts/{AccountSid}/Messages/{MessageSid}.json |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
AccountSid | path | string | Yes |
MessageSid | path | string | Yes |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Twilio connection from the Connection dropdown.
- In the Operation dropdown, select
messaging.getMessage. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Twilio API reference.
POST /Accounts/{AccountSid}/Calls.json
Make a phone call
| Detail | Value |
|---|---|
| Operation ID | messaging.makeCall |
| Method | POST |
| Path | /Accounts/{AccountSid}/Calls.json |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
AccountSid | path | string | Yes |
Request Body
| Field | Type |
|---|---|
To | string |
From | string |
Url | string |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Twilio connection from the Connection dropdown.
- In the Operation dropdown, select
messaging.makeCall. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Twilio API reference.
GET /Accounts/{AccountSid}/Calls.json
List calls
| Detail | Value |
|---|---|
| Operation ID | messaging.listCalls |
| Method | GET |
| Path | /Accounts/{AccountSid}/Calls.json |
Parameters
| Name | Location | Type | Required |
|---|---|---|---|
AccountSid | path | string | Yes |
PageSize | query | integer | No |
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Twilio connection from the Connection dropdown.
- In the Operation dropdown, select
messaging.listCalls. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
Required fields are marked — fill them or the call will fail at runtime.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Twilio API reference.