# API: Proxmox Allocate IPs

# proxmoxAllocateIps

Allocate next available IP addresses for the VM or interface.

# Required parameters

Parameter Description
id Account Id
vpsid VM Id
limit Number of IPs to allocate
type IP type (ipv4 or ipv6)

# Optional parameters

Parameter Description
interface Interface name (e.g., net0)
bridge Network bridge, ignored if interface is specified
tag VLAN tag, ignored if interface is specified
private Private IP address (1 or 0, default 0)

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=proxmoxAllocateIps&id=ID&vpsid=VPSID&limit=LIMIT&type=TYPE

# PHP Samples

# Response

{
    "success": true,
    "ips": [
        {
            "id": 149991,
            "ipaddress": "192.0.2.10"
        }
    ],
    "call": "proxmoxAllocateIps",
    "server_time": 1760941806
}
Last Updated: 10/20/2025, 9:18:55 AM