Getting startedLimits and errors

Limits and errors

Rate limits, request size and the API error format.

Rate limits

LimitValue
Requests per token60 per minute
Requests per organisation300 per minute
Requests per IP address120 per minute

When a limit is exceeded the API returns 429 Too Many Requests. Wait a moment and try again.

Request size

A request body can be up to 64 KB. A larger body returns 413 with Request body too large.

Status codes

StatusMeaning
200OK. Also returned for deletes, and for dry runs.
201Created by a create endpoint.
400The body is not a JSON object
401The token is missing, invalid, disabled or expired
403The token does not have the permission this endpoint needs
404Unknown endpoint, or the record was not found
413Request body over 64 KB
422Validation failed, or the change is not allowed
429Rate limit reached
503Organisation integrations are turned off

Error format

Errors are returned as JSON and always include a message.

A validation error returns 422, with every problem by field in errors.

{
  "message": "The first name field is required.",
  "errors": {
    "first_name": ["The first name field is required."]
  }
}

Tool errors return 404 only when the message ends in "not found". Any other tool error returns 422.