Create a reserved IP

Reserve a new public IP address in the zone. Assign it with reserved_ip_ids when you create a server, or assign it to a running server later.

POST https://{availability_zone}.betterstackcloud.com/v1/reserved-ips
Authorization string required

Bearer $TOKEN

Content-Type string

application/json

team_id string required

The ID of the team that owns the reserved IP. betterstack team list shows it.

type string required

Whether to reserve an IPv4 or an IPv6 address. Possible values: ipv4, ipv6.

name string

The reserved IP's name, unique in the organization.

term string default: monthly

The billing term. Defaults to monthly. Possible values: monthly, annual.

ptr_record string or null

The reverse DNS name for the address. Send null for none.

metadata object

Your own tags for the reserved IP, as an object of string keys and values. Accepts any keys.

201 Created
{
  "id": "example",
  "name": "Example reserved IP",
  "ip": "example",
  "type": "ipv4",
  "gateway": "example",
  "term": "monthly",
  "server_id": "123456789",
  "server": {
    "id": "example",
    "name": "Example",
    "status": "up"
  },
  "ptr_record": "example",
  "created_at": "2026-07-01T12:00:00.000Z",
  "updated_at": "2026-07-01T12:00:00.000Z",
  "team_id": "t123",
  "metadata": {
    "example": "value"
  }
}

Returns the newly created reserved IP.

id string

The reserved IP's ID, a UUID.

name string or null

The reserved IP's name, unique in the organization.

ip string

The IP address.

type string

Whether it's an IPv4 or an IPv6 address. Possible values: ipv4, ipv6.

gateway string or null

The gateway for the address, for when you configure the server's network yourself.

term string

The billing term. Defaults to monthly. Possible values: monthly, annual.

server_id string or null

The ID of the server the address is assigned to, or null when it isn't assigned. Assign and unassign the address to change it.

server object or null

The ID, name and status of the server the address is assigned to, or null when the address isn't assigned.

server.id string

The server's ID.

server.name string

The server's name.

server.status string

The server's status, such as running.

ptr_record string or null

The reverse DNS name for the address. When you send a ptr_record as you assign the address, that one is used while the address stays assigned.

created_at datetime

When the reserved IP was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

updated_at datetime

When the reserved IP was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

team_id string

The ID of the team that owns the reserved IP. betterstack team list shows it.

metadata object

Your own tags, as an object of string keys and values.