Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.
Qubrics API key. Use a root API key for Management API routes, or a mailbox credential for Mailbox API routes. Obtain keys from the dashboard under API Keys.
Scopes
team.update
Update team settings
mailbox.admin.manage
Manage all mailbox settings
key.*
All key management operations
Headers
If-Match
string
required
Required exact ETag from the current policy. Wildcards are not accepted.
Idempotency-Key
string
Reuse with the same policy and ETag to replay a successful replacement.
Path Parameters
scope
enum<string>
required
Policy level to read or replace.
Available options:
team,
mailbox,
api_key,
oauth_grant,
agent_registration
public_id
string
required
Public ID of the team, inbox, API key, connected-app grant or agent registration.
Required string length: 1 - 128
Body
application/json
policy
object
required
Complete replacement policy; omitted settings return to their defaults.
Hide child attributes
policy.allowed_from
object
Allowed From addresses at this policy level.
Hide child attributes
policy.allowed_from.addresses
string<email>[]
Exact email addresses matched by this rule.
Maximum array length: 100
Maximum string length: 254
policy.allowed_from.domains
string[]
Exact domains; subdomains are not included automatically.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Qubrics","description":"The intelligent email layer","colors":{"primary":"#6a75f1","light":"#5a84e9","dark":"#004aad"},"logo":{"light":"https://mintcdn.com/sendmux/9EML6-L2IAWgIXVX/images/logo-light.svg?fit=max\u0026auto=format\u0026n=9EML6-L2IAWgIXVX\u0026q=85\u0026s=0d301b6a4a28e21cf585335973584967","dark":"https://mintcdn.com/sendmux/9EML6-L2IAWgIXVX/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=9EML6-L2IAWgIXVX\u0026q=85\u0026s=612f5f9e57f97fd13812a619d185a2f9","href":"https://qubrics.com/docs"},"favicon":"https://mintcdn.com/sendmux/9EML6-L2IAWgIXVX/images/logo-light.svg?fit=max\u0026auto=format\u0026n=9EML6-L2IAWgIXVX\u0026q=85\u0026s=0d301b6a4a28e21cf585335973584967","api":{"params":{"expanded":"all"},"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","go"],"autogenerate":true}},"appearance":{"default":"system"},"navbar":{"links":[{"href":"/changelog","label":"Changelog"},{"href":"mailto:contact@qubrics.com","label":"Support"}],"primary":{"type":"button","label":"App","href":"https://app.qubrics.com"}},"footer":{"socials":{"x":"https://x.com/sendmux","github":"https://github.com/qubrics"}},"seo":{"metatags":{"canonical":"https://qubrics.com/docs"}},"fonts":{"family":"Lato","weight":400},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"App","href":"https://app.qubrics.com"},{"anchor":"Website","href":"https://qubrics.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sendmux","hasAudioNarration":false,"actualSubdomain":"sendmux","customDomains":["sendmux.ai"],"gitSource":{"type":"github","owner":"qubrics","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{},"buildId":"6afbb1b8a017c34cfd2fe8fa","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Guides","count":80},{"language":"default","tag":"Mailbox API","count":65},{"language":"default","tag":"Management API","count":58},{"language":"default","tag":"AI integrations","count":32},{"language":"default","tag":"MCP","count":23},{"language":"default","tag":"Client setup","count":23},{"language":"default","tag":"Developer tools","count":21},{"language":"default","tag":"Sending accounts","count":18},{"language":"default","tag":"Mailboxes","count":15},{"language":"default","tag":"Messages","count":14}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{font-size:103%}.antialiased{-webkit-font-smoothing:auto!important;-moz-osx-font-smoothing:auto!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6,.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{letter-spacing:var(--tracking-tight)!important}body,.prose,.prose p,.prose li,.prose td,.prose th,.prose blockquote{letter-spacing:0.00625rem!important}.eyebrow.h-5{text-transform:uppercase;letter-spacing:0.063em!important}h3.sidebar-title,#sidebar-title{display:flex;align-items:center;height:1.75rem;color:oklch(0.345 0.006 264 / 60%);text-transform:uppercase;font-size:0.7rem;font-weight:400;letter-spacing:0.044rem!important}.dark h3.sidebar-title,.dark #sidebar-title{color:oklch(0.985 0.001 106.423 / 60%)}"}],"page":{"pagePath":"api/mailboxes/replace-a-sending-policy","slug":"/api/mailboxes/replace-a-sending-policy","pageMetadata":{"title":"Replace a sending policy","description":"Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.","deprecated":null,"version":null,"openapi":"/openapi-app.json put /mailbox-send-policies/{scope}/{public_id}","href":"/api/mailboxes/replace-a-sending-policy","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Replace a sending policy","description":"Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.","deprecated":null,"version":null,"openapi":"/openapi-app.json put /mailbox-send-policies/{scope}/{public_id}","href":"/api/mailboxes/replace-a-sending-policy","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.","operationId":"managementReplaceMailboxSendPolicy","parameters":["3190051b-377f-4224-9037-49bb36dd8672","1953190c-271e-4c61-83f5-560c49c4b8b9","7efca8bc-ec6f-49d4-a4cf-ce7fd65dc62a","fe83ea6f-7446-4c89-893a-fb1d4f63cbdf"],"requestBody":"3f7d0a2b-9ecf-405c-af55-25ecaf416b26","responses":{"200":"477372c7-35af-4485-8f13-f9b7c67a2ef4","400":"c17af5bc-5abd-43ff-8cb6-02bb6a493a73","401":"fd3c3270-d48b-4ab8-acd4-0153e7ad55c7","403":"30a98719-e2ad-420f-89f6-e77099c4775f","404":"bce43b14-57c4-42f0-a420-7d61c18aadce","409":"dc35c175-5b2e-454a-90f5-4804266752c7","413":"27fc83d2-0757-41cc-b73c-b6c5b966fcb4","422":"1dbe4b8f-e186-42f1-8bf2-11c52e791b64","429":"33af0bec-9147-4eb7-b6b0-0843cdcef517","500":"c8c78963-dfbc-479f-8087-a3fe82942437","503":"9292430c-728d-4a0d-abb5-bf4e253420f2"},"security":["32513b81-1487-4d4e-bdd0-27fcda4d72e0","c9b28e76-dc5b-4535-ba1d-1d2a28ff5b27","363bec9c-7232-4aa6-930a-af5657bd2127","8e735212-ec19-484f-bf5c-ca016eb09c4c"],"summary":"Replace a sending policy","tags":["Mailboxes"],"method":"put","type":"path","servers":["4330994b-0d72-4d00-90b6-f20843fdaad6"],"path":"/mailbox-send-policies/{scope}/{public_id}","baseUrlOptions":["https://app.qubrics.com/api/v1"],"title":"Replace a sending policy","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3190051b-377f-4224-9037-49bb36dd8672":{"description":"Policy level to read or replace.","in":"path","name":"scope","required":true,"schema":{"description":"Policy level to read or replace.","enum":["team","mailbox","api_key","oauth_grant","agent_registration"],"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"1953190c-271e-4c61-83f5-560c49c4b8b9":{"description":"Public ID of the team, inbox, API key, connected-app grant or agent registration.","in":"path","name":"public_id","required":true,"schema":{"description":"Public ID of the team, inbox, API key, connected-app grant or agent registration.","maxLength":128,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"7efca8bc-ec6f-49d4-a4cf-ce7fd65dc62a":{"description":"Required exact ETag from the current policy. Wildcards are not accepted.","in":"header","name":"If-Match","required":true,"schema":{"description":"Required exact ETag from the current policy. Wildcards are not accepted.","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"fe83ea6f-7446-4c89-893a-fb1d4f63cbdf":{"description":"Reuse with the same policy and ETag to replay a successful replacement.","in":"header","name":"Idempotency-Key","required":false,"schema":{"description":"Reuse with the same policy and ETag to replay a successful replacement.","type":"string","isRequired":false,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"policy":{"type":"object","description":"Complete replacement policy; omitted settings return to their defaults.","properties":{"allowed_from":{"additionalProperties":false,"default":{},"description":"Allowed From addresses at this policy level.","properties":{"addresses":{"default":[],"description":"Exact email addresses matched by this rule.","items":{"format":"email","maxLength":254,"type":"string","uniqueKey":"policy.allowed_from.addresses.items.[INDEX]","typeLabel":"string\u003cemail>"},"maxItems":100,"type":"array","uniqueKey":"policy.allowed_from.addresses","typeLabel":"string\u003cemail>[]"},"domains":{"default":[],"description":"Exact domains; subdomains are not included automatically.","items":{"maxLength":253,"pattern":"^(?!-)[a-z0-9-]{1,63}(?\u003c!-)(?:\\.(?!-)[a-z0-9-]{1,63}(?\u003c!-))+$","type":"string","uniqueKey":"policy.allowed_from.domains.items.[INDEX]","typeLabel":"string"},"maxItems":100,"type":"array","uniqueKey":"policy.allowed_from.domains","typeLabel":"string[]"},"own_address":{"default":true,"description":"Allow the originating inbox address.","type":"boolean","uniqueKey":"policy.allowed_from.own_address","typeLabel":"boolean"}},"type":"object","uniqueKey":"policy.allowed_from","typeLabel":"object"},"allowed_reply_to":{"additionalProperties":false,"default":{},"description":"Allowed Reply-To addresses at this policy level.","properties":{"addresses":{"default":[],"description":"Exact email addresses matched by this rule.","items":{"format":"email","maxLength":254,"type":"string","uniqueKey":"policy.allowed_reply_to.addresses.items.[INDEX]","typeLabel":"string\u003cemail>"},"maxItems":100,"type":"array","uniqueKey":"policy.allowed_reply_to.addresses","typeLabel":"string\u003cemail>[]"},"domains":{"default":[],"description":"Exact domains; subdomains are not included automatically.","items":{"maxLength":253,"pattern":"^(?!-)[a-z0-9-]{1,63}(?\u003c!-)(?:\\.(?!-)[a-z0-9-]{1,63}(?\u003c!-))+$","type":"string","uniqueKey":"policy.allowed_reply_to.domains.items.[INDEX]","typeLabel":"string"},"maxItems":100,"type":"array","uniqueKey":"policy.allowed_reply_to.domains","typeLabel":"string[]"},"own_address":{"default":true,"description":"Allow the originating inbox address.","type":"boolean","uniqueKey":"policy.allowed_reply_to.own_address","typeLabel":"boolean"}},"type":"object","uniqueKey":"policy.allowed_reply_to","typeLabel":"object"},"alternate_from":{"default":[],"description":"Ordered fallback From addresses; every policy level must explicitly allow each alternative.","items":{"format":"email","maxLength":254,"type":"string","uniqueKey":"policy.alternate_from.items.[INDEX]","typeLabel":"string\u003cemail>"},"maxItems":100,"type":"array","uniqueKey":"policy.alternate_from","typeLabel":"string\u003cemail>[]"},"recipients":{"additionalProperties":false,"default":{},"description":"Recipient restrictions applied to every To, Cc and Bcc address.","properties":{"allow":{"oneOf":[{"additionalProperties":false,"default":null,"description":"Allowed recipients, or null for no allow-list restriction. An empty rule allows no recipients.","properties":{"addresses":{"default":[],"description":"Exact email addresses matched by this rule.","items":{"format":"email","maxLength":254,"type":"string","uniqueKey":"policy.recipients.allow.oneOf.0.addresses.items.[INDEX]","typeLabel":"string\u003cemail>"},"maxItems":100,"type":"array","uniqueKey":"policy.recipients.allow.oneOf.0.addresses","typeLabel":"string\u003cemail>[]"},"domains":{"default":[],"description":"Exact domains; subdomains are not included automatically.","items":{"maxLength":253,"pattern":"^(?!-)[a-z0-9-]{1,63}(?\u003c!-)(?:\\.(?!-)[a-z0-9-]{1,63}(?\u003c!-))+$","type":"string","uniqueKey":"policy.recipients.allow.oneOf.0.domains.items.[INDEX]","typeLabel":"string"},"maxItems":100,"type":"array","uniqueKey":"policy.recipients.allow.oneOf.0.domains","typeLabel":"string[]"}},"type":"object","uniqueKey":"policy.recipients.allow.oneOf.0","typeLabel":"object"},{"additionalProperties":false,"default":null,"description":"Allowed recipients, or null for no allow-list restriction. An empty rule allows no recipients.","properties":{"addresses":{"default":[],"description":"Exact email addresses matched by this rule.","items":{"format":"email","maxLength":254,"type":"string"},"maxItems":100,"type":"array"},"domains":{"default":[],"description":"Exact domains; subdomains are not included automatically.","items":{"maxLength":253,"pattern":"^(?!-)[a-z0-9-]{1,63}(?\u003c!-)(?:\\.(?!-)[a-z0-9-]{1,63}(?\u003c!-))+$","type":"string"},"maxItems":100,"type":"array"}},"type":"null","uniqueKey":"policy.recipients.allow.oneOf.1","typeLabel":"null"}],"uniqueKey":"policy.recipients.allow","typeLabel":"object | null"},"deny":{"additionalProperties":false,"default":{},"description":"Blocked recipients; deny rules always take precedence.","properties":{"addresses":{"default":[],"description":"Exact email addresses matched by this rule.","items":{"format":"email","maxLength":254,"type":"string","uniqueKey":"policy.recipients.deny.addresses.items.[INDEX]","typeLabel":"string\u003cemail>"},"maxItems":100,"type":"array","uniqueKey":"policy.recipients.deny.addresses","typeLabel":"string\u003cemail>[]"},"domains":{"default":[],"description":"Exact domains; subdomains are not included automatically.","items":{"maxLength":253,"pattern":"^(?!-)[a-z0-9-]{1,63}(?\u003c!-)(?:\\.(?!-)[a-z0-9-]{1,63}(?\u003c!-))+$","type":"string","uniqueKey":"policy.recipients.deny.domains.items.[INDEX]","typeLabel":"string"},"maxItems":100,"type":"array","uniqueKey":"policy.recipients.deny.domains","typeLabel":"string[]"}},"type":"object","uniqueKey":"policy.recipients.deny","typeLabel":"object"}},"type":"object","uniqueKey":"policy.recipients","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"policy","typeLabel":"object"}},"required":["policy"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"policy":{"allowed_from":{},"allowed_reply_to":{},"alternate_from":[],"recipients":{}}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"477372c7-35af-4485-8f13-f9b7c67a2ef4":{"content":{"application/json":{"schema":{"type":"object","required":["data","ok","meta"],"properties":{"meta":{"type":"object","required":["request_id"],"properties":{"request_id":{"example":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx","type":"string","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"ok":{"enum":[true],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"data":{"additionalProperties":false,"properties":{"policy":{"additionalProperties":false,"properties":{"allowed_from":{"additionalProperties":false,"default":{},"description":"Allowed From addresses at this policy level.","properties":{"addresses":{"default":[],"description":"Exact email addresses matched by this rule.","items":{"format":"email","maxLength":254,"type":"string","uniqueKey":"data.policy.allowed_from.addresses.items.[INDEX]","typeLabel":"string\u003cemail>"},"maxItems":100,"type":"array","uniqueKey":"data.policy.allowed_from.addresses","typeLabel":"string\u003cemail>[]"},"domains":{"default":[],"description":"Exact domains; subdomains are not included automatically.","items":{"maxLength":253,"pattern":"^(?!-)[a-z0-9-]{1,63}(?\u003c!-)(?:\\.(?!-)[a-z0-9-]{1,63}(?\u003c!-))+$","type":"string","uniqueKey":"data.policy.allowed_from.domains.items.[INDEX]","typeLabel":"string"},"maxItems":100,"type":"array","uniqueKey":"data.policy.allowed_from.domains","typeLabel":"string[]"},"own_address":{"default":true,"description":"Allow the originating inbox address.","type":"boolean","uniqueKey":"data.policy.allowed_from.own_address","typeLabel":"boolean"}},"type":"object","uniqueKey":"data.policy.allowed_from","typeLabel":"object"},"allowed_reply_to":{"additionalProperties":false,"default":{},"description":"Allowed Reply-To addresses at this policy level.","properties":{"addresses":{"default":[],"description":"Exact email addresses matched by this rule.","items":{"format":"email","maxLength":254,"type":"string","uniqueKey":"data.policy.allowed_reply_to.addresses.items.[INDEX]","typeLabel":"string\u003cemail>"},"maxItems":100,"type":"array","uniqueKey":"data.policy.allowed_reply_to.addresses","typeLabel":"string\u003cemail>[]"},"domains":{"default":[],"description":"Exact domains; subdomains are not included automatically.","items":{"maxLength":253,"pattern":"^(?!-)[a-z0-9-]{1,63}(?\u003c!-)(?:\\.(?!-)[a-z0-9-]{1,63}(?\u003c!-))+$","type":"string","uniqueKey":"data.policy.allowed_reply_to.domains.items.[INDEX]","typeLabel":"string"},"maxItems":100,"type":"array","uniqueKey":"data.policy.allowed_reply_to.domains","typeLabel":"string[]"},"own_address":{"default":true,"description":"Allow the originating inbox address.","type":"boolean","uniqueKey":"data.policy.allowed_reply_to.own_address","typeLabel":"boolean"}},"type":"object","uniqueKey":"data.policy.allowed_reply_to","typeLabel":"object"},"alternate_from":{"default":[],"description":"Ordered fallback From addresses; every policy level must explicitly allow each alternative.","items":{"format":"email","maxLength":254,"type":"string","uniqueKey":"data.policy.alternate_from.items.[INDEX]","typeLabel":"string\u003cemail>"},"maxItems":100,"type":"array","uniqueKey":"data.policy.alternate_from","typeLabel":"string\u003cemail>[]"},"recipients":{"additionalProperties":false,"default":{},"description":"Recipient restrictions applied to every To, Cc and Bcc address.","properties":{"allow":{"oneOf":[{"additionalProperties":false,"default":null,"description":"Allowed recipients, or null for no allow-list restriction. An empty rule allows no recipients.","properties":{"addresses":{"default":[],"description":"Exact email addresses matched by this rule.","items":{"format":"email","maxLength":254,"type":"string","uniqueKey":"data.policy.recipients.allow.oneOf.0.addresses.items.[INDEX]","typeLabel":"string\u003cemail>"},"maxItems":100,"type":"array","uniqueKey":"data.policy.recipients.allow.oneOf.0.addresses","typeLabel":"string\u003cemail>[]"},"domains":{"default":[],"description":"Exact domains; subdomains are not included automatically.","items":{"maxLength":253,"pattern":"^(?!-)[a-z0-9-]{1,63}(?\u003c!-)(?:\\.(?!-)[a-z0-9-]{1,63}(?\u003c!-))+$","type":"string","uniqueKey":"data.policy.recipients.allow.oneOf.0.domains.items.[INDEX]","typeLabel":"string"},"maxItems":100,"type":"array","uniqueKey":"data.policy.recipients.allow.oneOf.0.domains","typeLabel":"string[]"}},"type":"object","uniqueKey":"data.policy.recipients.allow.oneOf.0","typeLabel":"object"},{"additionalProperties":false,"default":null,"description":"Allowed recipients, or null for no allow-list restriction. An empty rule allows no recipients.","properties":{"addresses":{"default":[],"description":"Exact email addresses matched by this rule.","items":{"format":"email","maxLength":254,"type":"string"},"maxItems":100,"type":"array"},"domains":{"default":[],"description":"Exact domains; subdomains are not included automatically.","items":{"maxLength":253,"pattern":"^(?!-)[a-z0-9-]{1,63}(?\u003c!-)(?:\\.(?!-)[a-z0-9-]{1,63}(?\u003c!-))+$","type":"string"},"maxItems":100,"type":"array"}},"type":"null","uniqueKey":"data.policy.recipients.allow.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.policy.recipients.allow","typeLabel":"object | null"},"deny":{"additionalProperties":false,"default":{},"description":"Blocked recipients; deny rules always take precedence.","properties":{"addresses":{"default":[],"description":"Exact email addresses matched by this rule.","items":{"format":"email","maxLength":254,"type":"string","uniqueKey":"data.policy.recipients.deny.addresses.items.[INDEX]","typeLabel":"string\u003cemail>"},"maxItems":100,"type":"array","uniqueKey":"data.policy.recipients.deny.addresses","typeLabel":"string\u003cemail>[]"},"domains":{"default":[],"description":"Exact domains; subdomains are not included automatically.","items":{"maxLength":253,"pattern":"^(?!-)[a-z0-9-]{1,63}(?\u003c!-)(?:\\.(?!-)[a-z0-9-]{1,63}(?\u003c!-))+$","type":"string","uniqueKey":"data.policy.recipients.deny.domains.items.[INDEX]","typeLabel":"string"},"maxItems":100,"type":"array","uniqueKey":"data.policy.recipients.deny.domains","typeLabel":"string[]"}},"type":"object","uniqueKey":"data.policy.recipients.deny","typeLabel":"object"}},"type":"object","uniqueKey":"data.policy.recipients","typeLabel":"object"}},"type":"object","isRequired":true,"uniqueKey":"data.policy","typeLabel":"object"},"version":{"description":"Current policy version; also returned in ETag.","pattern":"^[a-f0-9]{64}$","type":"string","isRequired":true,"uniqueKey":"data.version","typeLabel":"string"}},"required":["policy","version"],"type":"object","isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"meta":{"request_id":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"},"ok":true,"data":{"policy":{"allowed_from":{},"allowed_reply_to":{},"alternate_from":[],"recipients":{}},"version":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Current sending policy.","headers":{"ETag":{"description":"Exact version to use for conditional reads and replacement.","schema":{"type":"string"}}},"exampleType":"generated"},"c17af5bc-5abd-43ff-8cb6-02bb6a493a73":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable error code","enum":["invalid_parameter","missing_parameter","authentication_required","insufficient_permissions","not_found","conflict","limit_exceeded","idempotency_conflict","payload_too_large","validation_error","rate_limit_exceeded","service_unavailable","internal_error"],"example":"invalid_parameter","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error description","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the caller may safely retry this request. 4xx are typically false (except 429); 5xx are typically true.","example":false,"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"doc_url":{"description":"Link to relevant documentation","type":"string","uniqueKey":"error.doc_url","typeLabel":"string"},"errors":{"description":"Accumulated per-field issues for validation errors. Only present on 400/422 responses.","items":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable issue code from the validator (e.g. zod issue code).","example":"invalid_string","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].code","typeLabel":"string"},"field":{"description":"Dot-path of the offending request field.","example":"recipient.email","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].field","typeLabel":"string"},"message":{"description":"Human-readable issue description.","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","code","message"],"type":"object","uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"error.errors","typeLabel":"object[]"},"param":{"description":"The parameter that caused the error","type":"string","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message","retryable"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"additionalProperties":false,"properties":{"request_id":{"example":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx","type":"string","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"required":["request_id"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"}},"required":["ok","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_parameter","message":"\u003cstring>","retryable":false,"doc_url":"\u003cstring>","errors":[{"code":"invalid_string","field":"recipient.email","message":"\u003cstring>"}],"param":"\u003cstring>"},"meta":{"request_id":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"},"ok":false}}},"exampleType":"generated"}},"description":"Request failed.","exampleType":"generated"},"fd3c3270-d48b-4ab8-acd4-0153e7ad55c7":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable error code","enum":["invalid_parameter","missing_parameter","authentication_required","insufficient_permissions","not_found","conflict","limit_exceeded","idempotency_conflict","payload_too_large","validation_error","rate_limit_exceeded","service_unavailable","internal_error"],"example":"invalid_parameter","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error description","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the caller may safely retry this request. 4xx are typically false (except 429); 5xx are typically true.","example":false,"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"doc_url":{"description":"Link to relevant documentation","type":"string","uniqueKey":"error.doc_url","typeLabel":"string"},"errors":{"description":"Accumulated per-field issues for validation errors. Only present on 400/422 responses.","items":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable issue code from the validator (e.g. zod issue code).","example":"invalid_string","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].code","typeLabel":"string"},"field":{"description":"Dot-path of the offending request field.","example":"recipient.email","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].field","typeLabel":"string"},"message":{"description":"Human-readable issue description.","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","code","message"],"type":"object","uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"error.errors","typeLabel":"object[]"},"param":{"description":"The parameter that caused the error","type":"string","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message","retryable"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"additionalProperties":false,"properties":{"request_id":{"example":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx","type":"string","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"required":["request_id"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"}},"required":["ok","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_parameter","message":"\u003cstring>","retryable":false,"doc_url":"\u003cstring>","errors":[{"code":"invalid_string","field":"recipient.email","message":"\u003cstring>"}],"param":"\u003cstring>"},"meta":{"request_id":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"},"ok":false}}},"exampleType":"generated"}},"description":"Request failed.","exampleType":"generated"},"30a98719-e2ad-420f-89f6-e77099c4775f":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable error code","enum":["invalid_parameter","missing_parameter","authentication_required","insufficient_permissions","not_found","conflict","limit_exceeded","idempotency_conflict","payload_too_large","validation_error","rate_limit_exceeded","service_unavailable","internal_error"],"example":"invalid_parameter","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error description","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the caller may safely retry this request. 4xx are typically false (except 429); 5xx are typically true.","example":false,"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"doc_url":{"description":"Link to relevant documentation","type":"string","uniqueKey":"error.doc_url","typeLabel":"string"},"errors":{"description":"Accumulated per-field issues for validation errors. Only present on 400/422 responses.","items":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable issue code from the validator (e.g. zod issue code).","example":"invalid_string","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].code","typeLabel":"string"},"field":{"description":"Dot-path of the offending request field.","example":"recipient.email","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].field","typeLabel":"string"},"message":{"description":"Human-readable issue description.","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","code","message"],"type":"object","uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"error.errors","typeLabel":"object[]"},"param":{"description":"The parameter that caused the error","type":"string","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message","retryable"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"additionalProperties":false,"properties":{"request_id":{"example":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx","type":"string","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"required":["request_id"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"}},"required":["ok","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_parameter","message":"\u003cstring>","retryable":false,"doc_url":"\u003cstring>","errors":[{"code":"invalid_string","field":"recipient.email","message":"\u003cstring>"}],"param":"\u003cstring>"},"meta":{"request_id":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"},"ok":false}}},"exampleType":"generated"}},"description":"Request failed.","exampleType":"generated"},"bce43b14-57c4-42f0-a420-7d61c18aadce":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable error code","enum":["invalid_parameter","missing_parameter","authentication_required","insufficient_permissions","not_found","conflict","limit_exceeded","idempotency_conflict","payload_too_large","validation_error","rate_limit_exceeded","service_unavailable","internal_error"],"example":"invalid_parameter","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error description","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the caller may safely retry this request. 4xx are typically false (except 429); 5xx are typically true.","example":false,"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"doc_url":{"description":"Link to relevant documentation","type":"string","uniqueKey":"error.doc_url","typeLabel":"string"},"errors":{"description":"Accumulated per-field issues for validation errors. Only present on 400/422 responses.","items":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable issue code from the validator (e.g. zod issue code).","example":"invalid_string","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].code","typeLabel":"string"},"field":{"description":"Dot-path of the offending request field.","example":"recipient.email","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].field","typeLabel":"string"},"message":{"description":"Human-readable issue description.","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","code","message"],"type":"object","uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"error.errors","typeLabel":"object[]"},"param":{"description":"The parameter that caused the error","type":"string","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message","retryable"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"additionalProperties":false,"properties":{"request_id":{"example":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx","type":"string","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"required":["request_id"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"}},"required":["ok","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_parameter","message":"\u003cstring>","retryable":false,"doc_url":"\u003cstring>","errors":[{"code":"invalid_string","field":"recipient.email","message":"\u003cstring>"}],"param":"\u003cstring>"},"meta":{"request_id":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"},"ok":false}}},"exampleType":"generated"}},"description":"Request failed.","exampleType":"generated"},"dc35c175-5b2e-454a-90f5-4804266752c7":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable error code","enum":["invalid_parameter","missing_parameter","authentication_required","insufficient_permissions","not_found","conflict","limit_exceeded","idempotency_conflict","payload_too_large","validation_error","rate_limit_exceeded","service_unavailable","internal_error"],"example":"invalid_parameter","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error description","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the caller may safely retry this request. 4xx are typically false (except 429); 5xx are typically true.","example":false,"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"doc_url":{"description":"Link to relevant documentation","type":"string","uniqueKey":"error.doc_url","typeLabel":"string"},"errors":{"description":"Accumulated per-field issues for validation errors. Only present on 400/422 responses.","items":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable issue code from the validator (e.g. zod issue code).","example":"invalid_string","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].code","typeLabel":"string"},"field":{"description":"Dot-path of the offending request field.","example":"recipient.email","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].field","typeLabel":"string"},"message":{"description":"Human-readable issue description.","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","code","message"],"type":"object","uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"error.errors","typeLabel":"object[]"},"param":{"description":"The parameter that caused the error","type":"string","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message","retryable"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"additionalProperties":false,"properties":{"request_id":{"example":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx","type":"string","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"required":["request_id"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"}},"required":["ok","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_parameter","message":"\u003cstring>","retryable":false,"doc_url":"\u003cstring>","errors":[{"code":"invalid_string","field":"recipient.email","message":"\u003cstring>"}],"param":"\u003cstring>"},"meta":{"request_id":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"},"ok":false}}},"exampleType":"generated"}},"description":"Request failed.","exampleType":"generated"},"27fc83d2-0757-41cc-b73c-b6c5b966fcb4":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable error code","enum":["invalid_parameter","missing_parameter","authentication_required","insufficient_permissions","not_found","conflict","limit_exceeded","idempotency_conflict","payload_too_large","validation_error","rate_limit_exceeded","service_unavailable","internal_error"],"example":"invalid_parameter","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error description","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the caller may safely retry this request. 4xx are typically false (except 429); 5xx are typically true.","example":false,"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"doc_url":{"description":"Link to relevant documentation","type":"string","uniqueKey":"error.doc_url","typeLabel":"string"},"errors":{"description":"Accumulated per-field issues for validation errors. Only present on 400/422 responses.","items":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable issue code from the validator (e.g. zod issue code).","example":"invalid_string","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].code","typeLabel":"string"},"field":{"description":"Dot-path of the offending request field.","example":"recipient.email","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].field","typeLabel":"string"},"message":{"description":"Human-readable issue description.","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","code","message"],"type":"object","uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"error.errors","typeLabel":"object[]"},"param":{"description":"The parameter that caused the error","type":"string","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message","retryable"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"additionalProperties":false,"properties":{"request_id":{"example":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx","type":"string","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"required":["request_id"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"}},"required":["ok","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_parameter","message":"\u003cstring>","retryable":false,"doc_url":"\u003cstring>","errors":[{"code":"invalid_string","field":"recipient.email","message":"\u003cstring>"}],"param":"\u003cstring>"},"meta":{"request_id":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"},"ok":false}}},"exampleType":"generated"}},"description":"Request failed.","exampleType":"generated"},"1dbe4b8f-e186-42f1-8bf2-11c52e791b64":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable error code","enum":["invalid_parameter","missing_parameter","authentication_required","insufficient_permissions","not_found","conflict","limit_exceeded","idempotency_conflict","payload_too_large","validation_error","rate_limit_exceeded","service_unavailable","internal_error"],"example":"invalid_parameter","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error description","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the caller may safely retry this request. 4xx are typically false (except 429); 5xx are typically true.","example":false,"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"doc_url":{"description":"Link to relevant documentation","type":"string","uniqueKey":"error.doc_url","typeLabel":"string"},"errors":{"description":"Accumulated per-field issues for validation errors. Only present on 400/422 responses.","items":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable issue code from the validator (e.g. zod issue code).","example":"invalid_string","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].code","typeLabel":"string"},"field":{"description":"Dot-path of the offending request field.","example":"recipient.email","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].field","typeLabel":"string"},"message":{"description":"Human-readable issue description.","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","code","message"],"type":"object","uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"error.errors","typeLabel":"object[]"},"param":{"description":"The parameter that caused the error","type":"string","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message","retryable"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"additionalProperties":false,"properties":{"request_id":{"example":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx","type":"string","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"required":["request_id"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"}},"required":["ok","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_parameter","message":"\u003cstring>","retryable":false,"doc_url":"\u003cstring>","errors":[{"code":"invalid_string","field":"recipient.email","message":"\u003cstring>"}],"param":"\u003cstring>"},"meta":{"request_id":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"},"ok":false}}},"exampleType":"generated"}},"description":"Request failed.","exampleType":"generated"},"33af0bec-9147-4eb7-b6b0-0843cdcef517":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable error code","enum":["invalid_parameter","missing_parameter","authentication_required","insufficient_permissions","not_found","conflict","limit_exceeded","idempotency_conflict","payload_too_large","validation_error","rate_limit_exceeded","service_unavailable","internal_error"],"example":"invalid_parameter","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error description","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the caller may safely retry this request. 4xx are typically false (except 429); 5xx are typically true.","example":false,"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"doc_url":{"description":"Link to relevant documentation","type":"string","uniqueKey":"error.doc_url","typeLabel":"string"},"errors":{"description":"Accumulated per-field issues for validation errors. Only present on 400/422 responses.","items":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable issue code from the validator (e.g. zod issue code).","example":"invalid_string","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].code","typeLabel":"string"},"field":{"description":"Dot-path of the offending request field.","example":"recipient.email","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].field","typeLabel":"string"},"message":{"description":"Human-readable issue description.","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","code","message"],"type":"object","uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"error.errors","typeLabel":"object[]"},"param":{"description":"The parameter that caused the error","type":"string","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message","retryable"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"additionalProperties":false,"properties":{"request_id":{"example":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx","type":"string","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"required":["request_id"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"}},"required":["ok","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_parameter","message":"\u003cstring>","retryable":false,"doc_url":"\u003cstring>","errors":[{"code":"invalid_string","field":"recipient.email","message":"\u003cstring>"}],"param":"\u003cstring>"},"meta":{"request_id":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"},"ok":false}}},"exampleType":"generated"}},"description":"Request failed.","exampleType":"generated"},"c8c78963-dfbc-479f-8087-a3fe82942437":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable error code","enum":["invalid_parameter","missing_parameter","authentication_required","insufficient_permissions","not_found","conflict","limit_exceeded","idempotency_conflict","payload_too_large","validation_error","rate_limit_exceeded","service_unavailable","internal_error"],"example":"invalid_parameter","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error description","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the caller may safely retry this request. 4xx are typically false (except 429); 5xx are typically true.","example":false,"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"doc_url":{"description":"Link to relevant documentation","type":"string","uniqueKey":"error.doc_url","typeLabel":"string"},"errors":{"description":"Accumulated per-field issues for validation errors. Only present on 400/422 responses.","items":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable issue code from the validator (e.g. zod issue code).","example":"invalid_string","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].code","typeLabel":"string"},"field":{"description":"Dot-path of the offending request field.","example":"recipient.email","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].field","typeLabel":"string"},"message":{"description":"Human-readable issue description.","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","code","message"],"type":"object","uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"error.errors","typeLabel":"object[]"},"param":{"description":"The parameter that caused the error","type":"string","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message","retryable"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"additionalProperties":false,"properties":{"request_id":{"example":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx","type":"string","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"required":["request_id"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"}},"required":["ok","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_parameter","message":"\u003cstring>","retryable":false,"doc_url":"\u003cstring>","errors":[{"code":"invalid_string","field":"recipient.email","message":"\u003cstring>"}],"param":"\u003cstring>"},"meta":{"request_id":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"},"ok":false}}},"exampleType":"generated"}},"description":"Request failed.","exampleType":"generated"},"9292430c-728d-4a0d-abb5-bf4e253420f2":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"error":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable error code","enum":["invalid_parameter","missing_parameter","authentication_required","insufficient_permissions","not_found","conflict","limit_exceeded","idempotency_conflict","payload_too_large","validation_error","rate_limit_exceeded","service_unavailable","internal_error"],"example":"invalid_parameter","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human-readable error description","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether the caller may safely retry this request. 4xx are typically false (except 429); 5xx are typically true.","example":false,"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"doc_url":{"description":"Link to relevant documentation","type":"string","uniqueKey":"error.doc_url","typeLabel":"string"},"errors":{"description":"Accumulated per-field issues for validation errors. Only present on 400/422 responses.","items":{"additionalProperties":false,"properties":{"code":{"description":"Machine-readable issue code from the validator (e.g. zod issue code).","example":"invalid_string","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].code","typeLabel":"string"},"field":{"description":"Dot-path of the offending request field.","example":"recipient.email","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].field","typeLabel":"string"},"message":{"description":"Human-readable issue description.","type":"string","isRequired":true,"uniqueKey":"error.errors.items.[INDEX].message","typeLabel":"string"}},"required":["field","code","message"],"type":"object","uniqueKey":"error.errors.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"error.errors","typeLabel":"object[]"},"param":{"description":"The parameter that caused the error","type":"string","uniqueKey":"error.param","typeLabel":"string"}},"required":["code","message","retryable"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"additionalProperties":false,"properties":{"request_id":{"example":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx","type":"string","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"required":["request_id"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"ok":{"enum":[false],"type":"boolean","isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"}},"required":["ok","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_parameter","message":"\u003cstring>","retryable":false,"doc_url":"\u003cstring>","errors":[{"code":"invalid_string","field":"recipient.email","message":"\u003cstring>"}],"param":"\u003cstring>"},"meta":{"request_id":"req_clxxxxxxxxxxxxxxxxxxxxxxxxx"},"ok":false}}},"exampleType":"generated"}},"description":"Request failed.","exampleType":"generated"}},"security":{"32513b81-1487-4d4e-bdd0-27fcda4d72e0":{"bearerAuth":{"bearerFormat":"API Key","description":"Qubrics API key. Use a root API key for Management API routes, or a mailbox credential for Mailbox API routes. Obtain keys from the dashboard under API Keys.","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"}},"c9b28e76-dc5b-4535-ba1d-1d2a28ff5b27":{"oauth2":{"description":"Use the authorisation-code flow with S256 PKCE and resource=https://qubrics.com/api. The user selects the team, API access and mailboxes during consent. OAuth access tokens authenticate HTTP API requests; use separate credentials for SMTP and IMAP.","flows":{"authorizationCode":{"authorizationUrl":"https://app.qubrics.com/oauth/authorize","refreshUrl":"https://app.qubrics.com/oauth/token","scopes":{"analytics.*":"All analytics operations","analytics.read":"View key usage analytics and verification logs","billing.*":"All billing operations","billing.auto_topup":"Configure auto top-up settings","billing.read":"View balance, transactions, invoices","billing.topup":"Purchase balance top-ups","calendar.read":"Read calendars and events in this mailbox","calendar.write":"Create calendars and create, edit and delete events in this mailbox","domain.*":"All domain operations","domain.create":"Add sending domains","domain.delete":"Remove domains","domain.read":"List/view domains and DNS status","domain.verify":"Trigger domain verification","email.receive":"Authorise email reception","email.send":"Send email through the HTTP API","key.*":"All key management operations","key.create":"Create new API keys (both root and mailbox)","key.read":"List/view API keys and their metadata","key.revoke":"Revoke API keys","key.rotate":"Rotate API keys","logs.*":"All log operations","logs.read":"View delivery logs","mailbox.admin.*":"All mailbox admin operations","mailbox.admin.create":"Create mailboxes (admin-level)","mailbox.admin.delete":"Delete mailboxes (admin-level)","mailbox.admin.manage":"Manage all mailbox settings","mailbox.admin.read":"List/view mailboxes (admin-level)","mailbox.drafts.write":"Create and edit saved mailbox drafts","mailbox.read":"Read mailbox contents (folders, messages)","mailbox.settings.update":"Update own mailbox settings (signature, auto-reply)","provider.*":"All provider operations","provider.create":"Add email provider accounts (Google, Microsoft, SMTP)","provider.delete":"Remove provider accounts","provider.read":"List/view provider accounts and connection status","provider.update":"Update provider settings, refresh tokens","routing.*":"All routing operations","routing.create":"Create delivery groups","routing.delete":"Remove delivery groups","routing.read":"List/view delivery groups and routing rules","routing.update":"Update delivery group configuration","team.*":"All team operations","team.members.invite":"Invite team members","team.members.remove":"Remove team members","team.members.roles":"Change member roles","team.read":"View team settings and members","team.update":"Update team settings","webhook.*":"All webhook operations","webhook.create":"Create webhook subscriptions","webhook.delete":"Delete webhook subscriptions","webhook.manage":"Rotate signing secret + send test events","webhook.read":"List/view webhook subscriptions","webhook.update":"Update webhook URL, event types, enabled flag"},"tokenUrl":"https://app.qubrics.com/oauth/token"}},"type":"oauth2","scopes":["team.update"],"schemeName":"oauth2"}},"363bec9c-7232-4aa6-930a-af5657bd2127":{"oauth2":{"description":"Use the authorisation-code flow with S256 PKCE and resource=https://qubrics.com/api. The user selects the team, API access and mailboxes during consent. OAuth access tokens authenticate HTTP API requests; use separate credentials for SMTP and IMAP.","flows":{"authorizationCode":{"authorizationUrl":"https://app.qubrics.com/oauth/authorize","refreshUrl":"https://app.qubrics.com/oauth/token","scopes":{"analytics.*":"All analytics operations","analytics.read":"View key usage analytics and verification logs","billing.*":"All billing operations","billing.auto_topup":"Configure auto top-up settings","billing.read":"View balance, transactions, invoices","billing.topup":"Purchase balance top-ups","calendar.read":"Read calendars and events in this mailbox","calendar.write":"Create calendars and create, edit and delete events in this mailbox","domain.*":"All domain operations","domain.create":"Add sending domains","domain.delete":"Remove domains","domain.read":"List/view domains and DNS status","domain.verify":"Trigger domain verification","email.receive":"Authorise email reception","email.send":"Send email through the HTTP API","key.*":"All key management operations","key.create":"Create new API keys (both root and mailbox)","key.read":"List/view API keys and their metadata","key.revoke":"Revoke API keys","key.rotate":"Rotate API keys","logs.*":"All log operations","logs.read":"View delivery logs","mailbox.admin.*":"All mailbox admin operations","mailbox.admin.create":"Create mailboxes (admin-level)","mailbox.admin.delete":"Delete mailboxes (admin-level)","mailbox.admin.manage":"Manage all mailbox settings","mailbox.admin.read":"List/view mailboxes (admin-level)","mailbox.drafts.write":"Create and edit saved mailbox drafts","mailbox.read":"Read mailbox contents (folders, messages)","mailbox.settings.update":"Update own mailbox settings (signature, auto-reply)","provider.*":"All provider operations","provider.create":"Add email provider accounts (Google, Microsoft, SMTP)","provider.delete":"Remove provider accounts","provider.read":"List/view provider accounts and connection status","provider.update":"Update provider settings, refresh tokens","routing.*":"All routing operations","routing.create":"Create delivery groups","routing.delete":"Remove delivery groups","routing.read":"List/view delivery groups and routing rules","routing.update":"Update delivery group configuration","team.*":"All team operations","team.members.invite":"Invite team members","team.members.remove":"Remove team members","team.members.roles":"Change member roles","team.read":"View team settings and members","team.update":"Update team settings","webhook.*":"All webhook operations","webhook.create":"Create webhook subscriptions","webhook.delete":"Delete webhook subscriptions","webhook.manage":"Rotate signing secret + send test events","webhook.read":"List/view webhook subscriptions","webhook.update":"Update webhook URL, event types, enabled flag"},"tokenUrl":"https://app.qubrics.com/oauth/token"}},"type":"oauth2","scopes":["mailbox.admin.manage"],"schemeName":"oauth2"}},"8e735212-ec19-484f-bf5c-ca016eb09c4c":{"oauth2":{"description":"Use the authorisation-code flow with S256 PKCE and resource=https://qubrics.com/api. The user selects the team, API access and mailboxes during consent. OAuth access tokens authenticate HTTP API requests; use separate credentials for SMTP and IMAP.","flows":{"authorizationCode":{"authorizationUrl":"https://app.qubrics.com/oauth/authorize","refreshUrl":"https://app.qubrics.com/oauth/token","scopes":{"analytics.*":"All analytics operations","analytics.read":"View key usage analytics and verification logs","billing.*":"All billing operations","billing.auto_topup":"Configure auto top-up settings","billing.read":"View balance, transactions, invoices","billing.topup":"Purchase balance top-ups","calendar.read":"Read calendars and events in this mailbox","calendar.write":"Create calendars and create, edit and delete events in this mailbox","domain.*":"All domain operations","domain.create":"Add sending domains","domain.delete":"Remove domains","domain.read":"List/view domains and DNS status","domain.verify":"Trigger domain verification","email.receive":"Authorise email reception","email.send":"Send email through the HTTP API","key.*":"All key management operations","key.create":"Create new API keys (both root and mailbox)","key.read":"List/view API keys and their metadata","key.revoke":"Revoke API keys","key.rotate":"Rotate API keys","logs.*":"All log operations","logs.read":"View delivery logs","mailbox.admin.*":"All mailbox admin operations","mailbox.admin.create":"Create mailboxes (admin-level)","mailbox.admin.delete":"Delete mailboxes (admin-level)","mailbox.admin.manage":"Manage all mailbox settings","mailbox.admin.read":"List/view mailboxes (admin-level)","mailbox.drafts.write":"Create and edit saved mailbox drafts","mailbox.read":"Read mailbox contents (folders, messages)","mailbox.settings.update":"Update own mailbox settings (signature, auto-reply)","provider.*":"All provider operations","provider.create":"Add email provider accounts (Google, Microsoft, SMTP)","provider.delete":"Remove provider accounts","provider.read":"List/view provider accounts and connection status","provider.update":"Update provider settings, refresh tokens","routing.*":"All routing operations","routing.create":"Create delivery groups","routing.delete":"Remove delivery groups","routing.read":"List/view delivery groups and routing rules","routing.update":"Update delivery group configuration","team.*":"All team operations","team.members.invite":"Invite team members","team.members.remove":"Remove team members","team.members.roles":"Change member roles","team.read":"View team settings and members","team.update":"Update team settings","webhook.*":"All webhook operations","webhook.create":"Create webhook subscriptions","webhook.delete":"Delete webhook subscriptions","webhook.manage":"Rotate signing secret + send test events","webhook.read":"List/view webhook subscriptions","webhook.update":"Update webhook URL, event types, enabled flag"},"tokenUrl":"https://app.qubrics.com/oauth/token"}},"type":"oauth2","scopes":["key.*"],"schemeName":"oauth2"}}},"servers":{"4330994b-0d72-4d00-90b6-f20843fdaad6":{"description":"API v1","url":"https://app.qubrics.com/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"bearerFormat":"API Key","description":"Qubrics API key. Use a root API key for Management API routes, or a mailbox credential for Mailbox API routes. Obtain keys from the dashboard under API Keys.","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Qubrics API key. Use a root API key for Management API routes, or a mailbox credential for Mailbox API routes. Obtain keys from the dashboard under API Keys.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"description":"Use the authorisation-code flow with S256 PKCE and resource=https://qubrics.com/api. The user selects the team, API access and mailboxes during consent. OAuth access tokens authenticate HTTP API requests; use separate credentials for SMTP and IMAP.","flows":{"authorizationCode":{"authorizationUrl":"https://app.qubrics.com/oauth/authorize","refreshUrl":"https://app.qubrics.com/oauth/token","scopes":{"analytics.*":"All analytics operations","analytics.read":"View key usage analytics and verification logs","billing.*":"All billing operations","billing.auto_topup":"Configure auto top-up settings","billing.read":"View balance, transactions, invoices","billing.topup":"Purchase balance top-ups","calendar.read":"Read calendars and events in this mailbox","calendar.write":"Create calendars and create, edit and delete events in this mailbox","domain.*":"All domain operations","domain.create":"Add sending domains","domain.delete":"Remove domains","domain.read":"List/view domains and DNS status","domain.verify":"Trigger domain verification","email.receive":"Authorise email reception","email.send":"Send email through the HTTP API","key.*":"All key management operations","key.create":"Create new API keys (both root and mailbox)","key.read":"List/view API keys and their metadata","key.revoke":"Revoke API keys","key.rotate":"Rotate API keys","logs.*":"All log operations","logs.read":"View delivery logs","mailbox.admin.*":"All mailbox admin operations","mailbox.admin.create":"Create mailboxes (admin-level)","mailbox.admin.delete":"Delete mailboxes (admin-level)","mailbox.admin.manage":"Manage all mailbox settings","mailbox.admin.read":"List/view mailboxes (admin-level)","mailbox.drafts.write":"Create and edit saved mailbox drafts","mailbox.read":"Read mailbox contents (folders, messages)","mailbox.settings.update":"Update own mailbox settings (signature, auto-reply)","provider.*":"All provider operations","provider.create":"Add email provider accounts (Google, Microsoft, SMTP)","provider.delete":"Remove provider accounts","provider.read":"List/view provider accounts and connection status","provider.update":"Update provider settings, refresh tokens","routing.*":"All routing operations","routing.create":"Create delivery groups","routing.delete":"Remove delivery groups","routing.read":"List/view delivery groups and routing rules","routing.update":"Update delivery group configuration","team.*":"All team operations","team.members.invite":"Invite team members","team.members.remove":"Remove team members","team.members.roles":"Change member roles","team.read":"View team settings and members","team.update":"Update team settings","webhook.*":"All webhook operations","webhook.create":"Create webhook subscriptions","webhook.delete":"Delete webhook subscriptions","webhook.manage":"Rotate signing secret + send test events","webhook.read":"List/view webhook subscriptions","webhook.update":"Update webhook URL, event types, enabled flag"},"tokenUrl":"https://app.qubrics.com/oauth/token"}},"type":"oauth2","scopes":["team.update"],"schemeName":"oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"Use the authorisation-code flow with S256 PKCE and resource=https://qubrics.com/api. The user selects the team, API access and mailboxes during consent. OAuth access tokens authenticate HTTP API requests; use separate credentials for SMTP and IMAP.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"},{"schemes":[{"scheme":{"description":"Use the authorisation-code flow with S256 PKCE and resource=https://qubrics.com/api. The user selects the team, API access and mailboxes during consent. OAuth access tokens authenticate HTTP API requests; use separate credentials for SMTP and IMAP.","flows":{"authorizationCode":{"authorizationUrl":"https://app.qubrics.com/oauth/authorize","refreshUrl":"https://app.qubrics.com/oauth/token","scopes":{"analytics.*":"All analytics operations","analytics.read":"View key usage analytics and verification logs","billing.*":"All billing operations","billing.auto_topup":"Configure auto top-up settings","billing.read":"View balance, transactions, invoices","billing.topup":"Purchase balance top-ups","calendar.read":"Read calendars and events in this mailbox","calendar.write":"Create calendars and create, edit and delete events in this mailbox","domain.*":"All domain operations","domain.create":"Add sending domains","domain.delete":"Remove domains","domain.read":"List/view domains and DNS status","domain.verify":"Trigger domain verification","email.receive":"Authorise email reception","email.send":"Send email through the HTTP API","key.*":"All key management operations","key.create":"Create new API keys (both root and mailbox)","key.read":"List/view API keys and their metadata","key.revoke":"Revoke API keys","key.rotate":"Rotate API keys","logs.*":"All log operations","logs.read":"View delivery logs","mailbox.admin.*":"All mailbox admin operations","mailbox.admin.create":"Create mailboxes (admin-level)","mailbox.admin.delete":"Delete mailboxes (admin-level)","mailbox.admin.manage":"Manage all mailbox settings","mailbox.admin.read":"List/view mailboxes (admin-level)","mailbox.drafts.write":"Create and edit saved mailbox drafts","mailbox.read":"Read mailbox contents (folders, messages)","mailbox.settings.update":"Update own mailbox settings (signature, auto-reply)","provider.*":"All provider operations","provider.create":"Add email provider accounts (Google, Microsoft, SMTP)","provider.delete":"Remove provider accounts","provider.read":"List/view provider accounts and connection status","provider.update":"Update provider settings, refresh tokens","routing.*":"All routing operations","routing.create":"Create delivery groups","routing.delete":"Remove delivery groups","routing.read":"List/view delivery groups and routing rules","routing.update":"Update delivery group configuration","team.*":"All team operations","team.members.invite":"Invite team members","team.members.remove":"Remove team members","team.members.roles":"Change member roles","team.read":"View team settings and members","team.update":"Update team settings","webhook.*":"All webhook operations","webhook.create":"Create webhook subscriptions","webhook.delete":"Delete webhook subscriptions","webhook.manage":"Rotate signing secret + send test events","webhook.read":"List/view webhook subscriptions","webhook.update":"Update webhook URL, event types, enabled flag"},"tokenUrl":"https://app.qubrics.com/oauth/token"}},"type":"oauth2","scopes":["mailbox.admin.manage"],"schemeName":"oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"Use the authorisation-code flow with S256 PKCE and resource=https://qubrics.com/api. The user selects the team, API access and mailboxes during consent. OAuth access tokens authenticate HTTP API requests; use separate credentials for SMTP and IMAP.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"},{"schemes":[{"scheme":{"description":"Use the authorisation-code flow with S256 PKCE and resource=https://qubrics.com/api. The user selects the team, API access and mailboxes during consent. OAuth access tokens authenticate HTTP API requests; use separate credentials for SMTP and IMAP.","flows":{"authorizationCode":{"authorizationUrl":"https://app.qubrics.com/oauth/authorize","refreshUrl":"https://app.qubrics.com/oauth/token","scopes":{"analytics.*":"All analytics operations","analytics.read":"View key usage analytics and verification logs","billing.*":"All billing operations","billing.auto_topup":"Configure auto top-up settings","billing.read":"View balance, transactions, invoices","billing.topup":"Purchase balance top-ups","calendar.read":"Read calendars and events in this mailbox","calendar.write":"Create calendars and create, edit and delete events in this mailbox","domain.*":"All domain operations","domain.create":"Add sending domains","domain.delete":"Remove domains","domain.read":"List/view domains and DNS status","domain.verify":"Trigger domain verification","email.receive":"Authorise email reception","email.send":"Send email through the HTTP API","key.*":"All key management operations","key.create":"Create new API keys (both root and mailbox)","key.read":"List/view API keys and their metadata","key.revoke":"Revoke API keys","key.rotate":"Rotate API keys","logs.*":"All log operations","logs.read":"View delivery logs","mailbox.admin.*":"All mailbox admin operations","mailbox.admin.create":"Create mailboxes (admin-level)","mailbox.admin.delete":"Delete mailboxes (admin-level)","mailbox.admin.manage":"Manage all mailbox settings","mailbox.admin.read":"List/view mailboxes (admin-level)","mailbox.drafts.write":"Create and edit saved mailbox drafts","mailbox.read":"Read mailbox contents (folders, messages)","mailbox.settings.update":"Update own mailbox settings (signature, auto-reply)","provider.*":"All provider operations","provider.create":"Add email provider accounts (Google, Microsoft, SMTP)","provider.delete":"Remove provider accounts","provider.read":"List/view provider accounts and connection status","provider.update":"Update provider settings, refresh tokens","routing.*":"All routing operations","routing.create":"Create delivery groups","routing.delete":"Remove delivery groups","routing.read":"List/view delivery groups and routing rules","routing.update":"Update delivery group configuration","team.*":"All team operations","team.members.invite":"Invite team members","team.members.remove":"Remove team members","team.members.roles":"Change member roles","team.read":"View team settings and members","team.update":"Update team settings","webhook.*":"All webhook operations","webhook.create":"Create webhook subscriptions","webhook.delete":"Delete webhook subscriptions","webhook.manage":"Rotate signing secret + send test events","webhook.read":"List/view webhook subscriptions","webhook.update":"Update webhook URL, event types, enabled flag"},"tokenUrl":"https://app.qubrics.com/oauth/token"}},"type":"oauth2","scopes":["key.*"],"schemeName":"oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"Use the authorisation-code flow with S256 PKCE and resource=https://qubrics.com/api. The user selects the team, API access and mailboxes during consent. OAuth access tokens authenticate HTTP API requests; use separate credentials for SMTP and IMAP.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"}]},"originalFileLocation":"openapi-app.json"},"subdomain":"sendmux","siteName":"Qubrics","title":"Replace a sending policy - Qubrics","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-03T12:18:40.223Z","originalFileLocation":"api/mailboxes/replace-a-sending-policy.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Qubrics\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sendmux/F4atzrrDO9okNEWg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/sendmux/F4atzrrDO9okNEWg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sendmux/F4atzrrDO9okNEWg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sendmux/F4atzrrDO9okNEWg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sendmux/F4atzrrDO9okNEWg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sendmux/F4atzrrDO9okNEWg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sendmux/F4atzrrDO9okNEWg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sendmux/F4atzrrDO9okNEWg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sendmux/F4atzrrDO9okNEWg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Replace a sending policy - Qubrics\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Qubrics\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://qubrics.com/docs/api/mailboxes/replace-a-sending-policy\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sendmux.mintlify.site/docs/_mintlify/api/og/v2?division=Sending+policies\u0026amp;title=Replace+a+sending+policy\u0026amp;description=Sender%2C+Reply-To+and+recipient+restrictions+intersect+across+team%2C+inbox+and+credential+policies.+Requires+an+administrative+connection%3A+team.read%2Fteam.update+f\u0026amp;theme=8d3480837e3238732b09c327\u0026amp;signature=e0bfa03b5347f555afa9f649290f8ef67f08a87d71f0d56044f36c3aa4879019\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Replace a sending policy - Qubrics\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sendmux.mintlify.site/docs/_mintlify/api/og/v2?division=Sending+policies\u0026amp;title=Replace+a+sending+policy\u0026amp;description=Sender%2C+Reply-To+and+recipient+restrictions+intersect+across+team%2C+inbox+and+credential+policies.+Requires+an+administrative+connection%3A+team.read%2Fteam.update+f\u0026amp;theme=8d3480837e3238732b09c327\u0026amp;signature=e0bfa03b5347f555afa9f649290f8ef67f08a87d71f0d56044f36c3aa4879019\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/sendmux/F4atzrrDO9okNEWg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Qubrics\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6a75f1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://qubrics.com/docs/api/mailboxes/replace-a-sending-policy\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api/mailboxes/replace-a-sending-policy.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://qubrics.com/#organization\",\"name\":\"Qubrics\",\"url\":\"https://qubrics.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sendmux/9EML6-L2IAWgIXVX/images/logo-light.svg?fit=max\u0026auto=format\u0026n=9EML6-L2IAWgIXVX\u0026q=85\u0026s=0d301b6a4a28e21cf585335973584967\"}},{\"@type\":\"WebSite\",\"@id\":\"https://qubrics.com/docs#website\",\"name\":\"Qubrics\",\"url\":\"https://qubrics.com/docs\",\"publisher\":{\"@id\":\"https://qubrics.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://qubrics.com/docs/api/mailboxes/replace-a-sending-policy#webpage\",\"url\":\"https://qubrics.com/docs/api/mailboxes/replace-a-sending-policy\",\"name\":\"Replace a sending policy\",\"description\":\"Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.\",\"dateModified\":\"2026-11-03T12:18:40.223Z\",\"isPartOf\":{\"@id\":\"https://qubrics.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://qubrics.com/docs/api/mailboxes/replace-a-sending-policy#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://qubrics.com/docs/api/mailboxes/replace-a-sending-policy#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Sending policies\",\"item\":\"https://qubrics.com/docs/api/mailboxes/get-a-sending-policy\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Replace a sending policy\",\"item\":\"https://qubrics.com/docs/api/mailboxes/replace-a-sending-policy\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://qubrics.com/docs/api/mailboxes/replace-a-sending-policy#apireference\",\"headline\":\"Replace a sending policy\",\"name\":\"Replace a sending policy\",\"description\":\"Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.\",\"url\":\"https://qubrics.com/docs/api/mailboxes/replace-a-sending-policy\",\"mainEntityOfPage\":{\"@id\":\"https://qubrics.com/docs/api/mailboxes/replace-a-sending-policy#webpage\"},\"dateModified\":\"2026-11-03T12:18:40.223Z\",\"publisher\":{\"@id\":\"https://qubrics.com/#organization\"},\"isPartOf\":{\"@id\":\"https://qubrics.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Qubrics\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Qubrics\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api/mailboxes/replace-a-sending-policy.md","siteName":"Qubrics","nav":{"global":{"anchors":[{"anchor":"App","href":"https://app.qubrics.com"},{"anchor":"Website","href":"https://qubrics.com"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Management API","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api/introduction"},{"title":"Errors","href":"/api/errors"},{"title":"Get Management connection","deprecated":null,"version":null,"openapi":"/openapi-app.json get /me","href":"/api/connection/get-management-connection"}]},{"group":"Domains","pages":[{"title":"List mailbox domains","deprecated":null,"version":null,"openapi":"/openapi-app.json get /domains","href":"/api/domains/list-mailbox-domains"},{"title":"Add a mailbox domain","deprecated":null,"version":null,"openapi":"/openapi-app.json post /domains","href":"/api/domains/add-a-mailbox-domain"},{"title":"Get a mailbox domain","deprecated":null,"version":null,"openapi":"/openapi-app.json get /domains/{public_id}","href":"/api/domains/get-a-mailbox-domain"},{"title":"Update a mailbox domain","deprecated":null,"version":null,"openapi":"/openapi-app.json patch /domains/{public_id}","href":"/api/domains/update-a-mailbox-domain"},{"title":"Download a domain as a zone file","deprecated":null,"version":null,"openapi":"/openapi-app.json get /domains/{public_id}/zone-file","href":"/api/domains/download-a-domain-as-a-zone-file"},{"title":"Verify a mailbox domain","deprecated":null,"version":null,"openapi":"/openapi-app.json post /domains/{public_id}/verify","href":"/api/domains/verify-a-mailbox-domain"},{"title":"Delete a mailbox domain","deprecated":null,"version":null,"openapi":"/openapi-app.json delete /domains/{public_id}","href":"/api/domains/delete-a-mailbox-domain"},{"title":"Get domain-wide sender filters","deprecated":null,"version":null,"openapi":"/openapi-app.json get /domains/{public_id}/filters","href":"/api/domain-filters/get-domain-wide-sender-filters"},{"title":"Replace domain-wide sender filters","deprecated":null,"version":null,"openapi":"/openapi-app.json put /domains/{public_id}/filters","href":"/api/domain-filters/replace-domain-wide-sender-filters"}]},{"group":"Mailboxes","pages":[{"title":"List mailboxes","deprecated":null,"version":null,"openapi":"/openapi-app.json get /mailboxes","href":"/api/mailboxes/list-mailboxes"},{"title":"Create a mailbox","deprecated":null,"version":null,"openapi":"/openapi-app.json post /mailboxes","href":"/api/mailboxes/create-a-mailbox"},{"title":"Get a mailbox","deprecated":null,"version":null,"openapi":"/openapi-app.json get /mailboxes/{public_id}","href":"/api/mailboxes/get-a-mailbox"},{"title":"Read mailbox costs","deprecated":null,"version":null,"openapi":"/openapi-app.json get /mailboxes/{public_id}/usage","href":"/api/mailboxes/read-mailbox-costs"},{"title":"Update a mailbox","deprecated":null,"version":null,"openapi":"/openapi-app.json patch /mailboxes/{public_id}","href":"/api/mailboxes/update-a-mailbox"},{"title":"Delete a mailbox","deprecated":null,"version":null,"openapi":"/openapi-app.json delete /mailboxes/{public_id}","href":"/api/mailboxes/delete-a-mailbox"},{"title":"Suspend a mailbox","deprecated":null,"version":null,"openapi":"/openapi-app.json post /mailboxes/{public_id}/suspend","href":"/api/mailboxes/suspend-a-mailbox"},{"title":"Resume a mailbox","deprecated":null,"version":null,"openapi":"/openapi-app.json post /mailboxes/{public_id}/resume","href":"/api/mailboxes/resume-a-mailbox"},{"title":"Get mailbox sender filters","deprecated":null,"version":null,"openapi":"/openapi-app.json get /mailboxes/{public_id}/filters","href":"/api/mailbox-filters/get-mailbox-sender-filters"},{"title":"Replace mailbox sender filters","deprecated":null,"version":null,"openapi":"/openapi-app.json put /mailboxes/{public_id}/filters","href":"/api/mailbox-filters/replace-mailbox-sender-filters"},{"title":"Create a mailbox API key","deprecated":null,"version":null,"openapi":"/openapi-app.json post /mailboxes/{public_id}/keys","href":"/api/mailboxes/create-a-mailbox-api-key"},{"title":"Revoke a mailbox API key","deprecated":null,"version":null,"openapi":"/openapi-app.json delete /mailboxes/{public_id}/keys/{key_id}","href":"/api/mailboxes/revoke-a-mailbox-api-key"}]},{"group":"Inbox logs","pages":[{"title":"List incoming logs","deprecated":null,"version":null,"openapi":"/openapi-app.json get /inboxes/logs","href":"/api/inboxes/list-incoming-logs"},{"title":"Get incoming log","deprecated":null,"version":null,"openapi":"/openapi-app.json get /inboxes/logs/{public_id}","href":"/api/inboxes/get-incoming-log"}]},{"group":"Sending accounts","pages":[{"title":"Get sending account statistics","deprecated":null,"version":null,"openapi":"/openapi-app.json get /providers/stats","href":"/api/sending-accounts/get-sending-account-statistics"},{"title":"Get sending account limits","deprecated":null,"version":null,"openapi":"/openapi-app.json get /providers/limits","href":"/api/sending-accounts/get-sending-account-limits"},{"title":"Request a sending account limit increase","deprecated":null,"version":null,"openapi":"/openapi-app.json post /providers/limits/sending-accounts/request-increase","href":"/api/sending-accounts/request-a-sending-account-limit-increase"},{"title":"Get shared Amazon SES limit request state","deprecated":null,"version":null,"openapi":"/openapi-app.json get /providers/shared-amazon-ses-limit-request","href":"/api/sending-accounts/get-shared-amazon-ses-limit-request-state"},{"title":"Request a shared Amazon SES daily limit increase","deprecated":null,"version":null,"openapi":"/openapi-app.json post /providers/shared-amazon-ses-limit-request","href":"/api/sending-accounts/request-a-shared-amazon-ses-daily-limit-increase"},{"title":"Cancel a shared Amazon SES daily limit request","deprecated":null,"version":null,"openapi":"/openapi-app.json delete /providers/shared-amazon-ses-limit-request/{request_id}","href":"/api/sending-accounts/cancel-a-shared-amazon-ses-daily-limit-request"},{"title":"Get sending account usage","deprecated":null,"version":null,"openapi":"/openapi-app.json get /providers/usage","href":"/api/sending-accounts/get-sending-account-usage"},{"title":"List sending accounts","deprecated":null,"version":null,"openapi":"/openapi-app.json get /providers","href":"/api/sending-accounts/list-sending-accounts"},{"title":"Create an SMTP sending account","deprecated":null,"version":null,"openapi":"/openapi-app.json post /providers","href":"/api/sending-accounts/create-an-smtp-sending-account"},{"title":"Get a sending account","deprecated":null,"version":null,"openapi":"/openapi-app.json get /providers/{public_id}","href":"/api/sending-accounts/get-a-sending-account"},{"title":"Update a sending account","deprecated":null,"version":null,"openapi":"/openapi-app.json patch /providers/{public_id}","href":"/api/sending-accounts/update-a-sending-account"},{"title":"Delete a sending account","deprecated":null,"version":null,"openapi":"/openapi-app.json delete /providers/{public_id}","href":"/api/sending-accounts/delete-a-sending-account"},{"title":"Activate a sending account","deprecated":null,"version":null,"openapi":"/openapi-app.json post /providers/{public_id}/activate","href":"/api/sending-accounts/activate-a-sending-account"},{"title":"Deactivate a sending account","deprecated":null,"version":null,"openapi":"/openapi-app.json post /providers/{public_id}/deactivate","href":"/api/sending-accounts/deactivate-a-sending-account"},{"title":"Test an SMTP sending account","deprecated":null,"version":null,"openapi":"/openapi-app.json post /providers/{public_id}/test","href":"/api/sending-accounts/test-an-smtp-sending-account"}]},{"group":"Sending policies","pages":[{"title":"Get a sending policy","description":"Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.","deprecated":null,"version":null,"openapi":"/openapi-app.json get /mailbox-send-policies/{scope}/{public_id}","href":"/api/mailboxes/get-a-sending-policy"},{"title":"Replace a sending policy","deprecated":null,"version":null,"openapi":"/openapi-app.json put /mailbox-send-policies/{scope}/{public_id}","href":"/api/mailboxes/replace-a-sending-policy"}]},{"group":"Emails","pages":[{"title":"Get email metrics","description":"Returns aggregated email delivery counts with flexible time windowing and comparison period.","deprecated":null,"version":null,"openapi":"/openapi-app.json get /emails/metrics","href":"/api/emails/get-email-metrics"},{"title":"List delivery logs","deprecated":null,"version":null,"openapi":"/openapi-app.json get /emails/logs","href":"/api/emails/list-delivery-logs"},{"title":"Get delivery log","deprecated":null,"version":null,"openapi":"/openapi-app.json get /emails/logs/{public_id}","href":"/api/emails/get-delivery-log"}]},{"group":"Billing","pages":[{"title":"Get current balance","deprecated":null,"version":null,"openapi":"/openapi-app.json get /billing/balance","href":"/api/billing/get-current-balance"},{"title":"Get spend summary","deprecated":null,"version":null,"openapi":"/openapi-app.json get /billing/summary","href":"/api/billing/get-spend-summary"},{"title":"List transactions","deprecated":null,"version":null,"openapi":"/openapi-app.json get /billing/transactions","href":"/api/billing/list-transactions"}]},{"group":"Webhooks","pages":[{"title":"List webhook subscriptions","deprecated":null,"version":null,"openapi":"/openapi-app.json get /webhooks","href":"/api/webhooks/list-webhook-subscriptions"},{"title":"Create a webhook subscription","deprecated":null,"version":null,"openapi":"/openapi-app.json post /webhooks","href":"/api/webhooks/create-a-webhook-subscription"},{"title":"Get a webhook subscription","deprecated":null,"version":null,"openapi":"/openapi-app.json get /webhooks/{public_id}","href":"/api/webhooks/get-a-webhook-subscription"},{"title":"List webhook delivery attempts","deprecated":null,"version":null,"openapi":"/openapi-app.json get /webhooks/{public_id}/deliveries","href":"/api/webhooks/list-webhook-delivery-attempts"},{"title":"Get a webhook delivery payload","deprecated":null,"version":null,"openapi":"/openapi-app.json get /webhooks/{public_id}/deliveries/{delivery_id}/payload","href":"/api/webhooks/get-a-webhook-delivery-payload"},{"title":"Update a webhook subscription","deprecated":null,"version":null,"openapi":"/openapi-app.json patch /webhooks/{public_id}","href":"/api/webhooks/update-a-webhook-subscription"},{"title":"Delete a webhook subscription","deprecated":null,"version":null,"openapi":"/openapi-app.json delete /webhooks/{public_id}","href":"/api/webhooks/delete-a-webhook-subscription"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/openapi-app.json post /webhooks/{public_id}/rotate-secret","href":"/api/webhooks/rotate-the-signing-secret"},{"title":"Send a synthetic test event","deprecated":null,"version":null,"openapi":"/openapi-app.json post /webhooks/{public_id}/test","href":"/api/webhooks/send-a-synthetic-test-event"}]}]},{"tab":"Mailbox API","pages":[{"title":"Mailbox API","href":"/mailbox-api/introduction"}]},{"tab":"Sending API","pages":[{"title":"Sending API","href":"/sending-api/introduction"}]}]},"basePath":"","title":"Replace a sending policy - Qubrics","buildId":"dpl_H5KQTnCewfWWvJxA7c3bCm7MFbb6","deploymentId":"dpl_H5KQTnCewfWWvJxA7c3bCm7MFbb6","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-Cy2NURoQ.js","utils-CTKFcKhQ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-Dbtv_wCw.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DYh_uLft.js","snippetPresets-DxwpEH1-.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-D9KrOqxg.js","ApiExamples-clm-D0kL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BBf1wA6D.js","shallow-BToikfmA.js","getApiPlaygroundDisplay-pkRLxJ6E.js","CodeSnippet-CSk3BdcJ.js","CodeSnippets-Dy5u3aPE.js","getPastedJson-DNhwlub0.js","icon-DBGzFdPQ.js","MethodPill-CdyVkQoM.js","DuplicateIcon-DEe2SEjX.js","createIcon-BnnV9h2U.js","DynamicMarkdown-DcvJmTWC.js","SectionHeading-C5-ljYUo.js","axios-vUo_bRtp.js","Markdown-CNKtyJ6_.js","dist-f_--J3AN.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-BDxDyTJx.js"]}