HomeDocumentationAPI ReferenceCreate Broadcast

Create Broadcast

Buat broadcast WhatsApp ke banyak nomor sekaligus dengan jadwal & jeda otomatis. Mendukung pesan teks, media, dan personalisasi per-recipient. Cocok untuk integrasi Google Sheets, CRM, e-commerce.

POST https://api.alatwa.com/broadcast/create

Headers

NameTypeDescription
Authorization string required API Key akun Alat WA Anda
Content-Type string required application/json

Body Parameters

NameTypeDescription
device string required Device ID dari menu Device di dashboard Alat WA (bukan nomor WA-nya). Pakai "default" untuk device pertama.
title string required Nama broadcast (muncul di dashboard).
date_execute string required Waktu mulai eksekusi, format Y-m-d H:i:s (contoh: 2026-04-30 09:00:00). Wajib diisi.
active_start string optional Jam mulai aktif kirim per hari (H:i:s). Default: 00:00:00.
active_end string optional Jam berhenti kirim per hari (H:i:s). Default: 23:59:59.
interval_from integer optional Jeda min antar pesan (detik). Default: 5. Min: 1.
interval_to integer optional Jeda max antar pesan (detik). Default: 15. Disarankan ≥5 untuk hindari banned.
type string optional "text" atau "media". Default: text.
media_base64 string optional Wajib jika type=media. File gambar/video/PDF dalam Base64.
generate_receiver string optional "yes" = format nomor otomatis ke 62.... Default: no.
receiver array required Array {phone, message} per penerima. Bisa pakai spintax {a|b|c} di message.

🧪 Try It

Body Parameters

Code Examples

curl -X POST https://api.alatwa.com/broadcast/create \ -H "Authorization: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "device": "YOUR_DEVICE_ID", "title": "Promo Lebaran", "date_execute": "2026-04-30 09:00:00", "active_start": "08:00:00", "active_end": "21:00:00", "interval_from": 5, "interval_to": 15, "type": "text", "generate_receiver": "yes", "receiver": [ { "phone": "08123456789", "message": "Halo Budi, ada promo!" }, { "phone": "08987654321", "message": "Halo Sari, ada promo!" } ] }'
$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://api.alatwa.com/broadcast/create'); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'Authorization: YOUR_API_KEY', 'Content-Type: application/json' ]); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch);
const response = await fetch('https://api.alatwa.com/broadcast/create', { method: 'POST', headers: { 'Authorization': 'YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ "device": "YOUR_DEVICE_ID", "title": "Promo Lebaran", "date_execute": "2026-04-30 09:00:00", "active_start": "08:00:00", "active_end": "21:00:00", "interval_from": 5, "interval_to": 15, "type": "text", "generate_receiver": "yes", "receiver": [ { "phone": "08123456789", "message": "Halo Budi, ada promo!" }, { "phone": "08987654321", "message": "Halo Sari, ada promo!" } ] }) });
import requests response = requests.post( 'https://api.alatwa.com/broadcast/create', headers={ 'Authorization': 'YOUR_API_KEY', 'Content-Type': 'application/json' }, json={ "device": "YOUR_DEVICE_ID", "title": "Promo Lebaran", "date_execute": "2026-04-30 09:00:00", "active_start": "08:00:00", "active_end": "21:00:00", "interval_from": 5, "interval_to": 15, "type": "text", "generate_receiver": "yes", "receiver": [ { "phone": "08123456789", "message": "Halo Budi, ada promo!" }, { "phone": "08987654321", "message": "Halo Sari, ada promo!" } ] } )

Response

200 Success
{ "status": "ok", "message": "Broadcast successfully created", "id": "9a2c8b7d3e1f5a6c8d9e2f1b3a4c5d6e" }

Response Fields

FieldTypeDescription
status string "ok" jika sukses, "error" jika gagal.
message string Pesan status.
id string Broadcast ID — simpan untuk cek status broadcast nanti.
← Send Button Broadcast Status →
Footer Ads Info alatwa.com
shape

Tingkatkan Produktivitas Anda Sekarang!

Rasakan sensasi produktivitas yang lebih baik dengan menggunakan Alat WA, Anda tidak perlu membalas secara manual satu persatu karena sudah dihandle oleh robot. Anda cukup follow up customer yang membutuhkan hal spesifik yang tidak bisa dilayani oleh robot.

Anda tidak perlu menyiapkan server, anda hanya perlu berlangganan dan bisa langsung digunakan, cukup scan qrcode whatsapp maka whatsapp anda akan terhubung dengan sistem Alat WA

WhatsApp