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:

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.

[
    {
        "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.

Last updated