Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v72
  • v74
  • v73
  • v72
Login
  • User API documentation
  • API interaction
  • Matching
  • Profiles
  • Databases
  • Resources
  • Segments
  • Static segments
  • Suppression lists
  • Templates and fragments
  • Campaigns
    • Activate campaign
    • Deactivate campaign
    • Get campaign list
    • Get campaign information
    • Get campaign log
    • Clone campaign
    • Delete campaign
    • Get campaign status
    • Broadcast campaigns
    • Regular campaigns
    • Trigger campaigns
  • Automation scenarios
  • Promo codes
  • Goals
  • Application push notifications
  • Market
  • Analytic reports
  • SendersDevv71
  • External datatables queries
  • Objects
  • Miscellaneous
  • Importing the API collection in Postman
  • List of API endpoints
  • SDK
This is documentation for Altcraft Platform v72. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Campaigns
  • Get campaign list
Documentation for version v72

Get campaign list

Description​

Retrieves campaign list.

Request URL​

Method: POST

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

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format.
By default – json
from_idint1NoFirst campaign in the list ID.
By default – 1
limitint2NoResponse campaigns limit.
By default – 1000
typestring"trigger"NoCampaign type
is_activebooltrueNoCampaign active flag
ui_tags[]String[ "tag1", "tag2" ]NoList of tags for search
groups[]String[ "group1", "group2" ]NoList of access groups
groups_id[]int[ 0, 1 ]NoList of access groups IDs
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": 5,
"name": "New meteoric campaign",
"type": "broadcast",
"is_active": false,
"subid": "",
"for_confirm": false,
"ui_tags": [],
"groups": [
{
"id": 0,
"name": "main"
}
]
},
{
"id": 7,
"name": "Copy of New meteoric campaign",
"type": "broadcast",
"is_active": false,
"subid": "",
"for_confirm": false,
"ui_tags": [],
"groups": [
{
"id": 0,
"name": "main"
}
]
}
],
"error": 0,
"error_text": "Successful operation",
"next_from_id": 8,
"total_count": 134
}
<xml>
<error>0</error>
<error_text>Successful operation</error_text>
<data>
<id>5</id>
<name>New meteoric campaign</name>
<type>broadcast</type>
<is_active>false</is_active>
<subid></subid>
<for_confirm>false</for_confirm>
<groups>
<id>0</id>
<name>main</name>
</groups>
</data>
<data>
<id>7</id>
<name>Copy of New meteoric campaign</name>
<type>broadcast</type>
<is_active>false</is_active>
<subid></subid>
<for_confirm>false</for_confirm>
<groups>
<id>0</id>
<name>main</name>
</groups>
</data>
<next_from_id>8</next_from_id>
<total_count>134</total_count>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
next_from_idintThe index must be passed in the next request to receive another piece of data, until the result output contains 0 history lines
idintCampaign ID
is_activeboolCampaign active flag
namestringCampaign name
typestringCampaign type
total_countintTotal campaign count
for_confirmboolMessages with opt-in link flag
ui_tags[]StringList of tags
groups[]StringList of access groups
attributesobjectAttributes assigned to the campaign and their values
Last updated on Jan 14, 2026
Previous
Deactivate campaign
Next
Get campaign information
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.