API / Getting started / API tokens

API tokens

An API token is a key for a bot or a script. With it, a program does what you do in the panel: reads your servers, restarts them, sends console commands, renews rentals. Your password never leaves your hands.

Creating a token

Account menu → Settings → the API tokens tab.

The API tokens tab

  1. Connect to AI — a token with a ready-made set of scopes for an AI assistant, see AI assistants (MCP).
  2. Create token — a new token from scratch.
  3. The token card: scopes, projects, expiry, when it was last used and how much it has spent.
  4. Edit the scopes and limits, or revoke the token (bin).

A token is created in two steps.

Step 1. Name and access

Step 1: name and access

  1. The form steps — you can switch between them.
  2. Name — something you'll recognise, like "Discord bot" or "CI deploy".
  3. Expires — 30, 90 or 365 days, or never.
  4. Projects — all or selected only. On a selected project you can click Pick services and let the token reach only specific servers.
  5. Allowed IPs — one per line, CIDR ranges work. Empty means any address.

Click Next.

Step 2. Scopes

Step 2: scopes and spending limit

  1. A group's switch turns on its main scopes.
  2. Configure expands the group's individual scopes.
  3. Dangerous scopes — spending the balance, deleting projects and services — are highlighted in red and aren't turned on by the group switch: you tick them by hand.
  4. Spending limit — appears once billing:spend is ticked.
  5. Create.

Token created

After creating it, copy the token with the Copy button.

The token is shown once. We keep only its fingerprint and can't show it again. Lost it? Revoke it and make a new one.

Every new token sends you an email, and a Telegram message if Telegram is linked. If you didn't create it, revoke it and change your password.

Scopes

GroupScopeAllows
Accountaccount:readProfile, balance, summary, referral programme
account:writeChanging the profile, language and notification settings
Billingbilling:readPayment and purchase history
billing:topupCreating top-up links (you pay them yourself)
billing:spendSpending the balance: renting, renewing, changing plans
Projectsprojects:readListing projects
projects:writeCreating and renaming projects
projects:deleteDeleting projects
projects:membersAdding and removing members
Serversservers:readServices, status, usage, startup, backups, tasks
servers:powerStart, stop, restart
servers:manageRename, reinstall, port, IP, startup parameters
servers:consoleConsole connection and commands
servers:filesReading and writing server files (configs, plugins)
servers:accessServer access and SFTP details
servers:cronScheduled tasks
servers:backupsCreating, restoring and deleting backups
servers:deleteDeleting services
FastDLfastdl:read / fastdl:writeReading FastDL / compressing files
Supportsupport:read / support:writeReading tickets / new tickets and replies

A token can never do more than you can. If you're removed from a project, the token loses it too.

Spending limit

billing:spend only comes with a limit: per 24 hours, per 30 days, or both. A purchase that would take the token past it is refused and nothing is charged. What each token has spent shows in the token list.

Projects, IPs and expiry

  • Projects. A token limited to some projects can't see the others or create new ones. If specific services are selected in a project, the token sees only those and changes nothing at the project level.
  • IP addresses. One address or CIDR range per line. Requests from anywhere else are refused.
  • Expiry. 30, 90 or 365 days, or never. An expired token simply stops working.

What a token can't do

Signing in and out, sessions, changing your password or email, two-factor, passkeys, linking Telegram, deleting the account and managing tokens themselves — all of that stays with you, in the browser.

Next: the API overview, errors and status codes and the method reference.