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
      • Check if email is suppressed
      • Add email to suppression list
      • Add multiple emails to suppression list
      • Remove email from suppression list
      • Remove all emails from suppression list
      • Check if domain is suppressed
      • Add domain to suppression list
      • Add multiple domains to suppression list
      • Remove domain from suppression list
      • Remove all domains from suppression list
      • Check if phone number is suppressed
      • Add phone number to suppression list
      • Add multiple phones to suppression list
      • Remove phone number from suppression list
      • Remove all phone numbers from suppression list
  • 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
  • Suppression list actions
  • Check if email is suppressed
Documentation for version v74

Check if email is suppressed

Description​

Checks if an email address is in a suppression list.

Request URL​

Method: POST

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

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
emailstring"john@example.com"YesEmail address to check
formatstring"json"NoResponse data format
By default – json
idint1YesSuppression list ID

Request example​

  • JSON
  • XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"email": "john@example.com",
"id": 1
}

<xml>
<email>john@example.com</email>
<id>1</id>
<token>abcdefghijklmnqrstuvwxyz</token>
</xml>
  • JSON
  • XML
 
{
"domain_matched": false,
"email_matched": true,
"error": 0,
"error_text": "Successful operation",
"matched": true,
"phone_matched": false
}
<xml>
<domain_matched>false</domain_matched>
<email_matched>true</email_matched>
<error>0</error>
<error_text>Successful operation</error_text>
<matched>true</matched>
<phone_matched>false</phone_matched>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringerror text
domain_matchedbooltrue, if email domain is on the suppressed domains list
email_matchedbooltrue, if email domain is on the suppressed emails list
matchedbooltrue, if email address is on the suppressed emails or domains list
Last updated on May 31, 2024
Previous
Suppression list actions
Next
Add email to suppression list
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.