API tokens
API tokens let scripts and tools (deploy, CI, monitoring) use the panel's API without your password. Each token only reaches the features you choose, can expire, and can be limited to certain IP addresses. Only the account owner can manage API tokens.
Creating a token
Open Settings and scroll to API tokens.
Click Create token. The Create API token dialog opens.
Fill in the form:
Field Notes Name Where the token is used, e.g. "GitHub Actions deploy". Access For each feature group: No access, Read only, or Read & change. Choose at least one. The groups are the same as for panel users. Expires In 30 days, In 90 days (default), In 1 year, or Never. Only from these addresses (optional) IPs or CIDR ranges, one per line, e.g. 203.0.113.0/24. Empty means any address.Click Create token.
The Token created dialog shows the token, which starts with
mcct_. Copy it now: it is shown only once. Then click I have saved it.
If the token is lost, revoke it and create a new one. An account can have at most 20 active tokens.
What tokens can never do
Tokens can never change your panel password, 2FA, package, contact details, or other tokens, and cannot sign in to the panel.
Using a token
Send the token in the Authorization header to the client panel address (port 2083). The endpoints are the same ones the panel uses:
curl -H "Authorization: Bearer TOKEN" https://panel.example.com:2083/v1/websitesThe X-API-Key: TOKEN header is also accepted.
- The token only works on the client panel address, not on your hosting provider's admin panel.
- It only reaches your own account. Other accounts or websites answer
404. - Changes are refused while the account is suspended.
- Requests count toward the same rate limit as the panel. Repeated wrong tokens are blocked like wrong passwords.
For the API itself, see API v1 overview and the API reference.
The token list
| Column | Shows |
|---|---|
| Name | The token name and its prefix, e.g. mcct_ab12cd34_…. |
| Access | One label per feature group; read-only groups are marked read. Only from lists the allowed addresses. |
| Last used | When the token was last used, or Never. |
| Expires | The expiry date, or Never. |
| Status | Active, Expired, or Revoked. |
Revoking a token
Click Revoke on the token row and confirm. Scripts using it stop working immediately. Revoke a token right away if it may have leaked.
Activity log
Actions made with a token are recorded in the audit log under the token's prefix, so you can tell them apart from actions in the panel.
