Documentation Index
Fetch the complete documentation index at: https://docs.vchata.com/llms.txt
Use this file to discover all available pages before exploring further.
Leads Controller
The Leads Controller provides comprehensive lead management capabilities including lead creation, tracking, pipeline management, conversion tracking, and analytics for the VChata platform.Base Path
Overview
This controller enables complete lead lifecycle management:- 🎯 Lead Creation - Create leads from contacts or social interactions
- 📊 Pipeline Management - Move leads through customizable stages
- 🔄 Conversion Tracking - Track conversions and attribution
- 📈 Analytics - Comprehensive lead analytics and reporting
- 🎭 Activity Tracking - Log and track lead interactions
- 🔗 Social Integration - Connect leads to social media interactions
Authentication & Authorization
- 🔐 All endpoints require valid JWT authentication token
- 🏢 All operations are scoped to the user’s current organization
- 👥 Organization membership required for all operations
Lead Management
Create Lead
Create Lead with Contact
Get All Leads
Get Lead Details
Update Lead
Delete Lead
Lead Activities
Add Lead Activity
Pipeline Management
Move Lead to Stage
Conversion Management
Convert Conversation to Lead
Analytics
Get Lead Statistics
Get Source Analytics
Get Campaign Analytics
Get Pipeline Analytics
Error Responses
Common Errors
Lead Status Values
- NEW - Recently created lead
- QUALIFIED - Lead has been qualified as a potential customer
- CONTACTED - Initial contact has been made
- CONVERTED - Lead has been converted to a customer
- LOST - Lead is no longer viable
Integration Features
- 🔗 Social Media Integration - Connect leads to social media interactions
- 📊 UTM Tracking - Track marketing campaign effectiveness
- 🎯 Attribution - Track lead sources and conversion paths
- 📈 Real-time Analytics - Live updates on lead performance
- 🔄 Pipeline Automation - Automatic stage progression rules
- 📧 Activity Tracking - Complete interaction history
- 🎭 Custom Fields - Extensible lead data structure