API reference
Common response codes
Last updated
Failed and error responses include a code that identifies the reason for the result. Codes are case-sensitive lowercase strings. Successful responses do not include a code.
The common responses are described below. For request-specific responses, look at the relevant endpoint in this documentation.
Successful responses
The request was processed successfully. These responses use result rather than a code.
| HTTP status | Result | Description |
|---|---|---|
| 200 | success | Successful request |
| 207 | multi | Bulk response containing an individual result for each item |
Fail codes
The request failed for reasons described in the JSON body
| HTTP status | Code | Condition |
|---|---|---|
| 401 | unauthorized | Authentication failed |
| 403 | forbidden | Insufficient permissions to access this resource |
| 404 | not_found | Resource does not exist |
| 405 | method_not_allowed | Method not allowed |
| 422 | validation_failed | Input validation error, including missing required fields |
| 429 | too_many_requests | Too many requests |
Error codes
The request failed due to a system error or maintenance.
| HTTP status | Code | Condition |
|---|---|---|
| 500 | error | System error has occurred |
| 503 | maintenance_mode | Maintenance mode enabled |