Twilio · Schema
CreateCommandRequest
AuthenticationCommunicationsContact CenterEmailIoTMessagingPhoneSMST1VerificationVideoVoiceTwilioTelecommunicationsReal-TimeWhatsApp
Properties
| Name | Type | Description |
|---|---|---|
| Command | string | The message body of the Command. Can be plain text in text mode or a Base64 encoded byte string in binary mode. |
| Sim | string | The `sid` or `unique_name` of the [SIM](https://www.twilio.com/docs/iot/wireless/api/sim-resource) to send the Command to. |
| CallbackMethod | string | The HTTP method we use to call `callback_url`. Can be: `POST` or `GET`, and the default is `POST`. |
| CallbackUrl | string | The URL we call using the `callback_url` when the Command has finished sending, whether the command was delivered or it failed. |
| CommandMode | string | The mode to use when sending the SMS message. Can be: `text` or `binary`. The default SMS mode is `text`. |
| IncludeSid | string | Whether to include the SID of the command in the message body. Can be: `none`, `start`, or `end`, and the default behavior is `none`. When sending a Command to a SIM in text mode, we can automatically |
| DeliveryReceiptRequested | boolean | Whether to request delivery receipt from the recipient. For Commands that request delivery receipt, the Command state transitions to 'delivered' once the server has received a delivery receipt from th |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-create-command-request-schema.json",
"title": "CreateCommandRequest",
"x-generated": "2026-10-08",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/twilio-commands-api-openapi.yml#/components/schemas/CreateCommandRequest",
"type": "object",
"required": [
"Command"
],
"properties": {
"Command": {
"type": "string",
"description": "The message body of the Command. Can be plain text in text mode or a Base64 encoded byte string in binary mode."
},
"Sim": {
"type": "string",
"description": "The `sid` or `unique_name` of the [SIM](https://www.twilio.com/docs/iot/wireless/api/sim-resource) to send the Command to."
},
"CallbackMethod": {
"type": "string",
"format": "http-method",
"enum": [
"HEAD",
"GET",
"POST",
"PATCH",
"PUT",
"DELETE"
],
"description": "The HTTP method we use to call `callback_url`. Can be: `POST` or `GET`, and the default is `POST`."
},
"CallbackUrl": {
"type": "string",
"format": "uri",
"description": "The URL we call using the `callback_url` when the Command has finished sending, whether the command was delivered or it failed."
},
"CommandMode": {
"type": "string",
"$ref": "#/$defs/command_enum_command_mode",
"description": "The mode to use when sending the SMS message. Can be: `text` or `binary`. The default SMS mode is `text`."
},
"IncludeSid": {
"type": "string",
"description": "Whether to include the SID of the command in the message body. Can be: `none`, `start`, or `end`, and the default behavior is `none`. When sending a Command to a SIM in text mode, we can automatically include the SID of the Command in the message body, which could be used to ensure that the device does not process the same Command more than once. A value of `start` will prepend the message with the Command SID, and `end` will append it to the end, separating the Command SID from the message body with a space. The length of the Command SID is included in the 160 character limit so the SMS body must be 128 characters or less before the Command SID is included."
},
"DeliveryReceiptRequested": {
"type": "boolean",
"description": "Whether to request delivery receipt from the recipient. For Commands that request delivery receipt, the Command state transitions to 'delivered' once the server has received a delivery receipt from the device. The default value is `true`."
}
},
"$defs": {
"command_enum_command_mode": {
"type": "string",
"enum": [
"text",
"binary"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/twilio-create-command-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.