Fetch IP Command instance from your account

GET /v1/IpCommands/{Sid}

Machine-to-machine IP Commands sent to/from Super SIMs

Fetch IP Command instance from your account.

Path parameters

  • Sid string Required

    The SID of the IP Command resource to fetch.

Responses

  • OK

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • date_created string(date-time) | null

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

    • date_updated string(date-time) | null

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

    • device_ip string | null

      The IP address of the device that the IP Command was sent to or received from

    • device_port integer | null

      The port that the IP Command either originated from or was sent to

    • direction string | null

      The direction of the IP Command

      Values are to_sim or from_sim.

    • payload string | null

      The payload of the IP Command sent to or from the Super SIM

    • payload_type string | null

      The payload type of the IP Command

      Values are text or binary.

    • sid string | null

      The unique string that identifies the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^HG[0-9a-fA-F]{32}$.

    • sim_iccid string | null

      The ICCID of the Super SIM that this IP Command was sent to or from

    • sim_sid string | null

      The SID of the Super SIM that this IP Command was sent to or from

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^HS[0-9a-fA-F]{32}$.

    • status string | null

      The status of the IP Command

      Values are queued, sent, received, or failed.

    • url string(uri) | null

      The absolute URL of the IP Command resource

GET /v1/IpCommands/{Sid}
curl \
 -X GET https://supersim.twilio.com/v1/IpCommands/{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",
  "device_ip": "string",
  "device_port": 42,
  "direction": "to_sim",
  "payload": "string",
  "payload_type": "text",
  "sid": "string",
  "sim_iccid": "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",
  "device_ip": "string",
  "device_port": 42,
  "direction": "to_sim",
  "payload": "string",
  "payload_type": "text",
  "sid": "string",
  "sim_iccid": "string",
  "sim_sid": "string",
  "status": "queued",
  "url": "https://example.com"
}