English
English
Appearance
English
English
Appearance
https://api.repliz.com/public/broadcastRetrieve your broadcasts, newest first, with how far each one got.
Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Replizbroadcast:read (or broadcast:write)| Parameter | Type | Required | Description |
|---|---|---|---|
page | number | Yes | Page to return, starting from 1. |
limit | number | Yes | Items per page, from 1 to 100, for example 20. |
accountIds | string[] | No | Only broadcasts of these accounts, as _ids from Get Account. Send each one as accountIds[]=ID. All accounts when left out. |
status | string | No | process, done, or canceled. Every broadcast when left out. |
curl -X GET "https://api.repliz.com/public/broadcast?page=1&limit=20" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"import axios from 'axios';
const response = await axios.get('https://api.repliz.com/public/broadcast', {
params: {
page: 1,
limit: 20,
},
auth: {
username: 'YOUR_ACCESS_KEY',
password: 'YOUR_SECRET_KEY',
},
});
console.log(response.data);const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');
const response = await fetch('https://api.repliz.com/public/broadcast?page=1&limit=20', {
headers: {
Authorization: `Basic ${credentials}`,
},
});
const data = await response.json();
console.log(data);| Field | Type | Description |
|---|---|---|
_id | string | ID of the broadcast. |
platform | string | facebook, instagram, tiktok, or telegram. |
accountId | string | The account it goes out from. |
account | object | That account: _id, name, username, picture, type, and isConnected. null when it was deleted. |
audience | string | unreplied or all, the list the chats were picked from. |
delay | number | Seconds between two messages. |
text | string | The text as it was written, with {name} and spintax. Each recipient gets their own version. |
media | object | type (image or video), url, thumbnail, duration, and mimetype. Left out when it only sends text. |
status | string | process while it sends, done once every recipient was handled, or canceled. |
total | number | Chats it goes to. |
sent | number | Chats that got it so far. |
skipped | number | Chats that were skipped, see reason in Get Broadcast Recipient. |
failed | number | Chats where the platform refused the message. |
finishedAt | string | When it ended. Left out while it sends. |
expiredAt | string | When the broadcast and its recipients are deleted, 30 days after the last send. |
createdAt | string | When it started. |
{
"docs": [
{
"_id": "6927e1c2e4b0a1f2c3d4e5f6",
"platform": "instagram",
"audience": "unreplied",
"text": "{Halo|Hai} {name}, maaf baru sempat balas 🙏 Ada yang bisa kami bantu?",
"delay": 5,
"status": "process",
"total": 120,
"sent": 64,
"skipped": 3,
"failed": 1,
"accountId": "680affa5ce12f2f72916f67e",
"account": {
"_id": "680affa5ce12f2f72916f67e",
"name": "Kopi Kita",
"username": "kopikita.id",
"picture": "https://scontent.cdninstagram.com/v/t51.2885-19/kopikita.jpg",
"type": "instagram",
"isConnected": true
},
"userId": "680aff8bce12f2f72916f67a",
"expiredAt": "2026-12-27T08:10:00.000Z",
"createdAt": "2026-11-27T08:00:00.000Z",
"updatedAt": "2026-11-27T08:05:20.000Z"
}
],
"totalDocs": 1,
"limit": 20,
"page": 1,
"totalPages": 1,
"hasNextPage": false,
"hasPrevPage": false
}{
"code": 401,
"message": "unauthorized"
}