VChata Backend API
Welcome to the VChata Backend API documentation. VChata is a comprehensive AI-powered social media automation platform that helps businesses manage their social media presence, engage with leads, and automate marketing campaigns.Overview
The VChata Backend API provides a complete set of endpoints for:- Authentication & User Management - Secure user registration, login, and organization management
- AI-Powered Automation - Intelligent conversation handling, prompt templates, and AI agents
- Social Media Integration - Connect and manage Facebook, Instagram, and other social platforms
- Lead Management - Track, nurture, and convert leads through automated pipelines
- Content Management - Create, schedule, and analyze social media content
- Billing & Subscriptions - Handle payments, credits, and subscription management
- Analytics & Reporting - Comprehensive insights and performance tracking
Base URL
Authentication
All API endpoints require authentication using JWT (JSON Web Tokens). Include the token in the Authorization header:Most endpoints require organization context. Make sure to include the organization ID in the request path or use the appropriate organization-scoped endpoints.
Rate Limits
- Standard endpoints: 100 requests/minute per user
- Analytics endpoints: 20 requests/minute per user
- Payment operations: 10 requests/minute per user
- Webhook endpoints: 500 requests/minute per user
Response Format
All API responses follow a consistent JSON format:Error Handling
The API uses standard HTTP status codes:200- Success201- Created400- Bad Request401- Unauthorized403- Forbidden404- Not Found409- Conflict422- Validation Error429- Rate Limited500- Internal Server Error
Getting Started
- Create an Account - Use the
/auth/signupendpoint to create your account - Authenticate - Login using
/auth/loginto get your JWT token - Set up Organization - Create or join an organization for team collaboration
- Connect Social Accounts - Link your social media accounts via
/social/connect - Create Campaigns - Set up automated campaigns using the campaigns endpoints