Skip to content

Get One Broadcast ​

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

Retrieve one broadcast. Ask again while status is process to follow its counts.

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.

Example Request ​

bash
curl -X GET "https://api.repliz.com/public/broadcast/6927e1c2e4b0a1f2c3d4e5f6" \
  -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', {
  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', {
  headers: {
    Authorization: `Basic ${credentials}`,
  },
});

const data = await response.json();
console.log(data);

Response ​

The same fields as an item of Get Broadcast.

json
{
  "_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"
}
json
{
  "code": 404,
  "message": "broadcast not found"
}
json
{
  "code": 401,
  "message": "unauthorized"
}