Twilio Voice
Make and manage phone calls
Integrate Twilio Voice into the workflow. Make outbound calls and retrieve call recordings.
| Parameter | Type | Required | Description |
|---|
to | string | Yes | No description |
from | string | Yes | No description |
url | string | No | Webhook URL that returns TwiML instructions for the call (e.g., https://example.com/twiml\) |
twiml | string | No | TwiML instructions to execute. Use square brackets instead of angle brackets (e.g., [Response][Say]Hello[/Say][/Response]) |
statusCallback | string | No | No description |
statusCallbackMethod | string | No | No description |
accountSid | string | Yes | No description |
authToken | string | Yes | No description |
record | boolean | No | No description |
recordingStatusCallback | string | No | No description |
timeout | number | No | No description |
machineDetection | string | No | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the call was successfully initiated |
callSid | string | Unique identifier for the call |
status | string | Call status (queued, ringing, in-progress, completed, etc.) |
direction | string | Call direction (outbound-api) |
from | string | Phone number the call is from |
to | string | Phone number the call is to |
duration | number | Call duration in seconds |
price | string | Cost of the call |
priceUnit | string | Currency of the price |
error | string | Error message if call failed |
| Parameter | Type | Required | Description |
|---|
accountSid | string | Yes | No description |
authToken | string | Yes | No description |
to | string | No | No description |
from | string | No | No description |
status | string | No | Filter by call status (e.g., queued, ringing, in-progress, completed, busy, failed, no-answer, canceled) |
startTimeAfter | string | No | No description |
startTimeBefore | string | No | No description |
pageSize | number | No | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the calls were successfully retrieved |
calls | array | Array of call objects |
total | number | Total number of calls returned |
page | number | Current page number |
pageSize | number | Number of calls per page |
error | string | Error message if retrieval failed |
| Parameter | Type | Required | Description |
|---|
recordingSid | string | Yes | No description |
accountSid | string | Yes | No description |
authToken | string | Yes | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the recording was successfully retrieved |
recordingSid | string | Unique identifier for the recording |
callSid | string | Call SID this recording belongs to |
duration | number | Duration of the recording in seconds |
status | string | Recording status (completed, processing, etc.) |
channels | number | Number of channels (1 for mono, 2 for dual) |
source | string | How the recording was created |
mediaUrl | string | URL to download the recording media file |
file | file | Downloaded recording media file |
price | string | Cost of the recording |
priceUnit | string | Currency of the price |
uri | string | Relative URI of the recording resource |
transcriptionText | string | Transcribed text from the recording (if available) |
transcriptionStatus | string | Transcription status (completed, in-progress, failed) |
transcriptionPrice | string | Cost of the transcription |
transcriptionPriceUnit | string | Currency of the transcription price |
error | string | Error message if retrieval failed |