Skip to main content
POST
Purchase a dedicated IP

Authorizations

Authorization
string
header
required

Telnyx API key supplied as Authorization: Bearer <token>. In production, auth may be validated by the API gateway and forwarded via Telnyx auth headers.

Body

application/json

Optional purchase selectors. Each supplied field restricts which stock IP is allocated; neither field is written to the IP. Omit the body or a field to apply no restriction for it. Other fields are ignored.

region
enum<string>

Allocate an IP in this region. Supported value: ewr-nj1. Any other value, including an empty string or null, returns 422.

Available options:
ewr-nj1
ip_version
enum<string>

Allocate an IP of this address family. Supported value: ipv4. Any other value, including ipv6 or null, returns 422.

Available options:
ipv4

Response

Dedicated IP allocated

data
object
required

A dedicated sending IP address owned by the account.