Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v75
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
    • Regular mailings
      • Get regular mailings list
      • Get regular mailing information
      • Create regular mailing
      • Update regular mailing
      • Launch a regular mailing
    • 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
  • Regular mailings
  • Get regular mailings list
Documentation for version v75

Get regular mailings list

Description​

Retrieves regular mailings list.

Request URL​

Method: POST

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

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
from_idint11768NoThe first mailing in the list ID.
By default –1
limitint10NoMailings list limit.
By default – 1000
formatstring"json"NoResponse data format.
By default – json
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 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 mailing 1",
"type": "regular",
"is_active": true,
"for_confirm": false,
"ui_tags": [
"B2C"
],
"groups": [
{
"id": 1,
"name": "subaccount"
}
]
},
{
"id": 78,
"name": "Regular mailing 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 mailing 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 mailing 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
idintMailing ID
namestringMailing name
typestringMailing type
is_activeboolMailing active flag
for_confirmboolMessages with opt-in link flag
total_countintTotal mailing count
ui_tags[]StringTag list
groups[]StringGroup list
Last updated on May 29, 2024
Previous
Regular mailings
Next
Get regular mailing information
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.