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 to | Read |
|---|---|
| Call the API from a script | Authentication, then API reference |
| Call the API from Python, PHP or TypeScript | API clients (SDKs) |
| Get alerts in your own system or a chat channel | Webhooks |
| Let an AI assistant manage hosting | AI assistants (MCP) |
| Sell hosting from WHMCS or Blesta | Billing modules |
| Publish a WordPress plugin, theme or site template | Plugins |
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.
AuthenticationCreate a scoped ScalPanel API token, send it as a bearer token, and keep it safe.API referenceConventions of the ScalPanel HTTP API and the main endpoints for accounts, websites, domains, DNS, mail, databases, files and backups.API clients (SDKs)Ready-made clients for the ScalPanel API in Python, PHP and TypeScript, generated from the API contract.WebhooksReceive ScalPanel alerts and account events as signed JSON on your own HTTPS endpoint, or in Slack, Discord or Telegram.AI assistants (MCP)Connect Claude or another MCP client to ScalPanel, choose what it may do, and keep it safe.Billing modulesSell ScalPanel hosting from WHMCS or Blesta with the ScalPanel provisioning modules.PluginsHow the ScalPanel plugin catalog works and how to publish a WordPress plugin, theme or site template in it.