Skip to content

Errors and limits

Status codes, rate limits and pagination in the Platform API.

Errors#

Failures use standard status codes and put a readable sentence in error.

JSON
{"success":false,"error":"This key doesn't have the 'apps:write' permission."}

The message is meant for a developer reading a log, not for an end user. Don't show it in your interface as it is.

CodeMeaningWhat happened
400Bad RequestThe body or a parameter is malformed. The message says which field.
401UnauthorizedThe key is missing, invalid, revoked or expired.
403ForbiddenThe key is valid but lacks the scope, or is limited to another workspace.
404Not FoundNo record with that id under this account.
409ConflictThe request is valid but the current state refuses it. Deleting a default workspace, for example.
429Too Many RequestsRate limit reached. Wait for the next minute.
500Server ErrorSomething failed on our side. Safe to retry.

Rate limits#

Each key has a per-minute limit, 600 by default. Going over it returns 429. The window is rolling, so waiting out the current minute is enough.

If you're syncing in bulk, prefer larger pages over more requests. One call at limit=200 costs a quarter of four calls at 50.

GET /me returns the limit of the key you're holding as rate_limit.

Pagination#

List endpoints take page and limit and return total alongside the items.

  • Pages start at 1.
  • limit defaults to 50 and tops out at 200.
  • A larger number is clamped rather than rejected, so check limit in the response if it matters to you.
JSON
{"success":true,"data":{"items":[],"total":128,"page":1,"limit":50}}