Overview
Add Twilio Voice to any ModuleX agent or workflow. Make and manage phone calls with Twilio Programmable Voice — place outbound calls driven by TwiML, list call logs, and retrieve call recordings against the Twilio REST API (api.twilio.com/2010-04-01).
Categories: Communication · Messaging · Text To Speech · Auth: Account SID & Auth Token · Actions: 3
Authentication
Account SID & Auth Token
Authenticate with your Twilio Account SID and Auth Token using HTTP Basic authenticationStep 1
Sign in to the Twilio Console at https://console.twilio.com
Required Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| Twilio Account SID | Your Twilio Account SID from the Twilio Console | Yes | ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| Twilio Auth Token | Your Twilio Auth Token from the Twilio Console | Yes | your_auth_token |
Available Actions
make_call — Make an outbound phone call using the Twilio Voice API.
make_call — Make an outbound phone call using the Twilio Voice API.
Parameters
Phone number to call in E.164 format (e.g., +14155551234)
Your Twilio phone number to call from in E.164 format (e.g., +14155559876)
Twilio Account SID (starts with ‘AC’)
Webhook URL that returns TwiML instructions for the call
TwiML instructions to execute (raw XML, e.g. ‘<Response><Say>Hello</Say></Response>’). Provide this or ‘url’.
Webhook URL for call status updates
HTTP method for the status callback (GET or POST)
Whether to record the call (Default:
false)Webhook URL for recording status updates
Seconds to wait for an answer before giving up (default: 60)
Answering machine detection: ‘Enable’ or ‘DetectMessageEnd’
Response
list_calls — Retrieve a list of calls made to and from a Twilio account.
list_calls — Retrieve a list of calls made to and from a Twilio account.
Parameters
Twilio Account SID (starts with ‘AC’)
Filter by calls to this phone number (E.164 format)
Filter by calls from this phone number (E.164 format)
Filter by call status (queued, ringing, in-progress, completed, busy, failed, no-answer, canceled)
Filter calls that started on or after this date (YYYY-MM-DD)
Filter calls that started on or before this date (YYYY-MM-DD)
Number of records to return (max 1000, default 50)
Whether to fetch recording SIDs for each returned call (adds one extra request per call that has recordings) (Default:
true)Response
Limits & Quotas
- Concurrency: outbound call throughput depends on your account tier and number of phone numbers; long calls and the call queue are subject to Twilio’s per-account limits.
- List pagination:
list_callsacceptspage_size(max 1000, default 50); wheninclude_recordingsis enabled it issues one extra request per call that has recordings. - Pricing: per-minute voice rates and per-recording charges vary by destination and feature — see Twilio’s pricing pages.
- Error model: non-2xx responses, timeouts, and Twilio
error_code/messagefailures are caught and returned assuccess=False+errorrather than raising. Plan retries on the agent side based on the error string.