Response Codes
The Slipcase API uses conventional HTTP response codes to indicate the success or failure of a request.
| Code | Meaning |
|---|---|
200 | OK — Everything worked as expected |
400 | Bad Request — Your request is invalid |
401 | Unauthorized — Your API key is wrong |
402 | Request Failed — The parameters were valid but the request failed |
403 | Forbidden — The API key doesn’t have permissions to perform the request |
404 | Not Found — The requested resource doesn’t exist |
406 | Not Acceptable — You requested a format that isn’t available |
429 | Too Many Requests — Too many requests hit the API too quickly. We recommend an exponential backoff of your requests |
500 | Internal Server Error — We had a problem with our server. Try again later |
503 | Service Unavailable — We’re temporarily offline for maintenance. Please try again later |
Error response format
Section titled “Error response format”Error responses return a JSON body with an error field:
{ "error": "Invalid endpoint"}