v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-02-051615131.3 KB
WirelessV1Command

Fetch a Command instance from your account.

Fetch a Command instance from your account.

get/v1/Commands/{Sid}

Path parameters

Sidstring required

The SID of the Command resource to fetch.

Response

OK

sidstring nullable

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

account_sidstring nullable

The SID of the Account that created the Command resource.

sim_sidstring nullable

The SID of the Sim resource that the Command was sent to or from.

commandstring nullable

The message being sent to or from the SIM. For text mode messages, this can be up to 160 characters. For binary mode messages, this is a series of up to 140 bytes of data encoded using base64.

command_mode'text' | 'binary'

The mode used to send the SMS message. Can be: text or binary. The default SMS mode is text.

transport'sms' | 'ip'

The type of transport used. Can be: sms or ip.

delivery_receipt_requestedboolean nullable

Whether to request a delivery receipt.

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

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

direction'from_sim' | 'to_sim'

The direction of the 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 resource.