API
  • Welcome to iSlash API Docs
    • Welcome
  • Template Message
    • Send Template Message
    • Get Template Message
  • Session Message
    • Send Session Message
  • Sticker List
    • Get Sticker List
    • Get Sticker Image
  • Message Status (Webhook)
    • WhatsApp Channel
    • Facebook Channel
  • Broadcast Message
    • Send Broadcast Message
    • Get Broadcast
  • Labels
    • Get Labels
    • Attach Label
    • Detach Label
    • Get Customers By Label IDs
  • Schedule Message
    • Send Schedule Message
  • Conversation
    • Assign Conversation To User
    • Unassign Conversation From User
  • User
    • Get Users
Powered by GitBook
On this page
  1. Broadcast Message

Get Broadcast

Get the status of your broadcast message

PreviousSend Broadcast MessageNextGet Labels

Last updated 11 months ago

Sample Response
{
    "meta": {
        "code": "RESP_OKAY",
        "message": "Success",
        "trace_id": "a28d8bd80c5950ce"
    },
    "data": {
        "broadcast": {
            "id": 95,
            "name": "API Broadcast",
            "status": "pending",
            "attach_label": {
                "id": 2,
                "text": "Pending Payment",
                "color": "blue"
            },
            "total_recipients": 2,
            "progress": 0,
            "scheduled_at": 1667793600,
            "started_at": null,
            "ended_at": null,
            "reply_count": {
                "12_hours": 0,
                "24_hours": 0,
                "48_hours": 0
            }
        }
    }
}

The Get Broadcast API is for users to get the status of the broadcast message that is sent via API. The {id} is the broadcast id obtained after calling the Send Broadcast Message API

get
Query parameters
sessionstringRequired

The session key generated by your admin for controlling which channel is allowed to send message across API

Header parameters
X-USER-TOKENstringRequired

The secret key provided by iSlash for accessing the iSlash API platform

Responses
200
Success
application/json
get
GET /api/public/broadcast/{id} HTTP/1.1
Host: {islash_api_endpoint}
X-USER-TOKEN: text
Accept: */*
200

Success

{
  "meta": {
    "code": "text",
    "message": "text"
  },
  "data": {
    "broadcast": {
      "id": 1,
      "name": "text",
      "status": "text",
      "attach_label": {},
      "total_recipients": 1,
      "progress": 1,
      "scheduled_at": 1,
      "started_at": 1,
      "ended_at": 1,
      "reply_count": {}
    }
  }
}