Skip to main content
Twilio logo

Overview

Add Twilio to any ModuleX agent or workflow. Cloud communications platform for SMS messaging, voice calls, phone number lookup, and phone verification via the Twilio REST API (api.twilio.com).
Categories: Communication · SMS · Voice · Verification · Auth: Twilio Account Credentials · Actions: 17

Authentication

Twilio Account Credentials

Authenticate using your Twilio Account SID and Auth Token (HTTP Basic Auth).
1

Step 1

Log in to the Twilio Console at https://console.twilio.com
2

Step 2

Your Account SID and Auth Token are on the dashboard home page.

Required Credentials

Available Actions

Parameters

string
required
The sender’s Twilio phone number in E.164 format (e.g., +15551234567).
string
required
The destination phone number in E.164 format (e.g., +16175551212).
string
required
The text of the message, limited to 1600 characters.
array
Array of URLs of media to include. Up to 10 URLs, max 5 MB each.

Response

Parameters

string
required
The caller’s Twilio phone number in E.164 format.
string
required
The destination phone number in E.164 format.
string
required
How to handle the call. Allowed values: text, url, application.
string
Text for Twilio to speak when answered. Required when call_type is ‘text’.
string
URL returning TwiML instructions. Required when call_type is ‘url’.
string
SID of the Application resource. Required when call_type is ‘application’.
integer
Seconds to ring before assuming no answer (default 60, max 600).
boolean
Whether to record the call.

Response

Parameters

string
required
The SID of the message to retrieve.

Response

Parameters

string
required
The SID of the message to delete.

Response

Parameters

string
Only return messages sent from this phone number in E.164 format.
string
Only return messages sent to this phone number in E.164 format.
integer
Maximum number of messages to return. (Default: 50)

Response

Parameters

string
required
The SID of the message.
integer
Maximum number of media items to return. (Default: 50)

Response

Parameters

string
required
The SID of the call to retrieve.

Response

Parameters

string
required
The SID of the call to delete.

Response

Parameters

string
Only include calls from this phone number in E.164 format.
string
Only include calls to this phone number in E.164 format.
string
Only include calls spawned by the call with this SID.
string
Filter by status: queued, ringing, in-progress, canceled, completed, failed, busy, no-answer.
integer
Maximum number of calls to return. (Default: 50)

Response

Parameters

string
required
The SID of the recording.
string
Audio format: .mp3 or .wav. (Default: .wav)

Response

Parameters

string
required
The phone number to look up.

Response

Parameters

string
required
The SID of the Verify service.
string
required
The destination phone number in E.164 format.

Response

Parameters

string
required
The SID of the Verify service.
string
required
The phone number that received the verification code in E.164 format.
string
required
The verification code to check.

Response

Parameters

string
required
A human-readable name for the new verification service.

Response

Parameters

boolean
Set to true to include transcript sentences in the response.
integer
Maximum number of transcripts to return. (Default: 50)

Response

Parameters

array
required
Array of transcript SID strings to retrieve.

Response

Response

Limits & Quotas

  • SMS: Throughput varies by number type. Long codes: 1 SMS/sec (US/Canada). Toll-free: 3 SMS/sec. Short codes: 30+ SMS/sec.
  • Voice: Concurrent call limits depend on your account type and phone numbers provisioned.
  • Lookup: Charged per lookup. Standard rate lookup is included in the monthly fee; carrier/line-type lookups are billed per query.
  • Verify: Each verification attempt is billed. See Twilio Verify pricing.
  • Voice Intelligence: Charged per minute of audio transcribed.
  • Error model: Non-2xx responses and timeouts are caught and returned as success=False + error rather than raising.

AgentMail

ElevenLabs

Gmail