Fetch SMS Command instance from your account
Machine-to-machine SMS Commands sent to/from SIMs
Fetch SMS Command instance from your account.
Path parameters
-
The SID of the SMS Command resource to fetch.
GET /v1/SmsCommands/{Sid}
curl \
-X GET https://supersim.twilio.com/v1/SmsCommands/{Sid} \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"direction": "to_sim",
"payload": "string",
"sid": "string",
"sim_sid": "string",
"status": "queued",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"direction": "to_sim",
"payload": "string",
"sid": "string",
"sim_sid": "string",
"status": "queued",
"url": "https://example.com"
}