Skip to content
Home
Business OS Blog How it works Hosting Compare
Language
العربية Coming soon
বাংলা Coming soon
Dansk Coming soon
Deutsch Coming soon
Español Coming soon
Suomi Coming soon
Français Coming soon
עברית Coming soon
हिन्दी Coming soon
Magyar Coming soon
Bahasa Indonesia Coming soon
Italiano Coming soon
한국어 Coming soon
Latviešu Coming soon
Nederlands Coming soon
Norsk Coming soon
Polski Coming soon
Português Coming soon
Српски Coming soon
Svenska Coming soon
Türkçe Coming soon
Українська Coming soon
中文 Coming soon
Currency

Errors and limits

Answers are JSON. A failure always says what went wrong in a sentence you can show a person.

How answers look

Requests
Send JSON bodies with Content-Type: application/json.
Responses
JSON, except the browser endpoints, which answer in plain text.
Paths
File paths start at the site's home folder, never the server's root.
Time
Timestamps are ISO 8601 in UTC. File times are Unix seconds.
Long jobs
Council turns and backups answer 202 with something to check back on.

Errors

StatusCodeMeans
400bad_requestThe request could not be read. Send JSON with Content-Type: application/json.
401unauthenticatedNo key, a malformed key, or a revoked or expired one.
403missing_scopeThe key does not have the scope this endpoint needs. Also returned when the business's own Permissions page switches the action off (reason: permission).
404not_foundNo such business, service or record on this account, or outside the key's businesses. We never confirm that something exists on another account.
409conflictThe business is read-only, asleep, or has no running server (see reason).
422validationA field is missing or wrong. message says what, and errors lists each field.
429rate_limitedToo many requests for this key this minute. Wait Retry-After seconds.
502upstreamA server behind the business (the mail server, the container) did not answer properly. Safe to retry.

An error looks like this:

{
    "ok": false,
    "error": "This API key does not have the \"dns:write\" scope.",
    "code": "missing_scope",
    "scope": "dns:write"
}

Rate limits

Each key has its own limit, chosen when you make it: 60, 120, 300 or 600 requests a minute. Running a tool is held to 40 a minute and starting a council turn to 20. Every answer says where you stand.

X-RateLimit-Limit
Requests this key may make each minute.
X-RateLimit-Remaining
How many are left this minute.
Retry-After
After a 429, how many seconds to wait.