# Broadcasts List

Using this endpoint you can obtain an updated list of all broadcasts configured for a give bot. Each broadcast entry is contains real time messaging counters.

### Request

The following request will retrieve the current list of all active broadcasts for a chatbot:

```bash
curl --location --request GET 
'https://<NODE>.xenioo.com/broadcasts' \
--header 'Authorization: Bearer <BOT_AUTH_TOKEN>' \
--header 'Content-Type: application/json'
```

### Response

If successful, the response will contain a detailed array of all active broadcast.

```javascript
[
    {
        "Enabled":true,
        "NotificationMode":0,
        "Name":"...",
        "MesasgeType":0,
        "SchedulingMode":0,
        "TimeZoneMode"0,
        "TriggerType":0,
        "TriggerDelay"0,
        "TriggerTimeValue":0,
        "ScheduleDate":...,
        "IgnoreChatState":false,
        "Sent":2921,
        "Delivered":291,
        "Opened":202,
        "OnDemandHosts":"",
        "OnDemandUrl":"..."
    },
    {
        ...
    }
]
```

### Response Codes

This endpoint will reply with the following standard HTTP codes.

| Code | Meaning                                                      |
| ---- | ------------------------------------------------------------ |
| 200  | Ok. The request has been successfully fulfilled.             |
| 404  | Not Found. The specified source chatbot have not been found. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs10.xenioo.com/xenioo-api/globa-platform-api/broadcasts/broadcasts-list.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
