Create a Global IP
Requests creation of a new Global IP, a static IP address announced from the Telnyx network. Provisioning is asynchronous, so the request is accepted and the Global IP becomes available once provisioning completes.
Request body
Example request
{
"created_at": "2018-02-02T22:25:27.521Z",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "global_ip",
"updated_at": "2018-02-02T22:25:27.521Z",
"description": "test interface",
"ip_address": "198.51.100.1",
"name": "test interface",
"ports": {
"tcp": [
80,
8080
],
"udp": [
5000,
5050
]
}
}Response
Creation request accepted. Provisioning is asynchronous; poll GET /global_ips/{id} with the returned id to check status.
Example response
{
"data": {
"created_at": "2018-02-02T22:25:27.521Z",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "global_ip",
"updated_at": "2018-02-02T22:25:27.521Z",
"description": "test interface",
"ip_address": "198.51.100.1",
"name": "test interface",
"ports": {
"tcp": [
80,
8080
],
"udp": [
5000,
5050
]
}
}
}Changes
Changed in 2 of the 61 revisions of this API.4
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status422response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for statusdefaultresponse-property-type-changed
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status422response-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for statusdefaultresponse-property-type-changed
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲