IntegrationsTwilioActions
Create Twilio call
Place an outbound Twilio Voice call with inline TwiML or an HTTPS URL.
calls.create · Twilio · v1
Details
Scopes
None
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false; oneOf branch 1: required twiml / branch 2: required url |
from | string | Yes | minLength 2; maxLength 16; pattern ^\+[1-9]\d{1,14}$ |
to | string | Yes | minLength 2; maxLength 16; pattern ^\+[1-9]\d{1,14}$ |
twiml | string | No | minLength 1; maxLength 4096 |
url | string | No | minLength 8; maxLength 2048; pattern ^https://; format uri |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
sid | string | Yes | minLength 34; maxLength 34; pattern ^CA[0-9a-fA-F]{32}$ |
status | string | Yes | minLength 1; maxLength 64 |
from | string | Yes | maxLength 32 |
to | string | Yes | maxLength 32 |
direction | string | No | maxLength 64 |
duration | string | No | maxLength 32 |
start_time | string | No | maxLength 64 |
end_time | string | No | maxLength 64 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"from": {
"type": "string",
"minLength": 2,
"maxLength": 16,
"pattern": "^\\+[1-9]\\d{1,14}$"
},
"to": {
"type": "string",
"minLength": 2,
"maxLength": 16,
"pattern": "^\\+[1-9]\\d{1,14}$"
},
"twiml": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"url": {
"type": "string",
"minLength": 8,
"maxLength": 2048,
"pattern": "^https://",
"format": "uri"
}
},
"required": [
"from",
"to"
],
"oneOf": [
{
"required": [
"twiml"
]
},
{
"required": [
"url"
]
}
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"sid": {
"type": "string",
"minLength": 34,
"maxLength": 34,
"pattern": "^CA[0-9a-fA-F]{32}$"
},
"status": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"from": {
"type": "string",
"maxLength": 32
},
"to": {
"type": "string",
"maxLength": 32
},
"direction": {
"type": "string",
"maxLength": 64
},
"duration": {
"type": "string",
"maxLength": 32
},
"start_time": {
"type": "string",
"maxLength": 64
},
"end_time": {
"type": "string",
"maxLength": 64
}
},
"required": [
"sid",
"status",
"from",
"to"
]
}