List rejection blacklist entries
Retrieves your email rejection denylist. You can provide an email address to limit the results. Returns up to 1000 results. By default, entries that have expired are excluded from the results; set include_expired to true to include them.
Request
This endpoint expects an object.
key
A valid Mandrill API key
email
An optional email address to search by
include_expired
Whether to include rejections that have already expired
subaccount
An optional unique identifier for the subaccount to limit the blacklist
Response
Success
email
The email that is blocked
reason
The type of event that caused this rejection
Allowed values:
detail
Extended details about the event, such as the SMTP diagnostic for bounces or the comment for manually-created rejections, or null if none was recorded
created_at
When the email was added to the blocklist
last_event_at
The timestamp of the most recent event that either created or renewed this rejection
expires_at
When the blocklist entry will expire (this may be in the past)
expired
Whether the blocklist entry has expired
sender
The sender that this blocklist entry applies to, or null if none
subaccount
The subaccount that this denylist entry applies to, or null if none
Errors
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error