# API: Proxmox Create VM
# proxmoxCreateVm
Create a new VM for the service using selected OS template
# Required parameters
| Parameter | Description |
|---|---|
id | Account Id |
os | OS Template ID |
hostname | Hostname |
memory | Memory size (in MB) |
cpu | CPU cores |
# Optional parameters
| Parameter | Description |
|---|---|
disk_size | Primary disk size (in GB) |
storage_profile | Storage profile ID |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=proxmoxCreateVm&id=ID&os=OS&hostname=HOSTNAME&memory=MEMORY&cpu=CPU
# PHP Samples
# Response
{
"success": true,
"vmid": 1375,
"call": "proxmoxCreateVm",
"server_time": 1760942863
}