📱 WhatsApp API Gateway

Simple and elegant WhatsApp API Gateway. Send messages, images, and documents programmatically with ease.

🔄

Multi Session

Connect multiple WhatsApp accounts simultaneously

Fast & Reliable

High-performance message delivery

🎨

Modern UI

Clean and responsive design

📱 Session Management

1 Create New Session

2 Session Status

Click "Check Active Sessions" to view status

📖 API Reference

Send Text Message

curl -X POST http://localhost:5001/send-message \
  -H "Content-Type: application/json" \
  -d '{"session":"main","to":"6281234567890","text":"Hello!"}'

Send Image

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"}'

Send Document

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"}'

Send Bulk Message

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 }
        ]
      }'
Note: data is an array of objects. delay is in milliseconds (default 1000ms).

Send Bulk Image

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" }
        ]
            }'
Note: session bisa dikirim lewat body, query, atau header.
data adalah array berisi objek to, caption, dan url.
delay dalam milidetik (default 1000ms).

Send Bulk Document

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 }
        ]
      }'
Note: data is an array of objects. delay is in milliseconds (default 1000ms).

Phone Number Format

Use international format without '+' sign: 6281234567890 (Indonesia), 14155552671 (US)