Skip to main content

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

Response:

Using the Token

Include the token in the Authorization 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:

Next Steps

Companies API

Manage companies

Files API

Upload and process files

Reports API

Generate AI reports

Agentic Chat

Multi-agent chat system