Suppression APIs

Search for a domain in global suppression list

Changed on

This endpoint allows you to check if a domain exists in the Suppression list. The API returns the date when the domain was first added to the suppression list along with modified date and status.

get/suppressions/global/domain/{domain}

Request

  • Base URL
    https://emailapi.netcorecloud.net/v6
  • URL
    https://emailapi.netcorecloud.net/v6/suppressions/global/domain/{domain}
  • Auth
    HTTP bearer

Path parameters

domainstring required
Example:example.com

The domain that you want to search for in the global suppression list.

Headers

on-behalf-ofstring
Example:subaccount_username

Use this header when making requests on behalf of a subaccount. Required only when using a master account's API key.

Response

OK

domainstring required
createdstring date-time required
modifiedstring date-time required
statusinteger required

Example response

{
  "domain": "example.com",
  "modified": "2024-03-20 12:00:00"
}

Changes

    • warning

      deleted the header request parameter on_behalf_of

    • info

      added the new optional header request parameter on-behalf-of