HudsonPanel handbook · 6 min read

REST API reference

Permission choices, authentication, and documented read-only endpoints for a first API connection.

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 choiceScopeAllows
View accountsaccounts.readRead account inventory and configuration.
Manage accountsaccounts.manageCreate, suspend, activate, change, and terminate accounts.
View plansplans.readList active hosting plans.
View usageusage.readRead account storage, quota, and usage.
View DNSdns.readRead managed zones and records.
Manage DNSdns.manageCreate zones and add or remove records.
View databasesdatabases.readList account databases.
View emailemail.readRead mailbox addresses and status, without passwords.
View server statusserver.readRead server health, resources, and services.
Website deploymentsdeployments.manageUpload, publish, inspect, and restore deployments.

First read-only endpoints

Method and pathPermissionResult
GET /api/v1/statusAny valid keyAuthentication and panel availability.
GET /api/v1/plansplans.readActive hosting plans.
GET /api/v1/accountsaccounts.readAccounts 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.