Overview
The Zarna API is a comprehensive REST API built with FastAPI, providing endpoints for CRM operations, document processing, AI-powered analysis, and external integrations.Base URL
Authentication
All API endpoints (except/health) require JWT authentication.
Obtaining an Access Token
Using the Token
Include the token in theAuthorization header:
API Structure
The API is organized into logical domains:CRM
Companies, Contacts, Deals, Interactions, Financials, Notes
File Management
Files, Drive, SharePoint, Egnyte, Basecamp
Communication
Emails, Email Bot, Calendar
AI & Analytics
Reports, Sourcing, Agentic Chat
Request Format
All requests should include:Response Format
Success Response
Error Response
Interactive Documentation
Explore the API interactively:- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
Next Steps
Companies API
Manage companies
Files API
Upload and process files
Reports API
Generate AI reports
Agentic Chat
Multi-agent chat system
