Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v74
  • v74
  • v73
  • v72
Login
  • User API documentation
  • API interaction
  • Matching
  • Profiles
  • Databases
  • Resources
  • Segments
  • Suppression lists
  • Templates and fragments
  • Campaigns
  • Mailings
    • Activate mailing
    • Deactivate mailing
    • Get mailing list
    • Get mailing information
    • Get mailing log
    • Clone mailing
    • Delete mailing
    • Get mailing status
    • Broadcast mailings
      • Get broadcasts list
      • Get broadcast information
      • Create broadcast mailing
      • Update broadcast mailing
      • Launch a broadcast mailing
    • Regular mailings
    • Trigger mailings
  • Automation scenarios
  • Loyalty Programs
  • Promo codes
  • Goals
  • Application push notifications
  • Market
  • Analytic reports
  • SendersDev
  • External datatables queries
  • Objects
  • Miscellaneous
  • Importing the API collection in Postman
  • List of API endpoints
  • SDK
  • Mailings
  • Broadcast mailings
  • Get broadcasts list
Documentation for version v74

Get broadcasts list

Description​

Retrieves broadcast mailings list.

Request URL​

Method: POST

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

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
from_idint2NoFirst in the list broadcast ID
By default – 1
limitint10NoResponse broadcast list limit
By default – 1000
formatstring"json"NoResponse data format
By default – json
typestring"broadcast"YesMailing type
is_activebooltrueNoRetrieve active mailings only
ui_tags[]String[ "tag1", "tag2" ]NoList of tags for search
By default – []
groups[]String[ "group1", "group2" ]NoList of access groups
By default – []
groups_id[]int[ 0, 1 ]NoList of groups IDs
By default – []
attributesobject{"season": {"options": ["spring_2024", "summer_2024"]}}NoAttributes and their values for search

Request example​

  • JSON
  • XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"limit": 2
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<limit>2</limit>
</xml>

Response example​

  • JSON
  • XML
{
"data": [
{
"id": 3,
"name": "New mailing 1",
"type": "broadcast",
"is_active": false,
"for_confirm": false,
"ui_tags": [],
"groups": [
{
"id": 0,
"name": "main"
}
]
},
{
"id": 5,
"name": "New mailing 2",
"type": "broadcast",
"is_active": false,
"for_confirm": false,
"ui_tags": [],
"groups": [
{
"id": 0,
"name": "main"
}
]
}
],
"error": 0,
"error_text": "Successful operation",
"total_count": 17
}
<xml>
<data>
<for_confirm>false</for_confirm>
<groups>
<id>0</id>
<name>main</name>
</groups>
<id>3</id>
<is_active>false</is_active>
<name>New mailing 1</name>
<type>broadcast</type>
<ui_tags/>
</data>
<data>
<for_confirm>false</for_confirm>
<groups>
<id>0</id>
<name>main</name>
</groups>
<id>5</id>
<is_active>false</is_active>
<name>New mailing 2</name>
<type>broadcast</type>
<ui_tags/>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
<total_count>17</total_count>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
idintMailing ID
namestringMailing name
typestringMailing type
is_activeboolMailing active flag
for_confirmboolMessages with opt-in link flag
total_countintTotal mailings count
ui_tags[]StringList of tags
groups[]StringList of groups
Last updated on Feb 21, 2024
Previous
Broadcast mailings
Next
Get broadcast information
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.