Add correspondent policy rule
Sender rules
Add correspondent policy rule
Add one allow/block rule for a direction of a scope’s policy. Requires an account-wide API key.
POST
Add correspondent policy rule
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Confine the operation to one pod's policy. Accepts the pod ID. Mutually exclusive with inboxId.
Confine the operation to one inbox's policy. Mutually exclusive with podId.
Body
application/json
Available options:
allow, block An email address (user@example.com) or a whole domain (example.com).
Required string length:
3 - 253inbound 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