English
English
Appearance
English
English
Appearance
https://api.repliz.com/public/broadcast/{broadcastId}/recipientList the recipients of a broadcast in the order they are sent, with what happened to each one.
Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Replizbroadcast:read (or broadcast:write)| Parameter | Type | Required | Description |
|---|---|---|---|
broadcastId | string | Yes | ID of the broadcast, the _id from Get Broadcast or the broadcastId from Create Broadcast. |
page | number | Yes | Page to return, starting from 1. |
limit | number | Yes | Items per page, from 1 to 100, for example 50. |
status | string | No | pending, queued, sending, waiting (those three together), sent, skipped, or failed. Every recipient when left out. |
curl -X GET "https://api.repliz.com/public/broadcast/6927e1c2e4b0a1f2c3d4e5f6/recipient?page=1&limit=50" \
-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/6927e1c2e4b0a1f2c3d4e5f6/recipient', {
params: {
page: 1,
limit: 50,
},
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/6927e1c2e4b0a1f2c3d4e5f6/recipient?page=1&limit=50',
{
headers: {
Authorization: `Basic ${credentials}`,
},
},
);
const data = await response.json();
console.log(data);| Field | Type | Description |
|---|---|---|
_id | string | ID of the recipient. |
chatId | string | The chat, see Get One Chat. |
senderId | string | The person on the platform. |
senderName | string | Their name when the broadcast started. |
senderPicture | string | Their picture when the broadcast started. |
order | number | Their place in the sending order, from 0. |
status | string | pending and queued wait for their turn, sending is being sent, then sent, skipped, or failed. |
dueAt | string | When their turn is. |
sentAt | string | When it was sent. Left out until then. |
messageIds | string[] | The messages sent: the text and then the image or video. Also set on a failed recipient whose text went out but whose media didn't. |
reason | string | Why a skipped recipient didn't get it: replied (answered before their turn, with unreplied), window_closed (the 24-hour window closed), disconnected, chat_not_found, account_not_found, or canceled. |
errorMessage | string | What the platform answered for a failed recipient. |
{
"docs": [
{
"_id": "6927e1c2e4b0a1f2c3d4e5f8",
"broadcastId": "6927e1c2e4b0a1f2c3d4e5f6",
"platform": "instagram",
"chatId": "6927e1c2e4b0a1f2c3d4e5f7",
"senderId": "1784140123456789",
"senderName": "Azickri",
"senderPicture": "https://scontent.cdninstagram.com/v/t51.2885-19/azickri.jpg",
"order": 0,
"status": "sent",
"messageIds": ["aWdfZAG1faWQ6..."],
"dueAt": "2026-11-27T08:00:00.000Z",
"sentAt": "2026-11-27T08:00:02.000Z",
"accountId": "680affa5ce12f2f72916f67e",
"userId": "680aff8bce12f2f72916f67a",
"createdAt": "2026-11-27T08:00:00.000Z",
"updatedAt": "2026-11-27T08:00:02.000Z"
}
],
"totalDocs": 1,
"limit": 50,
"page": 1,
"totalPages": 1,
"hasNextPage": false,
"hasPrevPage": false
}{
"code": 404,
"message": "broadcast not found"
}{
"code": 401,
"message": "unauthorized"
}