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
      • Get regular campaigns list
      • Get regular campaign information
      • Create regular campaign
      • Update regular campaign
      • Launch a regular campaign
    • 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
  • Regular campaigns
  • Get regular campaigns list
Documentation for version v72

Get regular campaigns list

Description​

Retrieves regular campaigns list.

Request URL​

Method: POST

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

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
from_idint11768NoThe first campaign in the list ID.
By default –1
limitint10NoCampaigns list limit.
By default – 1000
formatstring"json"NoResponse data format.
By default – json
is_activebooltrueNoRetrieve active campaigns 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 group 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": 15,
"name": "Regular campaign 1",
"type": "regular",
"is_active": true,
"for_confirm": false,
"ui_tags": [
"B2C"
],
"groups": [
{
"id": 1,
"name": "subaccount"
}
]
},
{
"id": 78,
"name": "Regular campaign 2",
"type": "regular",
"is_active": false,
"for_confirm": false,
"ui_tags": [
"B2C"
],
"groups": [
{
"id": 1,
"name": "subaccount"
}
]
}
],
"error": 0,
"error_text": "Successful operation",
"total_count": 3
}
<xml>
<data>
<for_confirm>false</for_confirm>
<groups>
<id>1</id>
<name>subaccount</name>
</groups>
<id>15</id>
<is_active>true</is_active>
<name>Regular campaign 1</name>
<type>regular</type>
<ui_tags>B2C</ui_tags>
</data>
<data>
<for_confirm>false</for_confirm>
<groups>
<id>1</id>
<name>subaccount</name>
</groups>
<id>78</id>
<is_active>false</is_active>
<name>Regular campaign 2</name>
<type>regular</type>
<ui_tags>B2C</ui_tags>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
<total_count>3</total_count>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
idintCampaign ID
namestringCampaign name
typestringCampaign type
is_activeboolCampaign active flag
for_confirmboolMessages with opt-in link flag
total_countintTotal campaign count
ui_tags[]StringTag list
groups[]StringGroup list
Last updated on May 29, 2024
Previous
Regular campaigns
Next
Get regular campaign information
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.