Creating API tokens
How to create and manage API tokens for connecting other software to JSOPanel.
An API token lets another piece of software, a billing system, a custom script, or an AI assistant, communicate with your JSOPanel server to perform actions automatically, without needing a full panel login. You control exactly what each token is allowed to do.
Creating a token
- Click MCP & API tokens in the sidebar, then the API tokens tab.
- Under "Make a token", give it a name that describes what it's for, such as "Billing system" or "Support automation".
- Optionally set how many days it should keep working before it stops on its own; 0 means it never expires on its own.
- Tick a box for each thing you want this token to be allowed to change, for example creating accounts, suspending them, managing domains, or working with mail or databases. Leave every box unticked for a token that can only read, which is enough for a billing system until it needs to start creating accounts.
- Optionally list which addresses the token may be used from, under "Usable from". Leave it empty to allow any address.
- Click Make the token, and copy the value shown right away. This is the only time the full value is displayed.
Choosing permissions carefully
Give each token only the permissions it actually needs. A token can never do more than the account that made it, and it may make up to 1000 requests a minute.
Reviewing, editing, and revoking tokens
Your API tokens tab lists every token you've created, what it may change, which addresses it's usable from, and when it was last used. Press Edit on a row to change its permissions or address restriction, or Revoke to stop it working immediately. A revoked token can be removed from the list with Delete, though it's already stopped working the moment it was revoked.
Where tokens are used
See the articles on connecting a billing system and connecting an AI assistant for specific examples of what a token might be used for.