Skip to content

API reference

Aether Panel is driven by an HTTP API: the web client uses it, and so can scripts, bots and billing systems. This page is the entry point. Each area has its own page with a route table at the top and the details (body, query, response, errors) below.

The product is called Aether Panel. The Go module, the binary and some identifiers (cookie skypanel_auth, SKYPANEL_* variables) still use the name SkyPanel.

Everything here was checked against the routes the code registers (internal/web/api, internal/web/auth, internal/web/oauth2, internal/web/daemon). When the generated Swagger page (/swagger/index.html, administrators only) disagrees with this reference, this reference is right: several annotations were corrected in the code but the served Swagger files have not been regenerated yet, and a few still name scopes that do not exist (see Conventions → Swagger).

Page Contents
Conventions Base paths, request and response format, errors, status codes, pagination, headers, CORS, rate limits
Authentication Session cookie, bearer tokens, OAuth2 clients, API keys, the same-origin guard, scopes, /auth/*, /oauth2/token, /api/config
Servers Server list, create, delete, power, console, stats, definition, variables, ports, users, activity, subdomain, clone, transfer, AI, WebSocket
Server content Files, archives, file history, plugins, modpacks, world map, backups, tasks, databases
Accounts and users Your own account (profile, 2FA, OAuth2 clients, SSH keys), user settings, users, roles, access activity
Panel administration Nodes, settings, API keys, templates, game versions, database hosts, extensions, uptime
Provisioning / billing Products and the /api/v1 routes for WHMCS, Paymenter and similar
External transfer Copying a server’s files from another Aether Panel
Daemon The /daemon routes the panel calls on each node

Create an OAuth2 client in Account Settings → OAuth (or with POST /api/self/oauth2), exchange it for a token and send the token as a bearer header. The client acts with all the permissions of your account:

Terminal window
TOKEN=$(curl -s -X POST https://panel.example.com/oauth2/token \
-d grant_type=client_credentials \
-d client_id=CLIENT_ID \
-d client_secret=CLIENT_SECRET | jq -r .access_token)
curl -s -H "Authorization: Bearer $TOKEN" https://panel.example.com/api/servers
curl -s -X POST -H "Authorization: Bearer $TOKEN" https://panel.example.com/api/servers/a1b2c3d4/start

Requests with a bearer token are not affected by the same-origin guard; requests that carry the panel’s cookies are.

Each area below links to the page that documents it.

/auth/login, /auth/otp, /auth/logout, /auth/register, /auth/forgot-password, /auth/reset-password, /auth/reauth, /auth/sso, /auth/challenge, /auth/publickey, /auth/sftp-key (nodes only), /oauth2/token and the public GET /api/config. See Authentication.

/api/servers and /api/servers/:serverId/...: list, create, delete, suspend, rename, definition, variables, port settings, flags, power actions, console, stats, status, query, metrics, crash reports, game version, notifications, users and owner, activity log, subdomain, clone, node transfer, AI (ai/analyze, ai/chat and the assistant’s confirmations ai/chat/confirm). See Servers.

GET /api/servers/:serverId/socket streams the console, stats and status. See Servers → WebSocket.

/api/servers/:serverId/file/*, archive/*, extract/* and file-history. See Server content → Files.

/api/servers/:serverId/plugins and /modpacks. See Server content.

/api/servers/:serverId/map and the signed viewer /api/map-view/.... See Server content → World map.

/api/servers/:serverId/backup/...: list, create (409 ErrBackupLimit past panel.backups.maxPerServer), restore, download, delete. See Server content → Backups.

/api/servers/:serverId/tasks/.... See Server content → Tasks.

/api/servers/:serverId/databases and /databasehosts. See Server content → Databases.

/api/self/... (profile, 2FA, OAuth2 clients, SSH keys) and /api/userSettings. See Accounts and users.

/api/users, /api/roles and the access log /api/activity. See Accounts and users.

/api/nodes/..., including the port check and the network history. See Panel administration → Nodes.

/api/settings/...: values, tests (email, Discord, S3, Cloudflare), license, updates, domain status. See Panel administration → Settings.

/api/settings/apikeys. See Panel administration → API keys.

/api/templates/... and /api/game-versions/:platform. See Panel administration → Templates.

/api/databasehosts/.... See Panel administration → Database hosts.

/api/extensions/... and /api/extension-files/.... See Panel administration → Extensions.

/api/uptime and /api/uptime/:serverId. See Panel administration → Uptime.

/api/provision/products and /api/v1/*. See Provisioning / billing.

/api/servers/:serverId/extransfer/* and the public /api/extransfer/*. See External transfer.

/daemon, /daemon/features, /daemon/system, /daemon/ports, /daemon/network/history, /daemon/servers/status, /daemon/update, /daemon/update-status and /daemon/server/:serverId/..., including the node transfer’s backup copy and scheduler pause/resume routes and the server assistant’s file routes (fs/stat, fs/copy, fs/search). The panel’s status poll (/daemon/servers/status) also carries its notification language in the X-Aether-Notification-Language header. See Daemon.

The previous single-file version of this page also carried internal details that are not part of the HTTP API. They are documented here: