Skip to content

Token

The API token in use.

Operations

OperationRequest
Get the token in use GET /v1/token
Revoke the token in use DELETE /v1/token

The ApiToken object

The API token making the request: its name, scopes, server and IP limits, expiry and rate limits. Never its secret.

FieldType and description
id

string

The token's id.

name

string

The name the token was given in the panel.

tokenStart

string

The token's first 8 characters (rfp_ and 4 more), to recognise it.

tokenLast4

string

The token's last 4 characters.

scopes

array of strings

What the token may do. Each operation lists the scopes it needs.

Known values: account:readservers:readservers:writeservers:createservers:resizeservers:deletesites:readsites:writesites:createsites:deletesites:filesbilling:readbilling:writesupport:readsupport:writeevents:readwebhooks:readwebhooks:write More can appear.

allServers

boolean

Whether the token reaches every server of the account, including servers added later.

serverIds

array of strings

The only servers the token reaches (and their sites), when allServers is false. Empty when allServers is true.

ipAllowlist

array of strings

The IP addresses and ranges the token may be used from. Empty: any address.

expiresAt

string or null An ISO 8601 time, in UTC

When the token stops working. null: it doesn't expire.

createdAt

string An ISO 8601 time, in UTC

When the token was made.

lastUsedAt

string or null An ISO 8601 time, in UTC

When the token was last used (updated at most every few minutes). null: never.

rateLimits

object

The token's rate limits, with any change support made for the account included. Each answer's RateLimit headers say how much is left.

readPerMinute

integer

Reads (GET and HEAD requests) the token may make per minute.

writePerMinute

integer

Changes (POST, PUT, PATCH and DELETE requests) the token may make per minute.

heavyPerMinute

integer

Requests per minute to operations that wait for a server or a service while you wait (file operations, tools, graphs, DNS checks).

perHour

integer

Requests of every kind the token may make per hour.

concurrent

integer

Requests the token may have in progress at the same time.

Example

The ApiToken object
{
  "id": "0b9f2c1e-5d0b-4b53-9a7e-2f1a3a6d7b11",
  "name": "deploy-bot",
  "tokenStart": "rfp_3kTq",
  "tokenLast4": "a1B2",
  "scopes": [
    "servers:read",
    "sites:read",
    "sites:write"
  ],
  "allServers": true,
  "serverIds": [],
  "ipAllowlist": [
    "203.0.113.0/24"
  ],
  "expiresAt": "2027-02-16T08:46:49.000Z",
  "createdAt": "2026-11-18T08:46:49.000Z",
  "lastUsedAt": "2026-11-18T09:12:03.000Z",
  "rateLimits": {
    "readPerMinute": 120,
    "writePerMinute": 30,
    "heavyPerMinute": 20,
    "perHour": 3000,
    "concurrent": 4
  }
}

Popular

API docs