Project Overview
Developed a highly scalable, multi-tenant WhatsApp automation platform similar to WATI. This platform enables businesses to send automated notifications, manage customer contacts, and run bulk messaging campaigns in real-time. The backend is powered by Laravel (PHP), handling user subscriptions, billing, APIs, and analytics, while a robust Node.js service manages WhatsApp instances and Puppeteer-driven sessions.
Core Features & Capabilities
The system is designed with strict multi-user data isolation, credit-based rate limiting, and queue-based message processing to ensure high deliverability and system stability under heavy load.
Key Modules
- Multi-tenant SaaS Panel (Laravel)
- Live Chat Inbox for Agents
- QR-based Instance Authentication
- Reseller & Multi-level User Hierarchy
Technical Highlights
- Node.js API (whatsapp-web.js)
- Queue-based Bulk Campaigns
- Real-time Webhook Status Tracking
- Credit-based Billing & Top-ups
Technical Specifications & API Documentation
The API server operates on Node.js, Express, and Puppeteer, handling sessions and messaging through a secure instance structure. Below are the key endpoints integrated with the Laravel backend.
| Endpoint | Method | Description |
|---|---|---|
/start-session |
POST | Start instance and generate QR for login |
/qr/{instance_id} |
GET | Retrieve the active login QR code (Base64) |
/status/{instance_id} |
GET | Check status (connected, starting, disconnected) |
/send |
POST | Send a standard text message to a number |
/send-media |
POST | Send images, documents, audio, or video files |
/send-bulk |
POST | Queue campaigns for multiple phone numbers |