IntegrationsTwilioActions
List Twilio messages
List Twilio Message resources with reviewed filters.
messages.list · Twilio · v1
Details
Scopes
None
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
page_size | integer | No | minimum 1; maximum 100 |
page_token | string | No | minLength 1; maxLength 512 |
to | string | No | minLength 2; maxLength 16; pattern ^\+[1-9]\d{1,14}$ |
from | string | No | minLength 2; maxLength 16; pattern ^\+[1-9]\d{1,14}$ |
date_sent | string | No | minLength 10; maxLength 32 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
messages | array<object> | Yes | maxItems 100 |
messages[] | object | Yes | additionalProperties false |
messages[].sid | string | Yes | minLength 34; maxLength 34; pattern ^(SM|MM)[0-9a-fA-F]{32}$ |
messages[].status | string | Yes | minLength 1; maxLength 64 |
messages[].body | string | No | maxLength 1600 |
messages[].from | string | Yes | maxLength 32 |
messages[].to | string | Yes | maxLength 32 |
messages[].date_created | string | No | maxLength 64 |
messages[].date_sent | string | No | maxLength 64 |
messages[].error_code | integer | No | — |
messages[].error_message | string | No | maxLength 500 |
messages[].direction | string | No | maxLength 64 |
next_page_token | string | No | minLength 1; maxLength 512 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page_token": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"to": {
"type": "string",
"minLength": 2,
"maxLength": 16,
"pattern": "^\\+[1-9]\\d{1,14}$"
},
"from": {
"type": "string",
"minLength": 2,
"maxLength": 16,
"pattern": "^\\+[1-9]\\d{1,14}$"
},
"date_sent": {
"type": "string",
"minLength": 10,
"maxLength": 32
}
}
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"messages": {
"type": "array",
"items": {
"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"
]
},
"maxItems": 100
},
"next_page_token": {
"type": "string",
"minLength": 1,
"maxLength": 512
}
},
"required": [
"messages"
]
}