Skip to main content

Overview

The Zarna backend is organized into 25+ routers, each handling a specific domain of functionality. Location: api/app/routers/

Router Organization

CRM Routers

companies.py

Company CRUD, search, analytics

contacts.py

Contact management and relationships

deals.py

Deal pipeline and forecasting

interactions.py

Meetings, calls, email tracking

financials.py

Financial records and metrics

notes.py

Notes and observations

File Management Routers

files.py

File upload, processing, extraction

drive.py

Google Drive integration

sharepoint.py

SharePoint integration

egnyte.py

Egnyte file management

basecamp.py

Basecamp project integration

Communication Routers

emails.py

Email tracking and history

email_bot.py

Automated email handling

calendar.py

Google Calendar integration

AI & Analytics Routers

reports.py

AI-powered report generation

sourcing.py

AI company sourcing with Exa

agentic_chat.py

Multi-agent chat system

prompts.py

AI prompt operations

Management Routers

users.py

User management

firms.py

Firm management

staffing.py

Team staffing and workload

utilities.py

Utility endpoints

chat_history.py

Chat conversation history

meeting_interactions.py

Meeting analysis and export

Router Structure

Standard Pattern

Router Registration

Main Application

OpenAPI Tags

Routers are organized with tags for documentation:

Next Steps

API Reference

Explore all endpoints

Backend Overview

Backend architecture

Authentication

JWT middleware