Skip to navigation

Add email to rejection blacklist

Adds an email to your email rejection denylist. Addresses that you add manually will never expire and there is no reputation penalty for removing them from your denylist. Attempting to denylist an address that has been whitelisted will have no effect.

Request

This endpoint expects an object.
keystringRequired
A valid Mandrill API key
emailstringRequiredformat: "email"
An email address to block
commentstringOptional
An optional comment describing the rejection
subaccountstringOptional<=255 characters
An optional unique identifier for the subaccount to limit the blacklist entry

Response

Success
emailstringformat: "email"
The email address you provided
addedboolean
Whether the operation succeeded

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error