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
    • Create suppression list
    • Update suppression list
    • Get suppression list info
    • Get the list of suppression lists
    • Delete suppression list
    • Upload suppression list data to file
    • Suppression list actions
  • Templates and fragments
  • Campaigns
  • 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
  • Suppression lists
  • Get the list of suppression lists
Documentation for version v74

Get the list of suppression lists

Description​

Retrieves multiple suppression lists information.

Request URL​

Method: POST

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

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format
By default – json
from_idint1NoThe first ID in the resulting list.
By default – 1
limitint5NoSuppression lists limit
By default – 1000
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 access groups IDs
By default – []

Request example​

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

Response example​

  • JSON
  • XML
    
{
"data": [
{
"id": 1,
"name": "Global suppress list",
"ui_tags": [],
"groups": [
{
"id": 0,
"name": "main"
}
]
},
{
"id": 3,
"name": "New suppression list",
"ui_tags": [],
"groups": [
{
"id": 0,
"name": "main"
}
]
}
],
"error": 0,
"error_text": "Successful operation",
"total_count": 5
}
<xml>
<data>
<groups>
<id>0</id>
<name>"main"</name>
</groups>
<id>1</id>
<name>"Global suppress list"</name>
<ui_tags/>
</data>
<data>
<groups>
<id>0</id>
<name>"main"</name>
</groups>
<id>3</id>
<name>"New suppression list"</name>
<ui_tags/>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
<total_count>5</total_count>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
idintSuppression list ID
namestringSuppression list name
total_countintTotal suppression lists count
ui_tags[]StringList of tags
groups[]StringList of groups
Last updated on Jun 4, 2024
Previous
Get suppression list info
Next
Delete suppression list
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.