Error Handling
All errors follow a consistent format. The success field is always false on errors.
Error Format
Error response
{
"success": false,
"error": "Human-readable error message"
}HTTP Status Codes
| Code | Description |
|---|---|
400 | Bad request — invalid input or missing required fields |
401 | Unauthorized — missing or invalid API key |
404 | Not found — resource does not exist |
500 | Server error — something went wrong on our end |