Error Handling
The API uses standard HTTP status codes and returns error details in the response body.Error Response Format
HTTP Status Codes
| Status Code | Meaning |
|---|---|
200 | Success |
201 | Created |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
429 | Rate Limit Exceeded |
500 | Internal Server Error |
Common Error Codes
- UNAUTHORIZED: Invalid or missing authentication
- FORBIDDEN: Insufficient permissions
- NOT_FOUND: Resource not found
- VALIDATION_ERROR: Request validation failed
- RATE_LIMIT_EXCEEDED: Rate limit exceeded
Scope: Tenant-scoped; requires authenticated org context
Availability: Not available in SuperAdmin
Availability: Not available in SuperAdmin