Get Suppression List Details

This API allows you to obtain the list of contacts/recipients who've been suppressed (contacts who are excluded from receiving future transmissions).

Request Type

  • GET

Request URL

https://campaigns.zoho.com/emailapi/v2/recipients/suppression?start_index=1&end_index=500

Content-Type

application/json

List of Request Parameters

ParametersData TypeDescription
start_indexIntegerStarting index for pagination. Specifies the position in the dataset from which results should begin.
end_indexIntegerEnding index for pagination. Specifies the position in the dataset at which results should stop.
recipientsJSON ArrayOptional list of email addresses used to filter the suppression list. When provided, the response will contain only those addresses present in the suppression list.
recipients[].addressStringEmail address of the suppressed contact.

List of Response Body Attributes

ParametersData TypeDescription
responseJSON ObjectContains the response details of the API.
codeIntegerSuccess or failure code.
messageStringSuccess or failure message returned by the API.
suppressionJSON ArrayList of suppressed contact entries. Each object represents one suppressed email address and its metadata.
suppression[].addressStringEmail address of the suppressed contact.
suppression[].additional_dataJSON ObjectA user-defined metadata about the recipient (e.g., phone number, country, or internal identifiers).
suppression[].reasonJSON ObjectA JSON object specifying the reason for suppression.
suppression[].added_timeLongTimestamp (milliseconds) when the contact was added to the suppression list.
suppression[].suppression_typeStringType of suppression. Example: MANUAL
suppression[].zuidLongID of the Zoho user who added the contact to the suppression list. A value of -1 indicates that the suppression was added automatically by the system due to reasons such as hard bounce or spam complaint.
rangeJSON ObjectContains pagination range information for the returned results.
range.start_indexIntegerStarting index of the returned data. Indicates the position in the overall dataset where results begin.
range.end_indexIntegerEnding index of the returned data. Indicates the position in the overall dataset where results end.
errorsJSON ArrayPresent only for failure responses. Contains one or more error objects describing the issue.
Each error object contains a code and a message.

Sample Request with Filter specified in the Body

Copied{
    "recipients": [
        {
            "address": "patricia@zylker.com"
        }
    ]
}

Sample Response - Success

Copied{
  "response": {
    "code": 200401,
    "message": "Successfully obtained the list of suppressed contacts"
  },
  "suppression": [
    {
      "additional_data": {
        "country": "India"
      },
      "reason": {
         "bounce_code": "554",
         "bounce_reason": "bad-domain"
       },
      "address": "patricia@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "reason": {
        "custom_message": "Custom message",
       },
      "address": "boyle@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "address": "justin@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "address": "musashi@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "address": "jamal@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "address": "john@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "address": "jasmine@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "address": "sam@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "address": "jonathan@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "address": "greg@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "address": "zac@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "address": "matthewe@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    },
    {
      "additional_data": {
        "country": "India"
      },
      "address": "maria@zylker.com",
      "added_time": 1680612284111,
      "modified_time": 1680612284111,
      "suppression_type": "MANUAL",
      "zuid": 16304095
    }
  ],
  "range": {
    "start_index": 1,
    "end_index": 500
  }
}

Sample Response - Failure

Copied{
  "errors": [
    {
      "code": 500401,
      "message": "An error occurred in Suppression List API"
    }
  ]
}