Login WAGateway
Masuk dengan API Key untuk mulai
Belum punya API Key? Generate di server:
cd /var/wagateway docker compose exec api-gateway npm run bootstrap
Buat Session Baru
Buat session WhatsApp baru lalu scan QR.
Sessions Aktif
Daftar session ter-register. Auto-refresh tiap 5 detik.
Scan QR Code
Menunggu QR…
Menyiapkan…
Cara scan
- Buka WhatsApp di HP
- Menu → Linked Devices → Link a Device
- Scan QR di atas
QR refresh otomatis tiap ~5 detik. Status update real-time.
Kirim Pesan
Kirim text, gambar, dokumen, atau lokasi via session ter-connect.
Register Webhook Baru
Daftarkan endpoint untuk menerima event WAGateway.
Webhook Terdaftar
Test, atau hapus webhook yang sudah di-register.
API Documentation
Quick reference untuk endpoint utama WAGateway.
Base URL
https://wa.monbil.id/api/v1
Auth Header
X-API-Key: wag_live_...
Send Text Message (cURL)
curl -X POST https://wa.monbil.id/api/v1/sessions/SESSION_ID/messages/text \
-H "X-API-Key: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"to":"628123456789","text":"Halo!"}'
Endpoints utama
- SessionsPOST/GET /sessions, GET /sessions/:id/qr, /status, /switch-engine
- Messagingtext, image, video, audio, document, location, contact-card
- Groupscreate, list, members, promote/demote, invite-link
- Contactscheck, batch-check, profile-pic, presence
- WebhooksCRUD + test + replay deliveries
- Broadcastsubmit job, pause/resume/cancel, retry-failed
- Authlogin, refresh, keys management
Full spec: /var/wagateway/docs/03-API-SPECIFICATION.md