AsterPanel Documentation
API
The API lets you automate creating users, websites, apps and backups.
Creating an API key
- Open Settings → API.
- Click Create API key and choose its permissions.
- 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/websitesScope 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