API:REST API/Status codes

The REST API uses HTTP status codes to indicate the success or failure of a request. A successful request returns a status code in the 200 range; a failed request returns a status code in the 400 or 500 range.

Status codes
See the API reference for status codes specific to each endpoint.

Error responses
4xx and 5xx responses include a JSON response object with information about the error. Here's an example of a 404 error response.