Fetch a Command instance from your account
Machine-to-machine commands sent to/from devices
Fetch a Command instance from your account.
Path parameters
-
The SID of the Command resource to fetch.
GET /v1/Commands/{Sid}
curl \
-X GET https://wireless.twilio.com/v1/Commands/{Sid} \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"command": "string",
"command_mode": "text",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"delivery_receipt_requested": true,
"direction": "from_sim",
"sid": "string",
"sim_sid": "string",
"status": "queued",
"transport": "sms",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"command": "string",
"command_mode": "text",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"delivery_receipt_requested": true,
"direction": "from_sim",
"sid": "string",
"sim_sid": "string",
"status": "queued",
"transport": "sms",
"url": "https://example.com"
}