List Received SMS
list_received_smsUsage Instructions
List received SMS messages using the supplied reservation/message filters and pagination. Outbound sends and replies are not included. Message bodies and verification codes are sensitive account data; retrieve and reveal only what is needed for the user's task. Follow returned continuation references using their complete arguments, which preserve the filters. Requires messages.readwrite.
Read-onlyThis tool reads data without modifying your account or resources.Not open-worldThis tool operates only within Textverified.Not destructiveThis tool is not expected to perform destructive changes.IdempotentRepeating this tool with the same input is not expected to add side effects.
Required scopes
resources.readmessages.readwriteInput Schema
reservationIdstring | nullreservationTypestring | nulltostring | nullpaginationobject | nullkeystring | nullrequireddirectionstring{
"type": "object",
"properties": {
"reservationId": {
"type": [
"string",
"null"
],
"default": null
},
"reservationType": {
"type": [
"string",
"null"
],
"enum": [
"Renewable",
"Nonrenewable",
"Verification",
null
],
"default": null
},
"to": {
"type": [
"string",
"null"
],
"default": null
},
"pagination": {
"type": [
"object",
"null"
],
"properties": {
"key": {
"type": [
"string",
"null"
]
},
"direction": {
"type": "string",
"enum": [
"Forward",
"Reverse"
]
}
},
"default": null,
"required": [
"key"
]
}
}
}Output Schema
dataarrayrequireditemsobjectidstringrequiredfromstring | nullrequiredtostringrequiredcreatedAtstringrequiredsmsContentstring | nullrequiredparsedCodestring | nullrequiredencryptedbooleanrequiredhasNextbooleanrequiredhasPreviousbooleanrequiredcountintegerrequiredlinksobjectrequiredcurrentobjectrequiredtoolstringrequiredargumentsobjectrequiredpreviousobject | nulltoolstringrequiredargumentsobjectrequirednextobject | nulltoolstringrequiredargumentsobjectrequired{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"from": {
"type": [
"string",
"null"
]
},
"to": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"smsContent": {
"type": [
"string",
"null"
]
},
"parsedCode": {
"type": [
"string",
"null"
]
},
"encrypted": {
"type": "boolean"
}
},
"required": [
"id",
"from",
"to",
"createdAt",
"smsContent",
"parsedCode",
"encrypted"
]
}
},
"hasNext": {
"type": "boolean"
},
"hasPrevious": {
"type": "boolean"
},
"count": {
"type": "integer"
},
"links": {
"type": "object",
"properties": {
"current": {
"type": "object",
"properties": {
"tool": {
"type": "string"
},
"arguments": {
"type": "object"
}
},
"required": [
"tool",
"arguments"
]
},
"previous": {
"type": [
"object",
"null"
],
"properties": {
"tool": {
"type": "string"
},
"arguments": {
"type": "object"
}
},
"required": [
"tool",
"arguments"
]
},
"next": {
"type": [
"object",
"null"
],
"properties": {
"tool": {
"type": "string"
},
"arguments": {
"type": "object"
}
},
"required": [
"tool",
"arguments"
]
}
},
"required": [
"current"
]
}
},
"required": [
"data",
"hasNext",
"hasPrevious",
"count",
"links"
]
}