Endpoint utama: POST /api/bot-wa/run · Fitur
/api/bot-wa/runSingle — teks ke 1 nomor
{
"api_key": "TOKEN",
"action": "send_message",
"data": {
"target": "08123456789",
"text": "Halo"
}
}/api/bot-wa/runBroadcast — banyak nomor + delay random + variable
{
"api_key": "TOKEN",
"action": "broadcast",
"data": {
"target": "081111|Budi,082222|Siti,60123456789|Ahmad",
"text": "Halo {name}, promo spesial untuk Anda!",
"delay": "1-3",
"country_code": "62"
}
}/api/bot-wa/runAttachment (gambar URL)
{
"api_key": "TOKEN",
"action": "send_image",
"data": {
"target": "08123456789",
"image_url": "https://example.com/foto.jpg",
"caption": "Bukti transfer"
}
}/api/bot-wa/runLokasi
{
"api_key": "TOKEN",
"action": "send_location",
"data": {
"target": "08123456789",
"latitude": -6.2088,
"longitude": 106.8456,
"name": "Jakarta"
}
}/api/bot-wa/runWhatsApp Group (pakai group JID)
Group JID didapat dari chat group di WhatsApp (bukan nomor biasa).
{
"api_key": "TOKEN",
"action": "send_message",
"data": {
"target": "1203630xxxxx@g.us",
"text": "Pesan ke group"
}
}/api/bot-wa/runSchedule — pesan terjadwal
{
"api_key": "TOKEN",
"action": "schedule",
"data": {
"target": "08123456789",
"text": "Reminder meeting",
"send_at": "2026-08-14T10:00:00.000Z",
"image_url": ""
}
}target Nomor / multi (koma) / group jid / 08xx|Nama
text Isi pesan, support {name} {var1}
image_url URL gambar
image_base64 Base64 gambar
caption Caption gambar
delay "2" atau "1-5" (random detik antar target)
country_code Default 62; 0 = tidak rewrite; 60 MY, 65 SG, 1 US
latitude, longitude, name Untuk lokasi
contact_group Nama group kontak tersimpan (broadcast)
template_id Pakai template tersimpan
send_at ISO date atau unix (untuk schedule)