Welcome to WhatsApp Gateway
This self-hosted WhatsApp Gateway allows you to manage multiple WhatsApp numbers, send messages, and automate responses.
Getting Started:
- Click "Create New Session" to add a WhatsApp number
- Scan the QR code with your WhatsApp mobile app
- Once connected, you can send messages and set up auto-replies
Select a session to view details
Message Manager
Recent Messages
Select a session to view messages
Auto-Reply Rules
Select a session to view auto-reply rules
API Documentation
Session Management
POST /api/sessions/create
Create a new WhatsApp session
{"sessionId": "session1", "name": "My WhatsApp"}
GET /api/sessions
Get all sessions
Messaging
POST /api/messages/send
Send a message
{"sessionId": "session1", "to": "628123456789", "message": "Hello!"}
GET /api/messages/:sessionId
Get message history
Auto-Reply
POST /api/auto-reply/rules
Create auto-reply rule
{"sessionId": "session1", "keyword": "help", "response": "How can I help you?", "matchType": "contains"}