Skip to main content
POST
Add a sender rule

Authorizations

Authorization
string
header
required

Agent token (alt_…) or OAuth access token; bound to one agent

Path Parameters

inboxId
string
required

Inbox id

Body

application/json
kind
enum<string>
required
Available options:
allow,
block
pattern
string
required

Full address like person@example.com or a domain like @example.com

Required string length: 3 - 320
note
string
Maximum string length: 200

Response

Rule

rule
object
required