⚡ Sab messages zarur jaayenge — server queue mein process honge. Dashboard band karne se queue nahi rukti.
0 numbers
⏱ — estimated total time for 0 messages
My Groups
WhatsApp groups you are part of
All Groups
Group Name
Group ID
Members
Actions
Click Refresh to load your groups
About Group Messaging
📋
Group JID Format
Format: XXXXXXXXXX@g.us — yeh WhatsApp ka internal group identifier hai
💬
Send to Single Group
Each group ke "Send" button se direct message bhej sakte ho
📢
Broadcast to Multiple
Broadcast tab pe jao — multiple groups select karke ek hi message sabko ek saath bhejo
Broadcast to Groups
Multiple groups mein ek saath message bhejo
Step 1 — Select Groups
Click Reload to load groups
Selected: 0 groups
Step 2 — Message
Max 4096 characters. Same message will be sent to all selected groups.
Anti-Ban Delays (server-enforced)
25s
PER MESSAGE
20
BATCH SIZE
2 min
BATCH REST
⏱ — estimated total time for 0 groups
Message Logs
All sent messages — kisko gaya, kya gaya, kab gaya
—
Total Messages
—
Sent
—
Failed
—
Today
Recent Messages
Time
Type
To
Message
Status
Loading messages...
API Documentation
Send WhatsApp messages programmatically — simple REST API
Quick Start (60 seconds)
Step 1: Get your API key from Settings → API Key Step 2: Add header x-api-key: YOUR_KEY to every request Step 3: POST JSON to base URL endpoints → done!
# Send your first message — copy + paste in terminalcurl -X POST \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"phone":"919876543210","message":"Hello from WA Gateway!"}'
Base URL & Authentication
Base URL
Required Header
x-api-key: YOUR_API_KEY
⚠ Without this header, all requests fail with 401 Unauthorized
📤 Send Messages
POST/send-messageText to a contact
POST/send-mediaImage, PDF, or document to a contact
POST/send-groupText to a group
POST/send-media-groupImage, PDF, or document to a group
POST/send-bulkBulk send to multiple contacts (max 500)
POST/broadcastSame message to multiple groups (max 100)
// Send message to a single group
{
"group_id": "123456789-987654321@g.us",
"group_name": "My Family Group",
"message": "Hello everyone! 👋"
}
// Success response
{ "success": true, "messageId": "ABC123", "group_id": "...@g.us" }
POST /send-media (image / PDF / document)
Parameter
Type
Required
Description
phone
string
Required
Country code + number
type
string
Required
image, document, pdf, or video
media_url
string
One of these
Public URL of the file
media_base64
string
One of these
Base64-encoded file data
filename
string
Optional
Filename (for documents)
mimetype
string
Optional
e.g. application/pdf
caption
string
Optional
Caption text shown with file
// Image via URL (easiest for Apps Script — use public link)
{
"phone": "919876543210",
"type": "image",
"media_url": "https://example.com/photo.jpg",
"caption": "Check this out! 📸"
}
// PDF via base64 (for local files)
{
"phone": "919876543210",
"type": "pdf",
"media_base64": "JVBERi0xLjQKJ...",
"filename": "invoice.pdf",
"caption": "Your invoice"
}
// Same format for groups → use /send-media-group with group_id
functiontestWA() {
var s = waStatus();
Logger.log("Connected: " + s.connected + " | Sent today: " + s.daily_sent);
if(!s.connected) { Logger.log("❌ QR scan karo pehle"); return; }
var r = waSend("919876543210", "Hello! Test from Apps Script 🎉");
Logger.log(r.success ? "✅ Sent!" : "❌ "+r.error);
}
Yeh tumhari personal URL hai — bilkul API key ki tarah auto-generated. External services (Razorpay, Shopify, Forms, Zapier, n8n) is URL pe POST karenge → automatically WhatsApp message bhej dega.
POST to this URL — sends WhatsApp message
Loading...
📨 How to Use
Step 1: Copy the URL above Step 2: Paste in your external service (Razorpay webhook, Shopify, n8n, etc.) Step 3: External service POSTs JSON to URL → WhatsApp message goes out Step 4: If URL leaks, click Regenerate to get a new one
Body Format (flexible field names):
// Send to a phone number
{ "phone": "919876543210", "message": "Hello! New order received 🎉" }
// Send to a group
{ "group_id": "123-456@g.us", "message": "Team update!" }
// Field aliases supported:// phone = to | number | recipient | mobile// message = text | body | content | msg
// cURL examplecurl -X POST YOUR_URL \
-H "Content-Type: application/json" \
-d '{"phone":"919876543210","message":"Hi from trigger URL!"}'
Event Webhook Outgoing
Loading...
Server tumhare URL pe events POST karega — message sent/received/read/delivered/connection status.
When events happen, server POSTs JSON to this URL
If set, each request includes X-Webhook-Signature: sha256=... header
Select which events should trigger your webhook. Leave all unchecked to receive ALL events.
Recent Deliveries
Time
Event
Status
Code
Attempt
Loading...
Webhook Payload Format
// Every webhook request looks like this:
{
"event": "message.received",
"timestamp": "2026-05-14T10:30:00.000Z",
"userId": "usr_abc123",
"data": { /* event-specific data */ }
}
// Headers included with every request:
Content-Type: application/json
X-Webhook-Event: message.received
X-Webhook-Id: wh_abc12345
X-Webhook-Timestamp: 1715680800000
X-Webhook-Signature: sha256=... // only if secret is set