Token
The API token in use.
Operations
| Operation | Request |
|---|---|
| Get the token in use | GET / |
| Revoke the token in use | DELETE / |
The ApiToken object
The API token making the request: its name, scopes, server and IP limits, expiry and rate limits. Never its secret.
| Field | Type 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: |
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 |
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. |
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). |
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
{
"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
}
}