Error handling and status codes
Standard response codes and how to interpret error payloads.
Our API uses conventional HTTP status codes.
Success codes
- 200 OK — the request succeeded.
- 201 Created — a new resource was created.
- 204 No Content — the request succeeded with no body.
Error codes
- 400 Bad Request — the request was malformed.
- 401 Unauthorized — authentication missing or invalid.
- 403 Forbidden — you don't have access to the resource.
- 404 Not Found — the resource doesn't exist.
- 429 Too Many Requests — you've hit a rate limit.
- 500 Internal Server Error — something went wrong on our side.
Error format
Errors return a JSON body with a code and a human-readable message to help you debug.