API Reference Directory
Welcome to the API Reference section of the MetaPilot documentation. This section covers REST API design, JWT authentication, OpenAPI schema generation, endpoint reference, and WebSocket event protocols.
Contents
- REST API Overview: API standards, OpenAPI 3.0 / Swagger integration (), versioning, and error payloads.
drf-spectacular - Authentication & JWT: JWT token flow, refresh logic, headers, and RBAC permission checks.
- REST API Endpoint Reference: Complete endpoint documentation for Auth, Tenants, Agencies, Users, Campaigns, Templates, Notifications, Audit Logs, and Dashboard.
- WebSocket Protocol Specification: WebSocket connection protocol (), event frames, and heartbeat specs.
/ws/inbox/<tenant_id>/