Skip to main content
GET
/
cabinet
/
admin
/
broadcasts
List Broadcasts
curl --request GET \
  --url http://localhost:8080/cabinet/admin/broadcasts
{
  "items": [
    {
      "id": 123,
      "target_type": "<string>",
      "has_media": true,
      "total_count": 123,
      "sent_count": 123,
      "failed_count": 123,
      "status": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "message_text": "<string>",
      "media_type": "<string>",
      "media_file_id": "<string>",
      "media_caption": "<string>",
      "blocked_count": 0,
      "admin_id": 123,
      "admin_name": "<string>",
      "completed_at": "2023-11-07T05:31:56Z",
      "progress_percent": 0,
      "channel": "telegram",
      "email_subject": "<string>",
      "email_html_content": "<string>"
    }
  ],
  "total": 123,
  "limit": 123,
  "offset": 123
}

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0

Response

Successful Response

Paginated list of broadcasts.

items
BroadcastResponse · object[]
required
total
integer
required
limit
integer
required
offset
integer
required