Suppression APIs
Search for a domain in global suppression list
Changed onThis 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 URLhttps://emailapi.netcorecloud.net/v6
- URLhttps://emailapi.netcorecloud.net/v6/suppressions/global/domain/{domain}
- AuthHTTP 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
Example response
{
"domain": "example.com",
"modified": "2024-03-20 12:00:00"
}Changes
- warning
deleted the
headerrequest parameteron_behalf_of - info
added the new optional
headerrequest parameteron-behalf-of
- warning