API Reference
This section provides detailed information about all available API endpoints.
Endpoints
Content Management
Chat
Response Format
All API responses follow a standard format:
{
"success": true,
"data": {},
"error": null
}Or in case of an error:
{
"success": false,
"data": null,
"error": {
"message": "Error description",
"details": "Additional error details (if any)"
}
}Authentication
All authenticated endpoints require a Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_KEYError Handling
Common HTTP status codes:
| Status Code | Description |
|---|---|
| 200 | Success |
| 304 | Not Modified - Resource hasn’t changed |
| 400 | Bad Request - Invalid input parameters |
| 401 | Unauthorized - Missing or invalid authentication |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Resource doesn’t exist |
| 409 | Conflict - Resource already exists |
| 500 | Server Error - Something went wrong on our end |
| 503 | Service Unavailable - Temporary server issue |