v44

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-192301780.0 KB
Agents

Set inbox mail policy

Set the sender allowlist and send/reply/read access rules for an inbox owned by the authenticated organization.

put/mail/v1/inboxes/{inboxId}/policy

Path parameters

inboxIdstring required

Request body

enforceSenderAllowlistboolean
allowedSenderPatternsstring[]

Exact emails, @domain rules, or *

readAccessRulesstring[]

Rules like organization, operator, user:<id>, api_key, api_key:<id>, clerk_session, or *

replyAccessRulesstring[]

Rules like organization, operator, user:<id>, api_key, api_key:<id>, clerk_session, or *

sendAccessRulesstring[]

Rules like organization, user:<id>, api_key, api_key:<id>, clerk_session, or *

Response

Inbox policy updated successfully