Status
—
—
Auto-Reply Rules
—
rules aktif
Server
Online
localhost:3000
⚙️ Konfigurasi Webhook
🔑 Ganti API Key
API Key Aktif
—
📱 Status Perangkat
Mengambil data...
ℹ️ Info Koneksi
Scan QR dengan aplikasi WhatsApp di HP kamu.
1. Buka WhatsApp → Menu (⋮) → Perangkat tertaut
2. Tap "Tautkan perangkat"
3. Scan QR di kiri
⚠ QR expired dalam ~60 detik. Klik Refresh jika QR hilang.
📤 Kirim Pesan Tunggal
💡 Format Nomor
✓ 08123456789
✓ 628123456789
✓ +628123456789
Prefix 0 otomatis dikonversi ke 62
📋 WhatsApp Formatting
*teks* → bold
_teks_ → italic
~teks~ → strikethrough
```teks``` →
monospace📡 Blast Pesan ke Banyak Nomor
Preview: 0 nomor
Nomor akan tampil di sini...
Mengirim...
🤖 Rules Aktif
➕ Tambah / Update Rule
💻 Kirim Pesan dari PHP
// sendWA() helper — cocok untuk webhook.php
function sendWA(string $to, string $message): bool {
$ch = curl_init('http://localhost:3000/api/send');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 10,
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
'X-Api-Key: ' . WA_GATEWAY_KEY,
],
CURLOPT_POSTFIELDS => json_encode([
'phone' => $to,
'message' => $message,
]),
]);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
return !empty($res['success']);
}
📡 Endpoint Reference
GET /api/status
Status koneksi + QR image
No auth required
POST /api/send
Kirim pesan ke satu nomor
X-Api-Key required
POST /api/blast
Kirim ke banyak nomor
X-Api-Key required
GET /api/auto-replies
List semua auto-reply rules
X-Api-Key required
POST /api/auto-replies
Tambah/update rule
X-Api-Key required
DELETE /api/auto-replies/:kw
Hapus rule by keyword
X-Api-Key required
POST /api/logout
Logout WhatsApp session
X-Api-Key required