Skip to navigation

Add SMS to denylist

Adds a phone number to your SMS rejection denylist. Phone numbers that you add manually will never expire and there is no reputation penalty for removing them from your denylist.

Request

This endpoint expects an object.
keystringRequired
A valid Mandrill API key
phonestringRequired
A phone number to block in E.164 format
commentstringOptional
An optional comment describing the rejection
subaccountstringOptional<=255 characters
An optional unique identifier for the subaccount to limit the denylist entry

Response

Success

Errors

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