CrownPanel's API allows you to manage your VPS programmatically - including actions like power control, hostname changes, snapshot management, and more.
POST method to https://api.crownpanel.comYou can use the API with:
curlIdeal for automation, integration into management panels, or performing bulk operations across multiple VPS instances.
Use this API to boot (power on) a VPS that is currently powered off.
This is useful when you want to remotely start your server after it's been shut down or stopped.
| Key | Variable | Description | Required |
|---|---|---|---|
API_KEY |
YOUR_API_KEY |
Replace YOUR_API_KEY with your actual API key provided in "Account Settings", under the API section |
โ Yes |
QUERY |
boot |
Fixed value: must be "boot". |
โ Yes |
VMID |
YOUR_VMID |
The VMID of your VPS. Retrieve it from the List All VPSes API Call. | โ Yes |
YOUR_API_KEY, QUERY & YOUR_VMID are valid:{"query_status": "Success", "query": "boot", "query_result": "Success, Task Added. Please wait for 1-2 minutes for it to complete."}
API_KEY, QUERY, or VMID are invalid:{"query_status": "Error", "query": "", "query_result": ""}
If you prefer to use another language or environment, here are examples for PHP, Python and Node.js:
โ๏ธ Install (only once): Required to install necessary libraries before running the code.
โ๏ธ Install (only once): Required to install necessary libraries before running the code.
Need help? Visit our Support Portal or reach out via our live chat.