API Documentation
Comprehensive REST API with 110+ endpoints for content management, AI services, and more. Built with FastAPI, featuring automatic OpenAPI documentation and interactive testing.
Quick Start
Get started with the Cognitor CMS API in minutes
1. Authentication
2. Make API Calls
Base URL: https://backend.cognitor.dev
API Categories
Explore our comprehensive API organized by functionality
Authentication
JWT-based authentication system with secure token management
Key Features:
Content Management
Complete content lifecycle management with versioning and publishing
Key Features:
Media & AI Generation
AI-powered media generation and editing with FLUX and OpenAI
Key Features:
AI Services
Advanced AI capabilities for content creation and optimization
Key Features:
Search & Analytics
Elasticsearch-powered search with real-time analytics
Key Features:
User Management
Comprehensive user and site management with role-based permissions
Key Features:
Billing & Transactions
Credit system with transparent pricing and usage monitoring
Key Features:
Public API
Public endpoints for content delivery and website integration
Key Features:
API Features
Built with modern standards and best practices
Security
- • JWT Bearer authentication
- • Role-based access control
- • Rate limiting & monitoring
- • Input validation & sanitization
Performance
- • Redis caching layer
- • Configurable timeouts
- • Optimized database queries
- • Async/await operations
Developer Experience
- • Interactive Swagger UI
- • Comprehensive error handling
- • Detailed response schemas
- • Code examples & SDKs
Documentation Resources
Everything you need to integrate with our API
Need help? Check out our comprehensive API documentation athttps://backend.cognitor.dev/docs
for interactive testing and detailed endpoint information.