IntegrationsTwilioActions
Create Twilio message
Send an SMS message through Twilio Messaging.
messages.create · Twilio · v1
Details
Scopes
None
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
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}$ |
body | string | Yes | minLength 1; maxLength 1600 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
sid | string | Yes | minLength 34; maxLength 34; pattern ^(SM|MM)[0-9a-fA-F]{32}$ |
status | string | Yes | minLength 1; maxLength 64 |
body | string | No | maxLength 1600 |
from | string | Yes | maxLength 32 |
to | string | Yes | maxLength 32 |
date_created | string | No | maxLength 64 |
date_sent | string | No | maxLength 64 |
error_code | integer | No | — |
error_message | string | No | maxLength 500 |
direction | 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}$"
},
"body": {
"type": "string",
"minLength": 1,
"maxLength": 1600
}
},
"required": [
"from",
"to",
"body"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"sid": {
"type": "string",
"minLength": 34,
"maxLength": 34,
"pattern": "^(SM|MM)[0-9a-fA-F]{32}$"
},
"status": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"body": {
"type": "string",
"maxLength": 1600
},
"from": {
"type": "string",
"maxLength": 32
},
"to": {
"type": "string",
"maxLength": 32
},
"date_created": {
"type": "string",
"maxLength": 64
},
"date_sent": {
"type": "string",
"maxLength": 64
},
"error_code": {
"type": "integer"
},
"error_message": {
"type": "string",
"maxLength": 500
},
"direction": {
"type": "string",
"maxLength": 64
}
},
"required": [
"sid",
"status",
"from",
"to"
]
}