Actions100
- Billing Actions
- DNS Actions
- Domain Actions
- Domain Forwarding Actions
- Domain WHOIS Actions
- Reach Actions
- VPS Actions
- VPS Actions Actions
- VPS Backups Actions
- VPS Data Centers Actions
- VPS Docker Manager Actions
- VPS Firewall Actions
- VPS Malware Scanner Actions
- VPS Post Install Scripts Actions
- VPS PTR Actions
- VPS Public Keys Actions
- VPS Snapshots Actions
- VPS Templates Actions
VPS → Purchase New VPS
AI-generatedOverview
This node operation allows users to purchase a new VPS (Virtual Private Server) through the Hostinger API. It is useful for automating the provisioning of VPS instances with specific configurations such as template, data center, post-install scripts, passwords, hostname, backups, nameservers, and SSH public keys. Practical examples include setting up a new VPS for web hosting, development environments, or testing servers with predefined settings and payment methods.
Use Case Examples
- Automate VPS purchase with specific OS template and data center.
- Set up VPS with custom hostname, root password, and enable backups.
- Purchase VPS using a specific payment method and apply discount coupons.
Properties
| Name | Meaning |
|---|---|
| Request Body | Raw JSON body for the POST request to purchase a new VPS, including item ID, payment method ID, setup details (template ID, data center ID, post-install script ID, password, hostname, Monarx installation flag, backup enable flag, nameservers, and public SSH key), and optional coupons. |
Output
JSON
response- The JSON response from the Hostinger API after purchasing the VPS, containing details about the newly created VPS instance.
Dependencies
- Hostinger API authentication credential
Troubleshooting
- Ensure the JSON in the Request Body is correctly formatted and includes all required fields such as item_id, payment_method_id, and setup details.
- Verify that the payment method ID and item ID are valid and active in the Hostinger account.
- Check for API authentication errors and ensure the Hostinger API credential is correctly configured in n8n.
- If the API returns an error, review the error message in the node output to identify missing or invalid parameters.
Links
- Hostinger API VPS Purchase Documentation - Official documentation for purchasing a new VPS via the Hostinger API.