Skip to Content
API ReferenceError Handling

Error Handling

The API uses standard HTTP status codes and returns errors as JSON.

Error Format

{ "error": "Description of the error" }

For validation errors, additional details are included:

{ "error": "Invalid input", "details": [ { "path": ["expiresAt"], "message": "expiresAt must be in YYYY-MM-DD format" } ] }

Status Codes

CodeMeaning
200Success
201Created
204Deleted (no content)
400Bad request — invalid input or missing fields
401Unauthorized — missing, invalid, or expired API key, or plan without API access
404Not found — item does not exist or belongs to a different workspace
429Rate limit exceeded — wait and retry
503Maintenance mode — the platform is temporarily unavailable (includes Retry-After header)
Last updated on