Page tree


Adds one or multiple email domains to a specified suppression list.

Request URL

Method: POST

Request parameters

tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
domainsJSON array[""]YesEmail domains list
formatstring"json"NoResponse data format.
By default – json
idint1YesSuppression list ID

Request example

    "domains": [
    "id": 1,
    "token": "abcdefghijklmnqrstuvwxyz"

Response example

    "error": 0,
    "error_text": "Successful operation",
    "total_count": 1,
    "total_duplicated": 0,
    "total_imported": 1,
    "total_updated": 0

Response parameters

errorintError code
error_textstringError text
total_countintTotal number of domains
total_duplicatedintDomains previously added to the stop list
total_importedintDomains added
total_updatedintDomains updated (if matched)
  • No labels