v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-02-053127266.1 KB
SupersimV1SmsCommand

Fetch SMS Command instance from your account.

Fetch SMS Command instance from your account.

get/v1/SmsCommands/{Sid}

Path parameters

Sidstring required

The SID of the SMS Command resource to fetch.

Response

OK

sidstring nullable

The unique string that we created to identify the SMS Command resource.

account_sidstring nullable

The SID of the Account that created the SMS Command resource.

sim_sidstring nullable

The SID of the SIM that this SMS Command was sent to or from.

payloadstring nullable

The message body of the SMS Command sent to or from the SIM. For text mode messages, this can be up to 160 characters.

status'queued' | 'sent' | 'delivered' | 'received' | 'failed'

The status of the SMS Command. Can be: queued, sent, delivered, received or failed. See the SMS Command Status Values for a description of each.

direction'to_sim' | 'from_sim'

The direction of the SMS Command. Can be to_sim or from_sim. The value of to_sim is synonymous with the term mobile terminated, and from_sim is synonymous with the term mobile originated.

date_createdstring date-time nullable

The date and time in GMT when the resource was created specified in ISO 8601 format.

date_updatedstring date-time nullable

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

urlstring uri nullable

The absolute URL of the SMS Command resource.