GET
https://api.alatwa.com/broadcast/status/{id}
Headers
| Name | Type | | Description |
| Authorization |
string |
required |
API Key akun Alat WA Anda |
Path Parameters
| Name | Type | | Description |
| id |
string |
required |
Broadcast ID (didapat dari response Create Broadcast). |
Code Examples
curl -X GET https://api.alatwa.com/broadcast/status/9a2c8b7d3e1f5a6c8d9e2f1b3a4c5d6e \
-H "Authorization: YOUR_API_KEY"
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.alatwa.com/broadcast/status/9a2c8b7d3e1f5a6c8d9e2f1b3a4c5d6e');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: YOUR_API_KEY'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
const response = await fetch('https://api.alatwa.com/broadcast/status/9a2c8b7d3e1f5a6c8d9e2f1b3a4c5d6e', {
headers: {
'Authorization': 'YOUR_API_KEY'
}
});
const data = await response.json();
import requests
response = requests.get(
'https://api.alatwa.com/broadcast/status/9a2c8b7d3e1f5a6c8d9e2f1b3a4c5d6e',
headers={'Authorization': 'YOUR_API_KEY'}
)
data = response.json()
Response
200 Success
{
"status": "ok",
"id": "9a2c8b7d3e1f5a6c8d9e2f1b3a4c5d6e",
"summary": {
"total": "1",
"scheduled": "0",
"sent": "1",
"delivered": "1",
"read": "1",
"failed": "0",
"stop": "0"
},
"data": [
{
"message_id": "BAE52XXXXXXXX",
"receiver": "6281234567891",
"status": "Read",
"date_sent": "2024-05-28 14:15:53"
}
]
}
Response Fields
| Field | Type | Description |
| id |
string |
Broadcast ID (sama dengan id yang dikirim di request). |
| summary.total |
integer |
Total recipient di broadcast. |
| summary.scheduled |
integer |
Belum dikirim (masih antri). |
| summary.sent |
integer |
Sudah keluar dari sistem. |
| summary.delivered |
integer |
Sampai HP penerima (centang abu). |
| summary.read |
integer |
Sudah dibaca (centang biru). |
| summary.failed |
integer |
Gagal kirim (nomor invalid / blocked / dll). |
| summary.stop |
integer |
Dihentikan manual. |
| data |
array |
List per-recipient: {message_id, receiver, status, date_sent}. Status: Scheduled / Sent / Delivered / Read / Failed / Stop. |