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
    • Regular mailings
    • Trigger mailings
      • Get trigger mailings list
      • Get trigger mailing information
      • Create trigger mailing
      • Update trigger mailing
      • Trigger launch (API call)
      • Profile import + trigger mailing launch
      • Task for bulk trigger launch
      • Task for bulk profiles import + trigger launch
      • Bulk trigger launch
      • Bulk profiles import + trigger mailing launch
      • Clone a trigger mailing
      • Data array
  • 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
  • Trigger mailings
  • Get trigger mailings list
Documentation for version v74

Get trigger mailings list

Description​

Retrieves trigger mailings list.

Request URL​

Method: POST

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

Request parameters​

ParameterTypeExampleRequireddescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
from_idint11768NoThe first mailing in response ID.
By default – 1
limitint10NoTrigger mailings list limit.
By default – 1000
formatstring"json"NoResponse data format.
By default – json
is_activebooltrueNoRetrieve only active mailings
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 group 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": 12,
"name": "New trigger mailing 3",
"type": "api_call",
"is_active": true,
"for_confirm": false,
"ui_tags": [],
"groups": [
{
"id": 0,
"name": "main"
}
]
},
{
"id": 14,
"name": "New planetary mailing",
"type": "api_call",
"is_active": true,
"for_confirm": false,
"ui_tags": [],
"groups": [
{
"id": 1,
"name": "subaccount"
}
],
"providers": [
"google",
"mozilla",
"safari",
"safari-native",
"firefox-firebase",
"chrome-firebase",
"opera-firebase",
"yandex-firebase",
"samsung-firebase",
"android-firebase",
"ios-firebase",
"ios-apns",
"yandex-Appmetrica-device-id-ios",
"yandex-Appmetrica-device-id-android",
"yandex-Appmetrica-ios-ifa",
"yandex-Appmetrica-google-aid",
"yandex-Appmetrica-android-token",
"yandex-Appmetrica-ios-token",
"mr",
"android-huawei",
"ios-huawei",
"android-rustore"
]
}
],
"error": 0,
"error_text": "Successful operation",
"total_count": 41
}
<xml>
<data>
<for_confirm>false</for_confirm>
<groups>
<id>0</id>
<name>main</name>
</groups>
<id>12</id>
<is_active>true</is_active>
<name>New trigger mailing 3</name>
<type>api_call</type>
<ui_tags/>
</data>
<data>
<for_confirm>false</for_confirm>
<groups>
<id>1</id>
<name>subaccount</name>
</groups>
<id>14</id>
<is_active>true</is_active>
<name>New planetary mailing</name>
<providers>google</providers>
<providers>mozilla</providers>
<providers>safari</providers>
<providers>safari-native</providers>
<providers>firefox-firebase</providers>
<providers>chrome-firebase</providers>
<providers>opera-firebase</providers>
<providers>yandex-firebase</providers>
<providers>samsung-firebase</providers>
<providers>android-firebase</providers>
<providers>ios-firebase</providers>
<providers>ios-apns</providers>
<providers>yandex-Appmetrica-device-id-ios</providers>
<providers>yandex-Appmetrica-device-id-android</providers>
<providers>yandex-Appmetrica-ios-ifa</providers>
<providers>yandex-Appmetrica-google-aid</providers>
<providers>yandex-Appmetrica-android-token</providers>
<providers>yandex-Appmetrica-ios-token</providers>
<providers>mr</providers>
<providers>android-huawei</providers>
<providers>ios-huawei</providers>
<providers>android-rustore</providers>
<type>api_call</type>
<ui_tags/>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
<total_count>41</total_count>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
idintTrigger mailing ID
namestringMailing name
typestringTrigger type
for_confirmboolMessages with opt-in links flag
is_activeboolMailing active flag
ui_tags[]StringTag list
groups[]StringGroup list
Last updated on Feb 21, 2024
Previous
Trigger mailings
Next
Get trigger mailing information
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.