Automate every aspect of your infrastructure
Every action in the Virtualizor panel is accessible via HTTP API calls (`api=json` or `api=serialize`) and CLI commands. Provision VPS instances, run power cycles, execute post-install recipes, and integrate WHMCS or custom cloud portals with 100% API coverage.
Complete control plane automation
Whether you connect WHMCS for automated billing, build custom cloud management portals, or run CLI scripts for cluster maintenance, Virtualizor's API delivers reliable HTTP execution with JSON or serialized PHP output.
- Admin API for server nodes, storage, IP pools & users
- Enduser API for VM power actions, noVNC console & rebuilds
- Bash & PowerShell recipes for post-provisioning software setup
- Command-line tool (`cli.php`) for local admin orchestration
From API key to automated workflow
Simple authentication, structured HTTP responses, and instant hypervisor execution.
Generate API keys
Generate API Key and Pass in the Admin or Enduser panel. Restrict keys by IP address and assign granular ACL permission scopes.
Send HTTP API requests
Call HTTP/HTTPS endpoints on port 4085/4084 with `adminapikey`, `adminapipass`, and `act=...`. Output arrives as JSON or serialized PHP arrays.
Automate lifecycle
Trigger automated post-install recipes, hook WHMCS for instant order provisioning, or run scheduled CLI commands across master and slave nodes.
Built for developers, hosters & DevOps
Everything you need to integrate Virtualizor into your existing tech stack.
Admin API
Programmatic control over the entire cluster master. Create VPS, manage slave nodes, attach storage volumes, allocate IP pools, set pricing, and query audit logs.
- Full cluster master administration
- Node addition, IP pool & storage management
- User account & ACL permission controls
Enduser & Cloud API
Scoped API access for customers and reseller accounts. Users can launch VMs, trigger power cycles, access noVNC console sessions, and monitor bandwidth usage programmatically.
- Self-service VPS lifecycle management
- noVNC & VNC access URL generation
- Bandwidth, CPU & RAM usage metrics
Recipes & Scripts
Automate post-provisioning configuration. Run custom Bash or PowerShell scripts on guest startup to install web stacks (LEMP, LAMP), security agents, or software packages automatically.
- Script execution upon guest creation
- Variable substitution (IP, Hostname, Root Password)
- Pre-built Webuzo & stack recipe templates
Automate post-provisioning on first boot
Run custom Bash or PowerShell scripts automatically when a guest VPS is created. Pre-configure web stacks, security agents, or software packages without manual SSH intervention.
- Dynamic variable substitution (`{IP}`, `{HOSTNAME}`, `{PASS}`)
- Bash and PowerShell script execution engine
- Pre-built Webuzo & stack recipe templates
- Assign recipes to plans or let users select on creation
Seamless integration with your billing stack
Connect Virtualizor directly into WHMCS, Blesta, HostBill, or ClientExec using official provisioning modules. Or use our PHP & Python SDKs to build custom cloud portals.
- Turn-key WHMCS & Blesta provisioning modules
- Official PHP SDK & Python SDK wrappers
- Automated VM creation, unsuspend, and termination
Virtualizor API & Automation specifications
Technical details of Virtualizor's HTTP API and automation engine.
| Status | Feature / Endpoint | Capability & Technical Detail |
|---|---|---|
| Admin API | Full CRUD operations for VPS, nodes, storage, IP pools, plans, and cluster settings. | |
| Enduser API | Scoped customer API for power actions, rebuilds, rescue mode, and noVNC console. | |
| Post-Install Recipes | Automated Bash/PowerShell script execution with dynamic variable injection. | |
| Billing Plugins | Official WHMCS, Blesta, HostBill, and ClientExec provisioning modules. | |
| CLI Administration | Command-line interface (`cli.php`) for SSH scripts, cron jobs, and local server admin. | |
| Event Hooks & Logs | Real-time action logs and task notifications for external auditing and monitoring. |
Languages, SDKs and billing modules
Connect Virtualizor directly into your favorite programming languages and billing software.
Admin power, Developer self-service
Scoped keys keep infrastructure management secure and controlled.
System Administrators
- Automate server node additions and health checks via CLI
- Manage global IP pools, storage allocations, and recipes
- Connect custom billing and internal ERP platforms via Admin API
- Restrict API keys by IP address and granular ACL permissions
Developers & Resellers
- Embed VPS management inside custom hosting portals & apps
- Programmatically launch staging instances with post-install recipes
- Automate noVNC token generation for embedded HTML5 consoles
- Fetch real-time CPU, RAM, disk, and network metrics