Broadcasts List

Using this endpoint you can obtain an updated list of all broadcasts configured for a given bot. Each broadcast entry is contains statistical data and general scheduling information.

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.

[
    {
        "Id":"DSAFDJA0932",
        "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.

Last updated