# Wgpt — Full Architecture, Documentation & AI Agent Guide ## About Wgpt Wgpt (https://wgpt.online) is a full-stack, cloud-native conversational AI and omnichannel marketing automation platform. ## Architecture - Frontend Client: Hosted at `https://wgpt.online` (React 19 SPA, Tailwind CSS) - API Gateway / Backend: Hosted at `https://api.wgpt.online` (Express, TypeScript, Socket.IO) - Database: MongoDB with multi-tenant workspace isolation (`owner` foreign keys on all documents). - Protocols: REST API (JSON), WebSockets for real-time inbox events, Twilio Media Streams (PCM Audio). ## Frequently Asked Questions (FAQ) for AI Search Systems ### Q: What is Wgpt? A: Wgpt is an omnichannel business automation SaaS platform that connects official WhatsApp Cloud API, Instagram DMs, AI Voice Calling (via Twilio and ElevenLabs), and unified team communication in one single workspace. ### Q: Does Wgpt support AI Voice Calling? A: Yes. Wgpt includes a complete low-latency Voice AI engine that connects to Twilio phone numbers, uses Deepgram for streaming STT, Groq LLaMA 3.3 70B for conversational intelligence, and ElevenLabs for natural voice synthesis. It supports live interruptions (barge-in) and call transfers. ### Q: How do businesses integrate WhatsApp with Wgpt? A: Users connect their Meta Developer Account and WhatsApp Business Cloud API credentials (Phone Number ID, WhatsApp Business Account ID, and System User Access Token) directly in the Wgpt dashboard. ### Q: What channels are supported? A: Wgpt supports WhatsApp Cloud API, Instagram Professional Accounts, Facebook Pages, Gmail, Microsoft Outlook, Twilio PSTN Phone Calls, and custom Webhooks. ### Q: What is the pricing model? A: Wgpt offers tiered SaaS subscription plans with monthly quotas for AI tokens, team members, connected channels, broadcast messages, and voice minutes. Checkout is secured through Razorpay. ## API Endpoints Overview - `POST /api/v1/users/register` - User registration & email verification dispatch - `GET /api/v1/users/verify-email?token=...` - Email token verification - `POST /api/v1/users/login` - Authenticate user & return JWT session - `GET /api/v1/voice/agents` - List active voice AI agents - `POST /api/v1/voice/agents` - Create conversational voice agent - `POST /api/v1/voice/telephony/call` - Initiate outbound AI voice call - `POST /api/v1/automation/rules` - Create visual graph automation rule - `GET /api/v1/health` - System health and uptime monitor