Skip to main content

Get broadcast information

Description

Retrieves detailed information about a broadcast campaign.

Request URL

Method: POST

https://example.com/api/v1.1/campaigns/broadcasts/get

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
idint11768YesCampaign ID
formatstring"json"NoResponse data format.
By default – json

Request example

{
"token": "abcdefghijklmnqrstuvwxyz",
"id": "87"
}

Response example

{
"data": {
"name": "sms ",
"is_active": false,
"data_id": 13,
"data_type": "segment",
"content": [
{
"subject": "",
"from_email": "",
"from_name": "",
"replyto_email": "",
"replyto_name": "",
"message_id": 27
}
],
"send_channel": "sms",
"channel": "sms",
"push_sending_mode": "fanout",
"resource_id": 36,
"subid": "",
"limit": 0,
"aglimit_count": 0,
"aglimit_percent": 0,
"start_schedule": {
"start_mins": [
38
],
"start_hours": [
16
],
"start_mdays": [],
"start_wdays": [],
"start_months": [],
"start_years": [],
"tz": "",
"profile": false,
"losers": false
},
"for_confirm": false,
"policy_id": 0,
"description": "",
"virtual_sender_id": 0,
"is_random_tracking_prefix": false,
"custom_tracking_domains": [],
"watcher_list_id": 0,
"watcher_limit": 0,
"blind_carbon_copy": [],
"unconditional_sending": false,
"skip_unique_checking": false,
"sub_cats_filter": null,
"sub_fields_filter": null,
"id": 179,
"updated_user": "roman",
"update_time": "2024-05-28T13:40:57.3Z"
},
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text
idintCampaign ID
namestringCampaign name
is_activeboolCampaign active flag
resource_idintResource ID
data_idintAudience source ID
data_typestringAudience source type
contentJSON arrayMessage template object
send_channelstringSending channel
channelstringChannel
for_confirmboolMessages with opt-in link flag
subidstringCampaign SubID
start_scheduleJSON objectStart schedule object
limitintCampaign cycle limitation
aglimit_countintIncrease limit each cycle - number
agllimit_percentfloatIncrease limit each cycle - percent
policy_idintSending policy ID
push_sending_modestringPush notification sending mode (push channels only)
descrstringCampaign description
Smart settings
virtual_sender_idintVirtual sender ID
(Smart accounts)
is_random_tracking_prefixboolRandom tracking domain prefix
(Smart accounts)
custom_tracking_domainsJSON arrayTracking domains list
(Smart accounts)
blind_carbon_copyJSON arrayHidden copy email addresses
(Smart accounts)
unconditional_sendingboolSend messages regardless of subscription status
(Smart accounts)
watcher_list_idintCampaign watchers database ID
(Smart accounts)
watcher_limitintWatchers limit
(Smart accounts)