Developers

Automate ScalPanel with its HTTP API, alert webhooks, AI assistants (MCP), billing modules and plugins.

Everything the panels do goes through one HTTP API. You can call the same API from your own scripts, connect an AI assistant to it, or let a billing system drive it. This section explains how.

Where to start

You want toRead
Call the API from a scriptAuthentication, then API reference
Call the API from Python, PHP or TypeScriptAPI clients (SDKs)
Get alerts in your own system or a chat channelWebhooks
Let an AI assistant manage hostingAI assistants (MCP)
Sell hosting from WHMCS or BlestaBilling modules
Publish a WordPress plugin, theme or site templatePlugins

The basics in one minute

  • The API lives under /v1/ on both panel addresses: the hosting panel (port 2083) and the admin panel (port 2087).
  • Scripts authenticate with a personal API token: Authorization: Bearer $SCALPANEL_TOKEN.
  • A token never holds more than its owner. You choose its scopes and lifetime when you create it.
  • Requests and responses are JSON. Errors use the standard problem details format with a stable code.
  • You only ever see your own tenant and the tenants below it. Anything else answers 404.

Note: Every change made with a token is recorded in the activity (audit) log, marked as done with a token.