Skip to main content
AsterPanel

AsterPanel Documentation

API

The API lets you automate creating users, websites, apps and backups.

Creating an API key

  1. Open Settings → API.
  2. Click Create API key and choose its permissions.
  3. Store the key securely; it is shown only once.

Authentication

Send the API key in the Authorization header of every request.

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://panel.example.com/api/v1/websites

Scope by plan

  • Basic API (Studio): websites, databases and backups.
  • Full API (Agency and above): all resources, including users, mail, DNS and Docker.

Security

  • Grant each key only the permissions it needs.
  • Revoke keys you no longer use.
  • Never commit API keys to public source code.

Need help? Contact support