Skip to main content
POST
Add a sender to the mailbox spam block list

Authorizations

Authorization
string
header
required

Your Inbound API key. Include it in the Authorization header as: Bearer

Path Parameters

id
string
required

Body

pattern
string
required

An exact sender address (alice@example.com) or a whole domain (@example.com). Case-insensitive.

Required string length: 2 - 255

Response

Response for status 200

level
required

The mailbox's junk filter level; null uses the account's level

Allowed value: "off"
effectiveLevel
enum<string>
required
Available options:
off,
lenient,
standard,
strict
allow
string[]
required

Senders never marked as junk by the junk filter

block
string[]
required

Senders always marked as junk