Simple and elegant WhatsApp API Gateway. Send messages, images, and documents programmatically with ease.
Connect multiple WhatsApp accounts simultaneously
High-performance message delivery
Clean and responsive design
curl -X POST http://localhost:5001/send-message \
-H "Content-Type: application/json" \
-d '{"session":"main","to":"6281234567890","text":"Hello!"}'
curl -X POST http://localhost:5001/send-image \
-H "Content-Type: application/json" \
-d '{"session":"main","to":"6281234567890","caption":"Nice!","url":"https://example.com/image.jpg"}'
curl -X POST http://localhost:5001/send-document \
-H "Content-Type: application/json" \
-d '{"session":"main","to":"6281234567890","url":"https://example.com/file.pdf","filename":"doc.pdf"}'
curl -X POST http://localhost:5001/send-bulk-message \
-H "Content-Type: application/json" \
-d '{
"session": "main",
"delay": 1000,
"data": [
{ "to": "6281234567890", "text": "Hello!", "isGroup": false },
{ "to": "6289876543210", "text": "Hi there!", "isGroup": false }
]
}'
data is an array of objects. delay is in
milliseconds (default 1000ms).
curl -X POST http://localhost:5001/send-bulk-image \
-H "Content-Type: application/json" \
-d '{
"session": "main",
"delay": 1000,
"data": [
{ "to": "6281234567890", "caption": "Nice!", "url": "https://example.com/image1.jpg" },
{ "to": "6289876543210", "caption": "Great pic!", "url": "https://example.com/image2.jpg" }
]
}'
session bisa dikirim lewat body, query, atau header.data adalah array berisi objek to, caption, dan
url.delay dalam milidetik (default 1000ms).
curl -X POST http://localhost:5001/send-bulk-document \
-H "Content-Type: application/json" \
-d '{
"session": "main",
"delay": 1000,
"data": [
{ "to": "6281234567890", "url": "https://example.com/doc1.pdf", "filename": "doc1.pdf", "isGroup": false },
{ "to": "6289876543210", "url": "https://example.com/doc2.pdf", "filename": "doc2.pdf", "isGroup": false }
]
}'
data is an array of objects. delay is in
milliseconds (default 1000ms).
6281234567890 (Indonesia),
14155552671 (US)