Get SIM card public IP definition
GET/sim_cards/:id/public_ip
It returns the public IP requested for a SIM card.
Request
Path Parameters
id uuidrequired
Identifies the SIM.
Responses
200: Successful response
- application/json
401: Unauthorized
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/sim_cards/:id/public_ip' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"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"
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}