The JSON REST API connects your billing system, portal, or automation to your own HudsonPanel server. This reference follows release 1.31.39; consult Security → API Help and the OpenAPI document on the installed server for its exact endpoint set.
Start with the first-connection walkthrough. Send Authorization: Bearer YOUR_API_KEY over HTTPS from an allowed IP. Never send a real key to hudsonpanel.com or publish it in a browser application.
Permission choices
Choose Full Access for all current and future API options, or Choose API Access for only the following groups your integration requires.
| Panel choice | Scope | Allows |
|---|---|---|
| View accounts | accounts.read | Read account inventory and configuration. |
| Manage accounts | accounts.manage | Create, suspend, activate, change, and terminate accounts. |
| View plans | plans.read | List active hosting plans. |
| View usage | usage.read | Read account storage, quota, and usage. |
| View DNS | dns.read | Read managed zones and records. |
| Manage DNS | dns.manage | Create zones and add or remove records. |
| View databases | databases.read | List account databases. |
| View email | email.read | Read mailbox addresses and status, without passwords. |
| View server status | server.read | Read server health, resources, and services. |
| Website deployments | deployments.manage | Upload, publish, inspect, and restore deployments. |
First read-only endpoints
| Method and path | Permission | Result |
|---|---|---|
GET /api/v1/status | Any valid key | Authentication and panel availability. |
GET /api/v1/plans | plans.read | Active hosting plans. |
GET /api/v1/accounts | accounts.read | Accounts visible to the credential. |
Installed reference and OpenAPI schema
On your own panel hostname, open /admin/help/api while signed in as an administrator. Use https://panel.example.com/api/v1/openapi.json, with your real hostname in place of the example, for the machine-readable schema. The installed reference includes the supported provisioning, DNS, and deployment routes; their permissions are separate from this read-only first connection.
Use a separate key for each integration. Review allowed IPs with Manage IPs and disable a credential using Revoke in API Access.
