Skip to main content
POST
Add correspondent policy rule

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

podId
string

Confine the operation to one pod's policy. Accepts the pod ID. Mutually exclusive with inboxId.

inboxId
string

Confine the operation to one inbox's policy. Mutually exclusive with podId.

Body

application/json
type
enum<string>
required
Available options:
allow,
block
value
string
required

An email address (user@example.com), a whole domain (example.com), or a domain and all its subdomains (*.example.com, which also covers example.com itself).

Required string length: 3 - 255
direction
enum<string>

inbound governs who may send to the inbox; outbound governs who the inbox may send to (enforced across To, Cc, and Reply-To on every send path).

Available options:
inbound,
outbound

Response

Rule created

Rule created