Skip to main content
PUT
Replace mailbox spam settings

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

level
required

null uses the account's level

Allowed value: "off"
allow
string[]
required
Maximum array length: 1000

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

Required string length: 2 - 255
block
string[]
required
Maximum array length: 1000

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