IntegrationsTwilioActions
Get Twilio message
Fetch a Twilio Message resource by SID.
messages.get · Twilio · v1
Details
Scopes
None
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
message_sid | string | Yes | minLength 34; maxLength 34; pattern ^(SM|MM)[0-9a-fA-F]{32}$ |
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": {
"message_sid": {
"type": "string",
"minLength": 34,
"maxLength": 34,
"pattern": "^(SM|MM)[0-9a-fA-F]{32}$"
}
},
"required": [
"message_sid"
]
}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"
]
}