Skip to content

Get Broadcast Recipient ​

GEThttps://api.repliz.com/public/broadcast/{broadcastId}/recipient

List the recipients of a broadcast in the order they are sent, with what happened to each one.

Endpoint Details ​

  • Authentication: Basic Auth (Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Repliz
  • Scope (Bearer only): broadcast:read (or broadcast:write)
  • Access Tier: Premium+

Parameters ​

ParameterTypeRequiredDescription
broadcastIdstringYesID of the broadcast, the _id from Get Broadcast or the broadcastId from Create Broadcast.
pagenumberYesPage to return, starting from 1.
limitnumberYesItems per page, from 1 to 100, for example 50.
statusstringNopending, queued, sending, waiting (those three together), sent, skipped, or failed. Every recipient when left out.

Example Request ​

bash
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)"
javascript
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);
javascript
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);

Response ​

FieldTypeDescription
_idstringID of the recipient.
chatIdstringThe chat, see Get One Chat.
senderIdstringThe person on the platform.
senderNamestringTheir name when the broadcast started.
senderPicturestringTheir picture when the broadcast started.
ordernumberTheir place in the sending order, from 0.
statusstringpending and queued wait for their turn, sending is being sent, then sent, skipped, or failed.
dueAtstringWhen their turn is.
sentAtstringWhen it was sent. Left out until then.
messageIdsstring[]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.
reasonstringWhy 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.
errorMessagestringWhat the platform answered for a failed recipient.
json
{
  "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
}
json
{
  "code": 404,
  "message": "broadcast not found"
}
json
{
  "code": 401,
  "message": "unauthorized"
}