Error Format
Error Response
{
"status": 400,
"success": false,
"message": "Validation failed",
"errors": [
{ "field": "start_time", "message": "start_time must be in the future" }
],
"timestamp": "2025-01-15T10:00:00.000Z"
}
HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Created |
400 | Bad request / validation error |
401 | Unauthorized (invalid or missing token) |
403 | Forbidden (insufficient permissions) |
404 | Resource not found |
409 | Conflict (e.g., double booking) |
422 | Unprocessable entity |
429 | Rate limit exceeded |
500 | Internal server error |
Next Steps
- Pagination — List endpoints
- Idempotency — Safe retries