Get ESP-suppressed emails by domain
Find addresses suppressed by the Email Service Provider (ESP) for a particular reason on a specific sending domain.
You can get up to 1000 addresses per request. Use the start parameter with the next value from the previous response to paginate through results.
- Type: stringdomain
_name requiredThe sending domain you want to look up suppressions for.
- Type: string enumsuppression
_type requiredThe reason a person's email address was suppressed by the email service provider (ESP).
values- blocks
- bounces
- spam
_reports - invalid
_emails
- Type: integerlimitmax:1000
The maximum number of results you want to retrieve per page.
- Type: stringstart
The token for the page of results you want to return. Responses contain a
nextproperty. Use this property as thestartvalue to return the next page of results. - Type: stringemail
Filter results to a specific email address. When provided, returns at most one result and cursor-based pagination does not apply.
- application/json
- application/json
curl https://api.customer.io/v1/esp/domains/mail.example.com/suppression/blocks \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"category": "bounces",
"next": "string",
"suppressions": [
{
"created": 1650895738,
"email": "bounced.person@example.com",
"reason": "Uploaded manually via api.customer.io",
"status": "550"
}
]
}Returns an array of suppressed email addresses for the domain.