SIM Cards

Get SIM card public IP definition

Changed on

It returns the public IP requested for a SIM card.

get/sim_cards/{id}/public_ip

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/sim_cards/{id}/public_ip
  • Auth: HTTP bearer

Path parameters

idstring uuid required
Example:6a09cdc3-8948-47f0-aa62-74ac943d6c58

Identifies the SIM.

Response

Successful response

Example response

{
  "data": {
    "record_type": "sim_card_public_ip",
    "region_code": "dc2",
    "sim_card_id": "6b14e151-8493-4fa1-8664-1cc4e6d14158",
    "type": "ipv4",
    "ip": "192.168.0.0",
    "created_at": "2018-02-02T22:25:27.521Z",
    "updated_at": "2018-02-02T22:25:27.521Z"
  }
}

Changes

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status