{"openapi":"3.1.0","info":{"title":"OVEYON API","version":"1.0.0","summary":"Transactional email: send by API, receive by signed webhook.","description":"Transactional email infrastructure with both directions over HTTP. API-key (Bearer) authentication with scopes; errors with a stable `error` and a localized `message` — including what is refused before the route runs: `invalid_json` (400), `request_too_complex` (400, the body structure: lists, values, nesting), `payload_too_large` (413, with the route `limit`), `unsupported_media_type` (415), `internal_error` (500, the detail never leaves our logs) and `not_found` for a route that does not exist; 429 with Retry-After; sandbox with `X-Oveyon-Sandbox: 1`; idempotency with `Idempotency-Key`. Webhooks signed with HMAC-SHA256 (see `webhooks`). LANGUAGE OF HUMAN-READABLE TEXT: like `message`, every field that is a sentence for a person follows the caller — Portuguese when the request comes from Brazil (Cloudflare `CF-IPCountry`), English for everyone else, including when the country is unknown: `detail` of inbound deliveries and of agent-safety signals, `label` of the /v1/stats breakdown, `purpose` and the verification `detail` of domain records, `statusDetail` of sent messages and their deliveries, and the `signature` help returned when a webhook is created. Webhook bodies have no caller: their text (`truncation.reason`, `retro.message`, `quarantine.release.note`, the signals `detail`) follows the ACCOUNT country (Brazil: Portuguese; anywhere else: English). Codes and enums never change language — branch on `error`, `reason`, `status`, `type`, `value` and `window` (whose values are `diária`/`mensal` in every language), never on the text.","contact":{"name":"Oveyon support","email":"support@oveyon.com","url":"https://oveyon.com/support"},"termsOfService":"https://oveyon.com/terms"},"externalDocs":{"description":"Human-readable reference","url":"https://api.oveyon.com/docs"},"servers":[{"url":"https://api.oveyon.com/v1"}],"tags":[{"name":"Meta"},{"name":"Sending"},{"name":"Messages"},{"name":"Utilities"},{"name":"Inbound"},{"name":"Suppressions"},{"name":"Domains"},{"name":"Webhooks"},{"name":"Allow/Block lists"},{"name":"IP rules"},{"name":"Templates"},{"name":"Send policies"},{"name":"NPS/CSAT surveys"},{"name":"Logs"},{"name":"Marketing (experimental)"}],"paths":{"/ping":{"get":{"operationId":"get_ping","tags":["Meta"],"summary":"Ping","description":"Shallow: 200 if the API answers. Public. For external health checks.","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"service":{"type":"string"},"version":{"type":"string"}}},"example":{"ok":true,"service":"oveyon","version":"v1"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"}},"security":[]}},"/openapi.json":{"get":{"operationId":"get_openapi_json","tags":["Meta"],"summary":"This document","description":"The OpenAPI 3.1 of this API, generated from the code. Public. `?spec=3.0` returns the 3.0.3 variant, for importers that do not read 3.1.","parameters":[{"name":"spec","in":"query","schema":{"type":"string","enum":["3.0"]}}],"responses":{"200":{"description":"OpenAPI document","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["openapi","info","paths"]}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"}},"security":[]}},"/send":{"post":{"operationId":"post_send","tags":["Sending"],"summary":"Send a message","description":"Queues a message for up to 5 recipients (to + cc + bcc). Each recipient is one quota unit. `Idempotency-Key` (header) or `idempotencyKey` (body) deduplicates safely; `X-Oveyon-Sandbox: 1` accepts and freezes without delivering. On a 500, only retry with an idempotencyKey.","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string","maxLength":190,"pattern":"^[\\x21-\\x7e]*$"}},{"name":"X-Oveyon-Sandbox","in":"header","schema":{"type":"string","enum":["1"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendRequest"},"example":{"from":"agent@yourdomain.com","to":"customer@example.com","subject":"Your order 8812 is on its way","text":"Hi — it shipped today."}}}},"responses":{"200":{"description":"Duplicate: the idempotencyKey was already used; returns the original id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateResponse"}}}},"202":{"description":"Accepted (`accepted`), frozen in sandbox (`sandbox`), or held for approval (`held`). `accepted` with `frozen` = frozen by a sending policy (`reter`), not delivered.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendResponse"},"example":{"id":"3f8a1c2e-9b4d-4e10-8a77-2b0c9d5e1f34","status":"accepted"}}}},"400":{"description":"bad_request, too_many_recipients, bad_recipient, too_many_attachments, bad_attachment, template_conflict, template_var_missing. `bad_request` also covers a `return_path` other than `sender` or `platform`, and an idempotencyKey (body or Idempotency-Key header) that is not 1 to 190 printable ASCII characters without spaces (or, in the body, an integer).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"return_path_requires_paid_plan — `return_path: \"sender\"` on an account without a paid plan (nothing is queued, no quota is used; upgrade, or send with `return_path: \"platform\"`). Or any of the common 403s: insufficient_scope, scope_blocked_by_approval_lock, key_disabled, sending_disabled, account_suspended, account_unknown, ip_not_allowed. 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"idempotency_conflict — the idempotencyKey is already taken by another message of the account (keys are compared ignoring case, so `Order-AbC` and `order-abc` are the same key). Nothing was sent; retry with a different key. idempotency_in_progress — another request with the same idempotencyKey is still in progress (not queued yet): nothing was decided; retry after `Retry-After` (5 s) with the SAME key (you get 200 duplicate if it was queued, or a normal answer if it failed).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"attachments_too_large (attachments above 15 MB), or payload_too_large (the request body above 25 MB, with `limit`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"domain_not_verified, domain_on_hold (sending from the domain is held for review: recently registered, listed on the Spamhaus DBL, or flagged by the reputation screening — the message says which and what to do; the same code covers a short wait for the registration date of the domain to be checked, which repeats on its own), domain_not_allowed_for_credential (the key is limited to selected domains of the account and the `from` domain is not one of them — adjust it under Credentials; the domain itself is fine), managed_domain_requires_paid_plan (the `from` is your instant inbox `<code>.oveyon.app` and the account is on the free plan — the instant inbox only receives there), invalid_recipient_domain, recipient_suppressed, recipient_blocked, recipient_not_allowed, policy_refused (with `policy` and `recipient`; `matchedBy` says how it matched: `recipient` — the policy has a recipient condition — or `message` — it only looks at the message, so it refuses any recipient; and, when the policy has an hour condition, `retryAfter`: when the time window ends and the same message passes again), unsub_footer_multi_recipient, template_not_found and template render errors. return_path_not_authorized: the message goes out with the sender as Return-Path (`return_path: \"sender\"`, or the key's default) and the From domain does not authorize it yet — the response carries `reason` (`spf_include_missing`, `spf_multiple` or `mailchannels_lockdown_missing`), `domain`, and what to publish: `include` (the SPF mechanism to add) or `record` (`{ type, name, value }`, the `_mailchannels` TXT). Nothing is queued and no quota is used; publish it and retry, or send this message with `return_path: \"platform\"`. The `message` is localized (Portuguese for callers from Brazil, English otherwise). return_path_managed_domain (with `domain`): `return_path: \"sender\"` from your instant inbox `<code>.oveyon.app` — that domain is ours and has nothing for you to publish; send with `return_path: \"platform\"` (a key whose default is `sender` sends from it with the platform address).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."},"recipient":{"type":"string","description":"The recipient the refusal is about (the one that matched the policy, the list entry or the domain check)."},"policy":{"type":"string","description":"`policy_refused`: the name of the sending policy that refused it."},"matchedBy":{"type":"string","enum":["recipient","message"],"description":"`policy_refused`: how the policy matched — `recipient` (it has a recipient condition) or `message` (it only looks at the message: subject, sender, credential or hour — it refuses any recipient)."},"retryAfter":{"type":"string","format":"date-time","description":"`policy_refused` by a policy with an hour condition: when the time window ends and the same message passes again (ISO 8601)."},"expiresAt":{"type":"string","format":"date-time","description":"`recipient_suppressed` with `reason: mailbox_full`: when the mailbox-full pause ends (ISO 8601, UTC; for a platform-wide pause, rounded up to the next full hour — the exact one would tell the time of another account’s refusal). The pause is temporary — after it (or once a delivery to the address is accepted by the destination server) sends go out again."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"injection_failed — the message could not be queued; the quota is refunded, retry with the same idempotencyKey. Or ip_rules_unavailable. Or return_path_check_unavailable — the message asked for the sender as Return-Path and the DNS of the From domain could not be checked right now (not a refusal): nothing was queued, retry after `Retry-After` (60 s); the localized `message` names the domain.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"send"}},"/messages":{"get":{"operationId":"get_messages","tags":["Messages"],"summary":"List sent messages","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"},{"name":"status","in":"query","schema":{"type":"string","enum":["accepted","queued","delivered","deferred","bounced","suppressed","failed","frozen"]}},{"name":"outcome","in":"query","schema":{"type":"string","enum":["devolvidas","bloqueadas","fila","held","entregues"]},"description":"Grouped outcome (the dashboard’s five cuts)."},{"name":"recipient","in":"query","schema":{"type":"string"},"description":"Exact address, in to/cc/bcc."},{"name":"domain","in":"query","schema":{"type":"string"},"description":"Numeric id or name."},{"name":"credential","in":"query","schema":{"type":"integer"}},{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"},{"name":"event","in":"query","schema":{"type":"string"},"description":"Filter by a timeline event (e.g. opened)."}],"responses":{"200":{"description":"Page","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageList"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:messages"}},"/messages/{uuid}":{"get":{"operationId":"get_messages_uuid","tags":["Messages"],"summary":"Message detail and timeline","parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Message","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageDetail"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/MessageNotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:messages"}},"/stats":{"get":{"operationId":"get_stats","tags":["Messages"],"summary":"Aggregate statistics","parameters":[{"name":"group_by","in":"query","schema":{"type":"string","enum":["day","domain","credential"],"default":"day"}},{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"},{"name":"breakdown","in":"query","schema":{"type":"string"},"description":"`provider`, `reason` and/or `credential`, comma-separated."}],"responses":{"200":{"description":"Series and rates","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}}},"400":{"description":"bad_breakdown, bad_date","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:stats"}},"/disposable":{"get":{"operationId":"get_disposable","tags":["Utilities"],"summary":"Is the domain disposable?","description":"Public (no key). Only the domain against our list, refreshed daily; does not check whether the mailbox exists. Per-IP cap: 60/h.","parameters":[{"name":"email","in":"query","schema":{"type":"string"}},{"name":"domain","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisposableCheck"},"example":{"domain":"mailinator.com","result":"disposable","disposable":true,"list":{"updatedAt":"2026-08-27T03:00:00Z","domains":118000}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"List unavailable — `result: \"unknown\"`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[]}},"/inbound":{"get":{"operationId":"get_inbound","tags":["Inbound"],"summary":"List received emails","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"},{"name":"recipient","in":"query","schema":{"type":"string"}},{"name":"sender","in":"query","schema":{"type":"string"},"description":"Matches envelope and header."},{"name":"domain","in":"query","schema":{"type":"string"}},{"name":"dmarc","in":"query","schema":{"type":"string"}},{"name":"has_attachments","in":"query","schema":{"type":"boolean"}},{"name":"outcome","in":"query","schema":{"type":"string"}},{"name":"thread","in":"query","schema":{"type":"string","format":"uuid","maxLength":45},"description":"Only messages of this conversation (see GET /v1/inbound/threads)."},{"name":"agent_safety","in":"query","schema":{"type":"string"},"description":"Agent-safety verdict: clean, suspicious, dangerous or none (= not evaluated yet). Comma-separated to combine, e.g. suspicious,dangerous. Anything else is 400 bad_agent_safety."},{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"}],"responses":{"200":{"description":"Page","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundList"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound"}},"/inbound/threads":{"get":{"operationId":"get_inbound_threads","tags":["Inbound"],"summary":"List conversations (threads)","description":"Conversations grouped by In-Reply-To/References within your account — including the replies you sent through OVEYON, so a customer answering your reply lands in the same thread. Ordered by last activity. No grouping by subject.","parameters":[{"$ref":"#/components/parameters/limit"},{"name":"cursor","in":"query","schema":{"type":"string"},"description":"Opaque; from next_cursor."}],"responses":{"200":{"description":"Page","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundThreadList"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound"}},"/inbound/threads/{id}":{"get":{"operationId":"get_inbound_threads_id","tags":["Inbound"],"summary":"Conversation detail: received messages and replies sent","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Thread with messages (oldest first) and replies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundThreadDetail"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound"}},"/inbound/routes":{"get":{"operationId":"get_inbound_routes","tags":["Inbound"],"summary":"List mailboxes (inbound routes)","parameters":[{"name":"domain","in":"query","schema":{"type":"string"},"description":"Only this domain (name)."}],"responses":{"200":{"description":"Mailboxes of the account (up to 1000)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundRouteList"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound"},"post":{"operationId":"post_inbound_routes","tags":["Inbound"],"summary":"Create a mailbox (and attach channels in one call)","description":"Creates `local@domain` (or the catch-all `*@domain`) on a domain of your account, optionally attaching a new webhook and/or existing channels of the same domain. The mailbox is born WITHOUT security choices (agentSafetyMode null, retroScan off): nothing created by API holds mail by default. Limits: 200 mailboxes per domain, 1000 per account (422). Scope write:inbound.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundRouteCreate"}}}},"responses":{"201":{"description":"Created — the inline webhook secret is shown once","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundRouteCreated"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"domain_not_found or channel_not_found (channel of another domain/account)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"route_exists","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"route_limit_domain, route_limit_tenant","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound"}},"/inbound/routes/{id}":{"get":{"operationId":"get_inbound_routes_id","tags":["Inbound"],"summary":"Mailbox detail with its channels","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Mailbox","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundRoute"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound"},"patch":{"operationId":"patch_inbound_routes_id","tags":["Inbound"],"summary":"Switch a mailbox (and its spam filter) on/off and attach channels (additive)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundRoutePatch"}}}},"responses":{"200":{"description":"Current state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundRouteCreated"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"description":"spam_filter_unavailable — `spamFilter: true` while the platform does not offer the spam filter yet; nothing was changed.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound"},"delete":{"operationId":"delete_inbound_routes_id","tags":["Inbound"],"summary":"Remove a mailbox","description":"Mail to it is refused at the MX from then on. Channels stay (they belong to the domain); received messages stay in the history.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Removed"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound"}},"/inbound/routes/{id}/channels/{assocId}":{"delete":{"operationId":"delete_inbound_routes_id_channels_associd","tags":["Inbound"],"summary":"Detach a channel from a mailbox","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"assocId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Detached (the channel itself stays)"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"route_not_found or channel_not_found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound"}},"/inbound/instant":{"get":{"operationId":"get_inbound_instant","tags":["Inbound"],"summary":"Your instant inbox (<account code>.oveyon.app): address, mailboxes, state","description":"Read-only: never switches anything on. An account that never switched it on sees the domain it WILL have, with `active: false`. Receiving works on every plan; sending from it (replies included) only on paid plans (`sending`). While the instant inbox is not enabled on the platform this route answers 404 not_found, like a route that does not exist. Scope read:inbound.","responses":{"200":{"description":"State","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstantInbox"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"not_found — the instant inbox is not enabled on the platform","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound"},"post":{"operationId":"post_inbound_instant","tags":["Inbound"],"summary":"Switch the instant inbox on, or create a named mailbox on it (<agent>@<code>.oveyon.app)","description":"No DNS on your side: the domain is ours. Without `localPart` it switches the account inbox on — its domain and the catch-all `*@<code>.oveyon.app` — and returns the catch-all (201 the first time, 200 after: idempotent). With `localPart` it creates a named mailbox with its own channels and policies (201), like POST /v1/inbound/routes — the same limits (200 mailboxes per domain, 1000 per account), the same inline webhook (secret shown once), born without security choices. Received mail counts like any inbound mail; above the per-hour limit the MX answers 450 4.2.1 and the sender retries. Sending FROM it is for paid plans only: on the free plan /v1/send and /v1/inbound/{uid}/reply answer 422 managed_domain_requires_paid_plan (SMTP: 550 5.7.1). Forwarding from it follows the forwarding rules of every mailbox (verified destinations only). While the instant inbox is not enabled on the platform this route answers 404 not_found. Scope write:inbound.","requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstantInboxCreate"}}}},"responses":{"200":{"description":"Already on — the catch-all as it is","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundRoute"}}}},"201":{"description":"Switched on (the catch-all) or the named mailbox created — an inline webhook secret is shown once","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundRouteCreated"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"not_found (the instant inbox is not enabled on the platform), or channel_not_found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"route_exists (that mailbox already exists), instant_inbox_unavailable (no short code, or the account is not active), instant_inbox_conflict (the address is taken by an older registration — contact support)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"route_limit_domain, route_limit_tenant","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"description":"rate_limited — switching the instant inbox back on after you switched its receiving off waits like the switch on the domain page: at most one switch-on every 5 s per domain and 20 per minute per account (switching off never waits). Nothing changed: receiving stays off; honor `Retry-After` (seconds, also in `retryAfter`) and call again. Or the per-key inbound write limit (`Retry-After: 60`), or any of the common limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"rate_limited","message":"inbound on this domain was switched on moments ago — wait 4 s before switching it on again; nothing changed","retryAfter":4}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound"}},"/inbound-policies":{"get":{"operationId":"get_inbound_policies","tags":["Inbound"],"summary":"List inbound policies (IF→THEN on what arrives), in evaluation order","description":"Evaluated top to bottom on every received message; `tag` and `notify` annotate and continue, every other action stops the chain. With the platform switch off (`holdEnabled: false`), hold/mute/restrict_channels become the tag `would_<action>:<name>`. Scope read:inbound-policies.","responses":{"200":{"description":"Policies","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicyList"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound-policies"},"post":{"operationId":"post_inbound_policies","tags":["Inbound"],"summary":"Create an inbound policy (born paused, at the end of the order)","description":"Needs write:inbound-policies and read:inbound. Up to 50 per account and 5 conditions per policy. Born PAUSED: check it with the simulator (`policyId` evaluates it even paused), then POST /unpause. Scope write:inbound-policies.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicyInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicy"}}}},"400":{"$ref":"#/components/responses/InboundPolicyBadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"insufficient_scope — creating or editing a policy needs write:inbound-policies AND read:inbound (a policy on message fields, once active, reveals which messages matched); or any of the common 403s (key_disabled, account_suspended…).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"inbound_policy_name_taken","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/InboundPolicyBodyTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"inbound_policy_limit_reached","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound-policies"}},"/inbound-policies/decisions":{"get":{"operationId":"get_inbound_policies_decisions","tags":["Inbound"],"summary":"Decision feed: which policy matched which message (90 days)","description":"Newest first. The message subject and sender come only when the key also has read:inbound. Scope read:inbound-policies.","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"before","in":"query","description":"Cursor: the `nextBefore` of the previous page.","schema":{"type":"integer"}},{"name":"policy","in":"query","description":"Only the decisions of this policy id.","schema":{"type":"integer"}}],"responses":{"200":{"description":"Feed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicyDecisionList"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound-policies"}},"/inbound-policies/simulate":{"post":{"operationId":"post_inbound_policies_simulate","tags":["Inbound"],"summary":"Simulate: which policy would match a message (real or synthetic), with the active policies or a draft","description":"Read-only. `message` is a received message id or a synthetic message. Without `policy`/`policyId` the ACTIVE policies are evaluated (a paused one is not); `policy` tests an unsaved draft; `policyId` tests one saved policy even if paused. On a received message the key needs read:inbound too (it reads the mailbox). Every simulate call — synthetic or not — counts against the per-key inbound read limit (120/min by default): over it, 429 rate_limited with `Retry-After: 60`. That is longer than the 30 s the official SDKs wait by default, so they do NOT retry it: the 429 reaches your code, with the Retry-After — wait and call again, or raise the SDK retry-after cap. The answer includes what the engine SAW. The request body is capped at 256 KB (413). Scope read:inbound-policies.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicySimulateRequest"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicySimulateResult"}}}},"400":{"$ref":"#/components/responses/InboundPolicyBadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"insufficient_scope — a received message needs read:inbound too (it reads the mailbox); or any of the common 403s (key_disabled, account_suspended…). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"inbound_policy_message_not_found, or inbound_policy_not_found for policyId","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"inbound_policy_unreadable — the saved policy in `policyId` can no longer be read by the engine (it is skipped at arrival); `reason` names the validation that failed. Edit the policy to fix it.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/InboundPolicyBodyTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"description":"rate_limited — the per-key inbound read limit, with `Retry-After: 60` (above the SDKs' default 30 s cap, so it is not retried for you); or the general per-key limit.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound-policies"}},"/inbound-policies/{id}":{"get":{"operationId":"get_inbound_policies_id","tags":["Inbound"],"summary":"Inbound policy detail","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicy"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/InboundPolicyNotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound-policies"},"put":{"operationId":"put_inbound_policies_id","tags":["Inbound"],"summary":"Replace an inbound policy (optional optimistic concurrency with `version`)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicyInput"}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicy"}}}},"400":{"$ref":"#/components/responses/InboundPolicyBadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"insufficient_scope — creating or editing a policy needs write:inbound-policies AND read:inbound (a policy on message fields, once active, reveals which messages matched); or any of the common 403s (key_disabled, account_suspended…).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"$ref":"#/components/responses/InboundPolicyNotFound"},"409":{"description":"inbound_policy_version_conflict or inbound_policy_name_taken","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/InboundPolicyBodyTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound-policies"},"delete":{"operationId":"delete_inbound_policies_id","tags":["Inbound"],"summary":"Delete an inbound policy","description":"The decision feed keeps the frozen name; messages keep the policy they got.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Deleted"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/InboundPolicyNotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound-policies"}},"/inbound-policies/{id}/pause":{"post":{"operationId":"post_inbound_policies_id_pause","tags":["Inbound"],"summary":"Pause an inbound policy","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Paused","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicy"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/InboundPolicyNotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound-policies"}},"/inbound-policies/{id}/unpause":{"post":{"operationId":"post_inbound_policies_id_unpause","tags":["Inbound"],"summary":"Activate an inbound policy","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Active","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicy"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/InboundPolicyNotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound-policies"}},"/inbound-policies/reorder":{"post":{"operationId":"post_inbound_policies_reorder","tags":["Inbound"],"summary":"Reorder inbound policies","description":"The ids you send come first, in that order; the ones you leave out keep their relative order after them. Ids of another account are ignored.","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["order"],"properties":{"order":{"type":"array","maxItems":50,"items":{"type":"integer"}}}}}}},"responses":{"200":{"description":"New order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundPolicyList"}}}},"400":{"$ref":"#/components/responses/InboundPolicyBadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"413":{"$ref":"#/components/responses/InboundPolicyBodyTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound-policies"}},"/holds":{"get":{"operationId":"get_holds","tags":["Messages"],"summary":"Drafts awaiting human approval (hold:true)","description":"Scope approve:holds. `status` defaults to pending; also approved, rejected, expired (most recent first, up to 100).","parameters":[{"name":"status","in":"query","schema":{"type":"string","enum":["pending","approved","rejected","expired"]}},{"$ref":"#/components/parameters/limit"}],"responses":{"200":{"description":"Drafts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HoldList"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"approve:holds"}},"/messages/{uuid}/approve":{"post":{"operationId":"post_messages_uuid_approve","tags":["Messages"],"summary":"Approve a held draft — it goes out now, without re-signing","description":"Scope approve:holds. The first decision wins: a second call answers 409 already_decided with the decision. Recipients that entered a suppression list while the draft waited are skipped (listed in `skipped`); if none can go out, 409 release_failed and the draft stays pending. The recipient domains are checked now, after the decision — a draft held by an approval policy skipped that DNS check at send time, so the agent cannot leak data through the lookup: a domain that does not receive mail answers 422 invalid_recipient_domain (with `recipient`), and the draft is closed as rejected by `system:recipient-domain`, nothing goes out and the quota is refunded. Counts warm-up like any outbound mail.","parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Approved and queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HoldDecision"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"description":"already_decided or release_failed","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"invalid_recipient_domain — the draft was closed (decision `rejected`, decidedBy `system:recipient-domain`); nothing went out; `recipient` names the address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"approve:holds"}},"/messages/{uuid}/reject":{"post":{"operationId":"post_messages_uuid_reject","tags":["Messages"],"summary":"Reject a held draft — it never goes out; the quota is refunded","description":"Scope approve:holds. Optional `reason` (up to 500 characters) travels in the `rejected` webhook and in the timeline.","parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","maxLength":500}}}}}},"responses":{"200":{"description":"Rejected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HoldDecision"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"description":"already_decided","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"approve:holds"}},"/inbound/{uid}/release":{"post":{"operationId":"post_inbound_uid_release","tags":["Inbound"],"summary":"Release a held message — by the agent-safety verdict or by an inbound policy (a human decides)","description":"Dispatches now, to the mailbox channels (respecting a restrict_channels the policy recorded — if it would leave a recipient without channels it is dropped, with the tag `would_restrict_channels:<name>`), a message that was held at arrival — with the verdict and `message.quarantine` (heldAt, releasedAt, releasedBy) in the payload. Scope write:inbound: release is an operator gesture, never a tool of the model (the key that replies does not release). Records who released (`api:<key prefix>`). Without a body it releases EVERY held copy; `{ \"recipient\": \"<mailbox>\" }` releases only the copy of that mailbox (each recipient is held by its own mailbox choices and policies).","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"recipient":{"type":"string","maxLength":320,"description":"Release only the copy of this mailbox (one of `recipients[].to`)."}}}}}},"responses":{"200":{"description":"Released","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundReleaseResult"}}}},"400":{"description":"bad_recipient","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"description":"not_quarantined — no copy of the message is held; recipient_not_quarantined — the copy of that mailbox is not held","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"410":{"description":"copy_expired — the archived copy is gone; nothing can be dispatched","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"no_mailbox, or recipient_not_in_message — the message was not sent to that mailbox","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:inbound"}},"/inbound/stats":{"get":{"operationId":"get_inbound_stats","tags":["Inbound"],"summary":"Agent-safety numbers: received, evaluated, verdicts, held, released","description":"The same numbers the panel card shows, by day or by recipient, over a window of up to 92 days (default: the last 30). A message to two mailboxes counts once per day and once per recipient. The engine canary never enters these numbers.","parameters":[{"name":"group_by","in":"query","schema":{"type":"string","enum":["day","recipient"]}},{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"}],"responses":{"200":{"description":"Series","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundStats"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound"}},"/inbound/{uid}/reply":{"post":{"operationId":"post_inbound_uid_reply","tags":["Inbound"],"summary":"Reply to a received email (the agent answers)","description":"Sends a plain-text reply FROM the mailbox that received the message TO its Reply-To/From, threaded (In-Reply-To/References) and recorded in the conversation. Counts one quota unit and consumes warm-up like any outbound mail. Loop guard: the reply carries `Auto-Submitted: auto-replied`; replying to automated mail (Auto-Submitted, Precedence bulk/list/junk, null sender) is refused with 422 auto_submitted; at most 5 replies per message and 10 automated replies per conversation per hour (429). A message held by the agent-safety verdict answers 409 message_quarantined until a human releases it — the reply is never the tool that releases. When the message went to several mailboxes and only some copies are held (`partial`), the reply goes out from the first mailbox whose copy was delivered (or the one in `from`). Sending policies apply to replies as to /v1/send for the two actions that decide WHETHER mail leaves: `recusar` answers 422 policy_refused, and `reter_para_aprovacao` turns the reply into a draft awaiting a person (status `held`, `requestedBy: policy:<name>`) — that is how a key marked «require human approval» holds every reply of an agent. A key in sandbox accepts and freezes the reply without delivering it (status `sandbox`), even when hold or an approval policy is requested; no approval link is created. Sandbox on this endpoint comes from the key profile, not a request field or header.","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundReplyRequest"}}}},"responses":{"200":{"description":"Duplicate idempotency key — the earlier reply id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateResponse"}}}},"202":{"description":"Accepted and queued (`accepted`), frozen in sandbox (`sandbox`), or held for approval (`held`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundReplyAccepted"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"sending_disabled, or the key lacks reply:inbound (`insufficient_scope`); or any of the common 403s (key_disabled, account_suspended…). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"$ref":"#/components/responses/NotFound"},"409":{"description":"message_quarantined (every copy held; with agentSafety and release.panel), recipient_quarantined (the copy of the mailbox in `from` is held), message_blocked, or no_mailbox (with `reason: address_not_ascii`: the mailbox that received has an address outside ASCII — reply from another mailbox of the message). idempotency_in_progress — another request with the same idempotencyKey is still in progress (not queued yet): retry after `Retry-After` (5 s) with the SAME key.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"410":{"description":"copy_expired — the message was held and its retention expired (policy holds follow the mailbox retention): the copy is gone, it can no longer be released or answered","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"body_too_long (the text above 20000 characters, with `limit`), or payload_too_large (the request body above 25 MB).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"no_reply_address (with `reason: address_not_ascii` when the original sender has an address outside ASCII — the platform only sends to ASCII addresses), domain_not_registered, domain_not_allowed_for_credential (the key is limited to selected domains of the account and the mailbox domain is not one of them — adjust it under Credentials or reply with another key), managed_domain_requires_paid_plan (the mailbox is on your instant inbox and the account is on the free plan — there it only receives), auto_submitted, recipient_blocked, recipient_not_allowed, from_not_recipient, policy_refused (a sending policy of the account refuses it; with `policy` and `recipient`; `matchedBy` says how it matched: `recipient` — the policy has a recipient condition — or `message` — it only looks at the message, so it refuses any recipient; and, when the policy has an hour condition, `retryAfter`: when the time window ends and the same reply passes again)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."},"recipient":{"type":"string","description":"The recipient the refusal is about (the one that matched the policy, the list entry or the domain check)."},"policy":{"type":"string","description":"`policy_refused`: the name of the sending policy that refused it."},"matchedBy":{"type":"string","enum":["recipient","message"],"description":"`policy_refused`: how the policy matched — `recipient` (it has a recipient condition) or `message` (it only looks at the message: subject, sender, credential or hour — it refuses any recipient)."},"retryAfter":{"type":"string","format":"date-time","description":"`policy_refused` by a policy with an hour condition: when the time window ends and the same message passes again (ISO 8601)."},"expiresAt":{"type":"string","format":"date-time","description":"`recipient_suppressed` with `reason: mailbox_full`: when the mailbox-full pause ends (ISO 8601, UTC; for a platform-wide pause, rounded up to the next full hour — the exact one would tell the time of another account’s refusal). The pause is temporary — after it (or once a delivery to the address is accepted by the destination server) sends go out again."}},"additionalProperties":true}}}},"429":{"description":"rate_limited (the per-key reply limit, with `Retry-After: 60`; or the per-credential limit), reply_limit (per message), thread_reply_limit (per conversation), quota_exceeded or hold_limit. Read `error` before retrying: reply_limit and thread_reply_limit are the loop guard, not congestion.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"profile_unavailable, injection_failed or record_failed — the sending profile could not be verified, or the reply could not be queued or recorded; retry with the same Idempotency-Key. Or ip_rules_unavailable.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"reply:inbound"}},"/inbound/{uid}":{"get":{"operationId":"get_inbound_uid","tags":["Inbound"],"summary":"Received email detail","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Message with attachment manifest and links","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundDetail"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound"}},"/inbound/{uid}/content":{"get":{"operationId":"get_inbound_uid_content","tags":["Inbound"],"summary":"Parsed body (text/html)","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Body, cut at 256 KB per field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundContent"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound"}},"/inbound/{uid}/raw":{"get":{"operationId":"get_inbound_uid_raw","tags":["Inbound"],"summary":"The original .eml","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"message/rfc822, byte for byte","content":{"message/rfc822":{"schema":{"type":"string","format":"binary"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound"}},"/inbound/{uid}/attachments/{n}":{"get":{"operationId":"get_inbound_uid_attachments_n","tags":["Inbound"],"summary":"Attachment bytes","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer"},"description":"The manifest `ord`, not the file name."}],"responses":{"200":{"description":"The attachment","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:inbound"}},"/suppressions":{"get":{"operationId":"get_suppressions","tags":["Suppressions"],"summary":"List suppressions","parameters":[{"name":"email","in":"query","schema":{"type":"string"},"description":"Substring match."},{"name":"reason","in":"query","schema":{"type":"string","enum":["hard_bounce","complaint","manual","unsubscribe","mailbox_full"]}},{"name":"limit","in":"query","schema":{"type":"integer","maximum":500,"default":100}},{"name":"offset","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"List","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuppressionList"}}}},"400":{"description":"bad_request — reason invalid","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:suppressions"},"post":{"operationId":"post_suppressions","tags":["Suppressions"],"summary":"Suppress an address","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email","maxLength":320,"description":"ASCII only: no accents; an international (IDN) domain only in its xn-- (punycode) form. Anything else is refused with `reason: address_not_ascii`."},"reason":{"type":"string","enum":["manual","unsubscribe"]}}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Suppression"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:suppressions"}},"/suppressions/{email}":{"delete":{"operationId":"delete_suppressions_email","tags":["Suppressions"],"summary":"Remove a suppression","description":"A complaint (`complaint`) can never be removed — not even here.","parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Removed","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"string"}}}}}},"400":{"description":"bad_request with `reason: address_not_ascii` — the address has a character outside ASCII (the platform only stores ASCII addresses).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:suppressions"}},"/domains":{"get":{"operationId":"get_domains","tags":["Domains"],"summary":"List sending domains","description":"The verification status can change with no call: see POST /v1/domains/{id}/verify.","responses":{"200":{"description":"List","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:domains"},"post":{"operationId":"post_domains","tags":["Domains"],"summary":"Add a domain","description":"Returns the DNS records to publish (SPF, DKIM, DMARC). On the Free plan the domain goes through reputation screening; refusal = 403 domain_not_allowed_free, without a reason (on purpose).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string"}}}}}},"responses":{"201":{"description":"Created, with the records","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"400":{"description":"bad_domain","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"domain_not_allowed_free — a free-mail domain (gmail.com…) cannot be registered; or any of the common 403s (key_disabled, account_suspended…).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"domain_exists (already yours) or domain_taken (belongs to another account).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"domain_limit_reached — the plan's domain cap is reached (Free: 1). Remove a domain you no longer use, or contact support to raise the limit.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"description":"rate_limited — at most 60 domain registrations per hour per account (a sliding hour, shared with the dashboard). Every request that passes validation and the plan cap counts, created or not; a request refused by this limit does not. Nothing was created: honor `Retry-After` (seconds, also in `retryAfter`) and call again. Or any of the common limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"rate_limited","message":"limit of 60 domain registrations per hour on this account exceeded; try again in 754 s","retryAfter":754}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:domains"}},"/domains/{id}/verify":{"post":{"operationId":"post_domains_id_verify","tags":["Domains"],"summary":"Verify DNS live","description":"Not the only way in: every 5 minutes the server reads the DNS and, when it sees the expected value of a record not yet verified, it checks the authoritative DNS on its own and stores what it confirms (up to 5 domains per account per round). That check only promotes; this route is what demotes. Without a call, `verifiedAt` is only filled in once the required records are verified.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Result per check; when a record was not checked because of a limit of ours, `error` is true and `detail` says so in a sentence, with the code in parentheses, and says nothing about the record; `inconclusive` when the resolver did not answer (previous state preserved).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"description":"rate_limited — at most 60 live checks per minute per account (a sliding minute, shared with the dashboard: «Verify now», the ↻ of the domain list, the onboarding assistant and the DKIM mode switch). Only a check of a domain of yours counts (a 404 does not); a request refused by this limit does not count either. Nothing was checked or stored: honor `Retry-After` (seconds, also in `retryAfter`) and call again. Or any of the common limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"rate_limited","message":"limit of 60 domain checks per minute on this account exceeded; try again in 21 s","retryAfter":21}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:domains"}},"/webhooks":{"get":{"operationId":"get_webhooks","tags":["Webhooks"],"summary":"List delivery webhooks","responses":{"200":{"description":"List","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"manage:webhooks"},"post":{"operationId":"post_webhooks","tags":["Webhooks"],"summary":"Create a delivery webhook","description":"Events: delivered, bounced, opened, clicked, complained, blocked. The blocked event queues at most 60 rows per minute per account (one row per subscribed endpoint): what exceeds that does not become a webhook, and the refusal and its record do not change. The `secret` is shown once. Every POST carries x-oveyon-event, x-oveyon-timestamp and x-oveyon-signature (sha256=HMAC-SHA256(secret, timestamp + \".\" + body)). Internal/private destinations are refused.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url","events"],"properties":{"url":{"type":"string","format":"uri","maxLength":500},"events":{"type":"array","items":{"type":"string"}},"credential":{"type":"object","properties":{"type":{"type":"string","enum":["smtp","api"]},"id":{"type":"integer"}}}}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreated"}}}},"400":{"description":"bad_request (url missing), bad_credential or bad_events","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"credential_not_found — not on this account","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"unsafe_url — the URL points to an internal or reserved address; or webhook_limit_reached — the account is at its webhook endpoint limit (5 on the Free plan; 100 on a plan without a number), and the message says how many it has. Only creating is refused: endpoints you already have keep working.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"description":"rate_limited — at most 60 webhook URLs per minute per account, all API keys and the dashboard together (a sliding minute). Only a request that brings a NEW URL counts: changing `events` or `active`, or sending the URL the endpoint already has, does not; a request refused by this limit does not count either. Nothing was stored: honor `Retry-After` (seconds, also in `retryAfter`) and call again. Or any of the common limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"rate_limited","message":"limit of 60 webhook URLs per minute on this account exceeded; try again in 21 s","retryAfter":21}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"manage:webhooks"}},"/webhooks/{id}":{"patch":{"operationId":"patch_webhooks_id","tags":["Webhooks"],"summary":"Update a webhook","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"active":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"description":"bad_request (id or url invalid, nothing to update) or bad_events","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"unsafe_url — the URL points to an internal or reserved address","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"description":"rate_limited — at most 60 webhook URLs per minute per account, all API keys and the dashboard together (a sliding minute). Only a request that brings a NEW URL counts: changing `events` or `active`, or sending the URL the endpoint already has, does not; a request refused by this limit does not count either. Nothing was stored: honor `Retry-After` (seconds, also in `retryAfter`) and call again. Or any of the common limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"rate_limited","message":"limit of 60 webhook URLs per minute on this account exceeded; try again in 21 s","retryAfter":21}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"manage:webhooks"},"post":{"operationId":"post_webhooks_id","tags":["Webhooks"],"summary":"Update a webhook (alias of PATCH)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"description":"bad_request (id or url invalid, nothing to update) or bad_events","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"unsafe_url — the URL points to an internal or reserved address","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"description":"rate_limited — at most 60 webhook URLs per minute per account, all API keys and the dashboard together (a sliding minute). Only a request that brings a NEW URL counts: changing `events` or `active`, or sending the URL the endpoint already has, does not; a request refused by this limit does not count either. Nothing was stored: honor `Retry-After` (seconds, also in `retryAfter`) and call again. Or any of the common limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"rate_limited","message":"limit of 60 webhook URLs per minute on this account exceeded; try again in 21 s","retryAfter":21}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"manage:webhooks"},"delete":{"operationId":"delete_webhooks_id","tags":["Webhooks"],"summary":"Delete a webhook","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"manage:webhooks"}},"/policies":{"get":{"operationId":"get_policies","tags":["Allow/Block lists"],"summary":"List allow/block entries","parameters":[{"name":"scope","in":"query","schema":{"type":"string","enum":["outbound","inbound"]}},{"name":"kind","in":"query","schema":{"type":"string","enum":["allow","block"]}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":500,"default":100}},{"name":"offset","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"List (a paused entry is still listed and does not apply).","content":{"application/json":{"schema":{"type":"object","properties":{"policies":{"type":"array","items":{"$ref":"#/components/schemas/ListEntry"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"400":{"description":"bad_request — scope or kind invalid","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:policies"},"post":{"operationId":"post_policies","tags":["Allow/Block lists"],"summary":"Create an allow/block entry","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["scope","kind","pattern"],"properties":{"scope":{"type":"string","enum":["outbound","inbound"]},"kind":{"type":"string","enum":["allow","block"]},"pattern":{"type":"string","description":"An address, a domain or a subdomain wildcard (*.b.com). On an outbound list it is ASCII only (an IDN domain in xn-- form) — otherwise 400 with `reason: address_not_ascii`."},"domainId":{"type":"integer","description":"Omit (or 0) for every domain of the account."},"credentialType":{"type":"string","enum":["none","smtp","apiKey"],"description":"Omit (or `none`) for every credential."},"credentialId":{"type":"integer"},"comment":{"type":"string","maxLength":200}}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListEntry"}}}},"400":{"description":"bad_request (scope, kind, pattern or domainId invalid) or bad_credential","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"domain_not_found or credential_not_found — not on this account","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"policy_exists","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"policy_limit_reached — 5000 entries per list (scope × kind)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:policies"}},"/policies/{id}":{"delete":{"operationId":"delete_policies_id","tags":["Allow/Block lists"],"summary":"Delete an entry","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Removed","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"integer"},"pattern":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:policies"}},"/credentials/ip-rules":{"get":{"operationId":"get_credentials_ip_rules","tags":["IP rules"],"summary":"List CIDRs per credential","responses":{"200":{"description":"Rules (with paused/pausedAt)","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"bad_credential — the filter needs credentialType AND credentialId","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:policies"},"post":{"operationId":"post_credentials_ip_rules","tags":["IP rules"],"summary":"Allow a CIDR for a credential","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["credentialType","credentialId","cidr"],"properties":{"credentialType":{"type":"string","enum":["smtp","apiKey"]},"credentialId":{"type":"integer"},"cidr":{"type":"string"}}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IpRule"}}}},"400":{"description":"bad_credential or bad_request (CIDR invalid)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"credential_not_found — not on this account","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"ip_rule_exists — this CIDR is already registered for this credential","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:policies"}},"/credentials/ip-rules/{id}":{"delete":{"operationId":"delete_credentials_ip_rules_id","tags":["IP rules"],"summary":"Remove a CIDR","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Removed","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"integer"},"cidr":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:policies"}},"/credentials/ip-rules/pause":{"post":{"operationId":"post_credentials_ip_rules_pause","tags":["IP rules"],"summary":"Pause a credential’s IP fence","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["credentialType","credentialId"],"properties":{"credentialType":{"type":"string","enum":["smtp","apiKey"]},"credentialId":{"type":"integer"}}}}}},"responses":{"200":{"description":"Paused — authenticates from any IP; the ranges stay registered.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"bad_credential","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"credential_not_found — not on this account","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"no_ip_rules — this credential has no IP range to pause or re-enable","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:policies"}},"/credentials/ip-rules/unpause":{"post":{"operationId":"post_credentials_ip_rules_unpause","tags":["IP rules"],"summary":"Re-enable the fence","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["credentialType","credentialId"],"properties":{"credentialType":{"type":"string","enum":["smtp","apiKey"]},"credentialId":{"type":"integer"}}}}}},"responses":{"200":{"description":"Re-enabled; may carry `warning.uncoveredRecentIps`.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"bad_credential","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"credential_not_found — not on this account","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"no_ip_rules — this credential has no IP range to pause or re-enable","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:policies"}},"/templates":{"get":{"operationId":"get_templates","tags":["Templates"],"summary":"List templates","responses":{"200":{"description":"List (light: no content)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateList"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:templates"},"post":{"operationId":"post_templates","tags":["Templates"],"summary":"Create a template (draft v1)","description":"Closed syntax: `{{var}}`, `{{{var}}}`, `{{#each}}`, `| \"default\"`. Helpers, partials and comments are refused (400 template_parse_error).","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateInput"}}}},"responses":{"201":{"description":"Created — draft v1","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateDraft"}}}},"400":{"description":"template_invalid (with `field`), template_parse_error (with `tag`), template_source_too_large (with `limit`)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"description":"template_name_taken","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:templates"}},"/templates/{ref}":{"get":{"operationId":"get_templates_ref","tags":["Templates"],"summary":"A template with all its versions","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string"},"description":"Numeric id or `name`."}],"responses":{"200":{"description":"Template","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Template"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"template_not_found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:templates"},"put":{"operationId":"put_templates_ref","tags":["Templates"],"summary":"New version (draft)","description":"Saves new CONTENT as a draft: if the newest version is already a draft it is overwritten, otherwise a new version is created. The name never changes here. Publish with POST /publish.","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateVersionInput"}}}},"responses":{"200":{"description":"Draft saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateDraft"}}}},"400":{"description":"template_invalid (with `field`), template_parse_error (with `tag`), template_source_too_large (with `limit`)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"template_not_found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:templates"},"delete":{"operationId":"delete_templates_ref","tags":["Templates"],"summary":"Delete a template","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted, with every version","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateDeleted"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"template_not_found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:templates"}},"/templates/{ref}/publish":{"post":{"operationId":"post_templates_ref_publish","tags":["Templates"],"summary":"Publish a version","description":"No body: publishes the newest draft. `{\"version\": N}`: makes that version current (rollback included).","parameters":[{"name":"ref","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"integer","minimum":1,"description":"An integer ≥ 1 (a string of digits, e.g. \"3\", is accepted too). Anything else — true, [3], \"0x3\", 1.5 — is 400 bad_request, never a guess."}}}}}},"responses":{"200":{"description":"Published","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplatePublished"}}}},"400":{"description":"bad_request — `version` is not an integer ≥ 1","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"description":"template_not_found (or that version does not exist)","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"template_no_draft — no body and no draft to publish","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:templates"}},"/send-policies":{"get":{"operationId":"get_send_policies","tags":["Send policies"],"summary":"List policies in evaluation order","responses":{"200":{"description":"All (cap 50), including paused","content":{"application/json":{"schema":{"type":"object","properties":{"policies":{"type":"array","items":{"$ref":"#/components/schemas/SendPolicy"}},"total":{"type":"integer"},"max":{"type":"integer"}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:send-policies"},"post":{"operationId":"post_send_policies","tags":["Send policies"],"summary":"Create a policy (born paused, last in order)","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendPolicyInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendPolicy"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"send_policy_limit_reached — 50 send policies per account (with `limit`); remove one before creating another.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:send-policies"}},"/send-policies/decisions":{"get":{"operationId":"get_send_policies_decisions","tags":["Send policies"],"summary":"What the policies decided","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"before","in":"query","schema":{"type":"integer"},"description":"The `id` of the last row of the previous page (the response carries `nextBefore`)."}],"responses":{"200":{"description":"Decisions, newest first","content":{"application/json":{"schema":{"type":"object","properties":{"decisions":{"type":"array","items":{"$ref":"#/components/schemas/Decision"}},"nextBefore":{"type":["integer","null"]}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:send-policies"}},"/send-policies/{id}":{"get":{"operationId":"get_send_policies_id","tags":["Send policies"],"summary":"One policy","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendPolicy"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:send-policies"},"put":{"operationId":"put_send_policies_id","tags":["Send policies"],"summary":"Replace a whole policy","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendPolicyInput"}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendPolicy"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:send-policies"},"delete":{"operationId":"delete_send_policies_id","tags":["Send policies"],"summary":"Delete a policy","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Removed","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"integer"},"name":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:send-policies"}},"/send-policies/{id}/pause":{"post":{"operationId":"post_send_policies_id_pause","tags":["Send policies"],"summary":"Pause","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Paused","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendPolicy"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:send-policies"}},"/send-policies/{id}/unpause":{"post":{"operationId":"post_send_policies_id_unpause","tags":["Send policies"],"summary":"Activate","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Active","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendPolicy"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:send-policies"}},"/send-policies/reorder":{"post":{"operationId":"post_send_policies_reorder","tags":["Send policies"],"summary":"Reorder","description":"Foreign ids are ignored; missing ones go to the end in their previous order.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["order"],"properties":{"order":{"type":"array","maxItems":50,"items":{"type":"integer"}}}}}}},"responses":{"200":{"description":"New order","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:send-policies"}},"/surveys":{"get":{"operationId":"get_surveys","tags":["NPS/CSAT surveys"],"summary":"List surveys","responses":{"200":{"description":"List","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:surveys"},"post":{"operationId":"post_surveys","tags":["NPS/CSAT surveys"],"summary":"Create a survey","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurveyInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Survey"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:surveys"}},"/surveys/{id}":{"get":{"operationId":"get_surveys_id","tags":["NPS/CSAT surveys"],"summary":"One survey with its rollup","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Survey + rollup (media, distribuicao, nps, range)","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:surveys"},"put":{"operationId":"put_surveys_id","tags":["NPS/CSAT surveys"],"summary":"Replace a survey (kind is ignored)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurveyInput"}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Survey"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:surveys"},"delete":{"operationId":"delete_surveys_id","tags":["NPS/CSAT surveys"],"summary":"Delete a survey and its responses","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Deleted; `responsesDeleted` says how many responses went with it.","content":{"application/json":{"schema":{"type":"object","properties":{"deleted":{"type":"integer"},"name":{"type":"string"},"responsesDeleted":{"type":"integer"}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:surveys"}},"/surveys/{id}/responses":{"get":{"operationId":"get_surveys_id_responses","tags":["NPS/CSAT surveys"],"summary":"Responses (newest first) and the rollup","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"before","in":"query","schema":{"type":"integer"},"description":"The `nextBefore` of the previous page (never an offset)."}],"responses":{"200":{"description":"Page; each item is the response’s current state (key by sendId).","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["responses","nextBefore","rollup"],"properties":{"responses":{"type":"array","items":{"$ref":"#/components/schemas/SurveyResponse"}},"nextBefore":{"type":["integer","null"],"description":"Pass it as `before` for the next page; null = last page."},"rollup":{"$ref":"#/components/schemas/SurveyRollup"}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:surveys"}},"/surveys/{id}/send":{"post":{"operationId":"post_surveys_id_send","tags":["NPS/CSAT surveys"],"summary":"Send to one recipient","description":"The score is the click in the email. Anti-fatigue: the same recipient is surveyed once per account window (429 recipient_recently_surveyed, with a Retry-After that may be weeks). The fixed text of the email and the voting page follow the account language; your subject and question go out as you wrote them.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"Idempotency-Key","in":"header","schema":{"type":"string","maxLength":190,"pattern":"^[\\x21-\\x7e]*$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["to"],"properties":{"to":{"type":"string","format":"email","maxLength":320,"description":"ASCII only: no accents; an international (IDN) domain only in its xn-- (punycode) form. Anything else is refused with `reason: address_not_ascii`."},"meta":{"type":"object","additionalProperties":true,"description":"Your context (≤ 4 KB); comes back in the webhook and in the responses."},"idempotencyKey":{"oneOf":[{"type":"string","maxLength":190,"pattern":"^[\\x21-\\x7e]*$"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}],"description":"Optional key (or the Idempotency-Key header). Up to 190 printable ASCII characters without spaces (`!` to `~`), or an integer, read as its decimal text (`1234` and `\"1234\"` are the same key; `0` counts as no key); anything else is 400 bad_request. While its survey-send record exists, the same key returns 200 duplicate with the original survey-send id (not a message UUID)."}}}}}},"responses":{"200":{"description":"Duplicate (idempotencyKey): the id of the ORIGINAL survey send (an integer — not the message id).","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["id","status","message"],"properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["duplicate"]},"message":{"type":"string"}}}}}},"202":{"description":"Sent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"survey_inactive, or any refusal of POST /v1/send (domain_not_verified, domain_on_hold, domain_not_allowed_for_credential, recipient_suppressed, policy_refused…) — the survey goes out as a normal email.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"injection_failed — the message could not be queued (the quota is refunded; retry with the same idempotencyKey), or ip_rules_unavailable.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"send:surveys"}},"/logs":{"get":{"operationId":"get_logs","tags":["Logs"],"summary":"List the API calls of the account","description":"Every authenticated call your API keys made, newest first, kept for 180 days (the retention period of the log). Request and response bodies are stored REDACTED and capped at 32 KB each; read them in GET /v1/logs/{id}. Calls refused before the key was identified (invalid key, per-IP limits) are not in the log — there is no account to attribute them to —, nor is the 429 of the general per-key limit. The two log routes are logged too, without the response body. Scope read:logs.","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"},{"name":"status","in":"query","schema":{"type":"string"},"description":"`success` (1xx–3xx), `error` (4xx–5xx), a class (`2xx`, `4xx`, `5xx`) or an exact code (`422`). Anything else is 400 bad_status."},{"name":"credential","in":"query","schema":{"type":"integer"},"description":"The id of one API key of the account."},{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"},{"name":"route","in":"query","schema":{"type":"string"},"description":"A route pattern, with or without the method: `POST /v1/send`, `/v1/messages/:uuid` (or `{uuid}`). Malformed is 400 bad_route."},{"name":"sdk","in":"query","schema":{"type":"string","enum":["oveyon-node","oveyon-python","oveyon-php","oveyon-mcp","curl","node","python","php","go","java","ruby","postman","insomnia","browser","other","none"]},"description":"The client family detected from the User-Agent (`none` = calls without User-Agent; `oveyon-mcp` = calls an AI agent made through the MCP server). Anything else is 400 bad_sdk."}],"responses":{"200":{"description":"Page","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiLogList"}}}},"400":{"description":"bad_cursor, bad_date, bad_status, bad_credential, bad_route, bad_sdk.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:logs"}},"/logs/{id}":{"get":{"operationId":"get_logs_id","tags":["Logs"],"summary":"One API call with its request and response bodies","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"The call","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiLogDetail"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:logs"}},"/logs/mcp":{"get":{"operationId":"get_logs_mcp","tags":["Logs"],"summary":"List what AI agents did through the MCP server","description":"One entry per JSON-RPC message that reached the MCP server with a credential of the account — the tool the agent called, through which app (ChatGPT, Claude…), from where, how it ended and which API calls it made (their `mcpCallId` in GET /v1/logs is this `callId`). Kept for 180 days, like the API log. This log never keeps tool results, only their size (the API call a tool makes is in GET /v1/logs, redacted like any call); arguments are stored redacted (GET /v1/logs/mcp/{id}). Requests whose credential could not be identified are not in the log (a known key that is refused — switched off, for example — is). Scope read:logs.","parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"},{"name":"outcome","in":"query","schema":{"type":"string","enum":["ok","tool_error","rejected","error","aborted"]},"description":"How the message ended. Anything else is 400 bad_outcome."},{"name":"tool","in":"query","schema":{"type":"string"},"description":"The tool name (`get_inbound_content`); implies `tools/call`. Malformed is 400 bad_tool."},{"name":"method","in":"query","schema":{"type":"string"},"description":"The JSON-RPC method (`tools/call`, `tools/list`, `initialize`…). Malformed is 400 bad_method."},{"name":"credential","in":"query","schema":{"type":"integer"},"description":"The id of one credential of the account (an app connection or an API key)."},{"$ref":"#/components/parameters/from"},{"$ref":"#/components/parameters/to"}],"responses":{"200":{"description":"Page","content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpLogList"}}}},"400":{"description":"bad_cursor, bad_date, bad_outcome, bad_tool, bad_method, bad_credential.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:logs"}},"/logs/mcp/{id}":{"get":{"operationId":"get_logs_mcp_id","tags":["Logs"],"summary":"One MCP message with its redacted arguments and the API calls it made","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"The message","content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpLogDetail"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:logs"}},"/contacts":{"post":{"operationId":"post_contacts","tags":["Marketing (experimental)"],"summary":"Create or update a contact (upsert by email)","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts. The email is normalized before matching, so the same person is one contact: only ASCII whitespace (space, TAB, LF, VT, FF, CR) is trimmed from the ends, then it is lowercased — a Unicode space at either end (NBSP, U+3000…) is not trimmed, and the call is 400 `invalid_email`. `attributes` is merged shallowly; a new name is registered with the type of its first value. The body is closed: an unknown field is 400 with `field` (only when the name looks like a field name — no spaces, no @). A contact that was deleted comes back as a NEW contact (201, `created: true`), from zero: nothing of the deleted one returns, and the unsubscribes the person made still hold.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktContactInput"}}}},"responses":{"200":{"description":"Updated (or already as sent)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktContactUpsert"}}}},"201":{"description":"Created — or re-created from zero after a delete","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktContactUpsert"}}}},"400":{"description":"invalid_email, invalid_property, invalid_property_value (with `limit`), bad_request (with `field`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"too_many_properties (100 names per account) or attributes_too_large (8 KB per contact), with `limit`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"contact_busy — concurrent writes kept this contact (or the same new tag) busy for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing is wrong with the request: retry after `Retry-After` (5 s, also in `retryAfter`); retrying is safe. Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (caution, not a denial; `Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"contact_busy","message":"the contact could not be saved right now because of concurrent writes — retry in a few seconds (retrying is safe)","retryAfter":5}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:contacts"},"get":{"operationId":"get_contacts","tags":["Marketing (experimental)"],"summary":"List contacts","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts. Oldest first (by id), with an opaque cursor. Deleted contacts are not listed.","parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":100},"description":"Prefix of the email (case-insensitive)."},{"name":"listId","in":"query","schema":{"type":"integer"}},{"name":"status","in":"query","schema":{"type":"string","enum":["pending","subscribed","unsubscribed"]},"description":"Only with `listId`."},{"name":"tagId","in":"query","schema":{"type":"integer"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktContactList"}}}},"400":{"description":"bad_cursor, or bad_request (with `field`: listId, tagId, status, q).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"list_not_found or tag_not_found — does not exist or belongs to another account (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:contacts"},"delete":{"operationId":"delete_contacts","tags":["Marketing (experimental)"],"summary":"Delete a contact","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts. By `email` OR `id` (exactly one). The contact leaves every list at once; 30 days later its data is erased (see `purgeAfter`). A hash of the address is kept so a re-import does not subscribe again someone who unsubscribed through the link or complained.","parameters":[{"name":"email","in":"query","schema":{"type":"string","maxLength":320},"description":"The contact’s email, normalized as on POST /v1/contacts: only ASCII whitespace (space, TAB, LF, VT, FF, CR) is trimmed from the ends; a Unicode space at either end (NBSP, U+3000…) is 400 `invalid_email`. ASCII only: the Unicode spelling of a domain is 400 `invalid_email` with `reason: address_not_ascii` — the contact exists only in its xn-- form."},{"name":"id","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktContactDeleted"}}}},"400":{"description":"bad_request (send exactly one of email/id), invalid_email.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"contact_not_found (identical for another account’s contact).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"contact_busy — concurrent writes kept this contact (or the same new tag) busy for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing is wrong with the request: retry after `Retry-After` (5 s, also in `retryAfter`); retrying is safe. Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (caution, not a denial; `Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"contact_busy","message":"the contact could not be saved right now because of concurrent writes — retry in a few seconds (retrying is safe)","retryAfter":5}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:contacts"}},"/contacts/find":{"get":{"operationId":"get_contacts_find","tags":["Marketing (experimental)"],"summary":"Find a contact by email, with its tags and lists","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts.","parameters":[{"name":"email","in":"query","required":true,"schema":{"type":"string","maxLength":320},"description":"The contact’s email, normalized as on POST /v1/contacts: only ASCII whitespace (space, TAB, LF, VT, FF, CR) is trimmed from the ends; a Unicode space at either end (NBSP, U+3000…) is 400 `invalid_email`. ASCII only: the Unicode spelling of a domain is 400 `invalid_email` with `reason: address_not_ascii` — the contact exists only in its xn-- form."}],"responses":{"200":{"description":"The contact","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktContactFound"}}}},"400":{"description":"invalid_email","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"contact_not_found — does not exist, was deleted, or belongs to another account (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:contacts"}},"/contacts/properties":{"post":{"operationId":"post_contacts_properties","tags":["Marketing (experimental)"],"summary":"Register a contact property with an explicit type","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts. Idempotent for the same name and type. The type decides which filter operators apply (contains for string; gt/lt for number and date).","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktPropertyInput"}}}},"responses":{"200":{"description":"Already registered with this type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktPropertyResult"}}}},"201":{"description":"Registered","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktPropertyResult"}}}},"400":{"description":"invalid_property, bad_request (`type`, unknown field).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"property_type_conflict — registered with another type (in `type`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"too_many_properties (with `limit`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"contact_busy — concurrent writes kept this contact (or the same new tag) busy for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing is wrong with the request: retry after `Retry-After` (5 s, also in `retryAfter`); retrying is safe. Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (caution, not a denial; `Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"contact_busy","message":"the contact could not be saved right now because of concurrent writes — retry in a few seconds (retrying is safe)","retryAfter":5}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:contacts"}},"/contacts/tags":{"post":{"operationId":"post_contacts_tags","tags":["Marketing (experimental)"],"summary":"Add tags to a contact","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktTagsInput"}}}},"responses":{"200":{"description":"Tags of the contact now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktTagsAdded"}}}},"400":{"description":"invalid_tag (with `field`), invalid_email, bad_request (1 to 20 tags; exactly one of email/id).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"contact_not_found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"contact_busy — concurrent writes kept this contact (or the same new tag) busy for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing is wrong with the request: retry after `Retry-After` (5 s, also in `retryAfter`); retrying is safe. Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (caution, not a denial; `Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"contact_busy","message":"the contact could not be saved right now because of concurrent writes — retry in a few seconds (retrying is safe)","retryAfter":5}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:contacts"},"delete":{"operationId":"delete_contacts_tags","tags":["Marketing (experimental)"],"summary":"Remove tags from a contact","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts. Repeat `tag` to remove several. A tag the contact does not have is ignored.","parameters":[{"name":"email","in":"query","schema":{"type":"string","maxLength":320},"description":"The contact’s email, normalized as on POST /v1/contacts: only ASCII whitespace (space, TAB, LF, VT, FF, CR) is trimmed from the ends; a Unicode space at either end (NBSP, U+3000…) is 400 `invalid_email`. ASCII only: the Unicode spelling of a domain is 400 `invalid_email` with `reason: address_not_ascii` — the contact exists only in its xn-- form."},{"name":"id","in":"query","schema":{"type":"integer"}},{"name":"tag","in":"query","required":true,"schema":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","maxLength":100}},"style":"form","explode":true}],"responses":{"200":{"description":"Tags of the contact now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktTagsRemoved"}}}},"400":{"description":"invalid_tag, invalid_email, bad_request.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"contact_not_found","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"contact_busy — concurrent writes kept this contact (or the same new tag) busy for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing is wrong with the request: retry after `Retry-After` (5 s, also in `retryAfter`); retrying is safe. Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (caution, not a denial; `Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"contact_busy","message":"the contact could not be saved right now because of concurrent writes — retry in a few seconds (retrying is safe)","retryAfter":5}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:contacts"}},"/lists":{"get":{"operationId":"get_lists","tags":["Marketing (experimental)"],"summary":"List the mailing lists with their counts","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts. A list belongs to ONE brand (its sending domain) and has its own sender.","responses":{"200":{"description":"Lists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktListList"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:contacts"}},"/lists/{id}/subscribe":{"post":{"operationId":"post_lists_id_subscribe","tags":["Marketing (experimental)"],"summary":"Subscribe a contact to a list (creating or updating the contact)","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts. On a list with double opt-in the subscription stays `pending` and the person gets a confirmation email from the list's sender, with a link that subscribes them; at most one per list and mailbox every 24 hours (a new call inside that window does not send another one), five per mailbox per hour and three per mailbox per day across the platform, and none to a suppressed address. The mailbox ignores the `+tag` of the address and, on Gmail, the dots. Without double opt-in it is `subscribed` at once. Someone who unsubscribed through the link or the preference center, complained, or bounced is not subscribed again by the API (409).","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSubscribeInput"}}}},"responses":{"200":{"description":"The subscription","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSubscription"}}}},"400":{"description":"invalid_email, invalid_property, invalid_property_value, bad_request (with `field`, including `consent.*`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"list_not_found (identical for another account’s list).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"unsubscribed_by_contact, complained, bounced — the person decided; only they can come back. Nothing is changed by the refused call, not even the contact.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"too_many_properties, attributes_too_large (with `limit`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"contact_busy — concurrent writes kept this contact (or the same new tag) busy for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing is wrong with the request: retry after `Retry-After` (5 s, also in `retryAfter`); retrying is safe. Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (caution, not a denial; `Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"contact_busy","message":"the contact could not be saved right now because of concurrent writes — retry in a few seconds (retrying is safe)","retryAfter":5}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:contacts"}},"/lists/{id}/form":{"get":{"operationId":"get_lists_id_form","tags":["Marketing (experimental)"],"summary":"The subscription form of a list, as HTML to paste","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts. The same HTML as the list screen: a form that posts to the brand's tracking host (`/f/<publicKey>`), with the email field, the extra fields and tags configured on the list, a hidden honeypot and, when the list has it, the Cloudflare Turnstile widget. The person gets the confirmation email. Labels in the list's language. The public form only exists on a list with double opt-in.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"The form, as text/html to copy (served with a sandbox CSP — it never runs on this host)","content":{"text/html":{"schema":{"type":"string"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"list_not_found (identical for another account’s list).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"form_requires_double_opt_in — the list has double opt-in off: there is no public form for it (subscribe from your server instead).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:contacts"},"patch":{"operationId":"patch_lists_id_form","tags":["Marketing (experimental)"],"summary":"Turn the public signup form of a list on or off","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts. The kill switch of the form (the same switch as the list screen): off, the form answers the usual page to every submission and records nothing, and the form’s confirmation emails still queued are not sent (their links die; the ones from the API are sent); on again, it takes signups. It does not change the form HTML.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktFormSwitchInput"}}}},"responses":{"200":{"description":"The switch now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktFormSwitch"}}}},"400":{"description":"bad_request (with `field`: `enabled` must be a boolean; unknown fields).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"list_not_found (identical for another account’s list).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"contact_busy — concurrent writes kept this contact (or the same new tag) busy for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing is wrong with the request: retry after `Retry-After` (5 s, also in `retryAfter`); retrying is safe. Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (caution, not a denial; `Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"contact_busy","message":"the contact could not be saved right now because of concurrent writes — retry in a few seconds (retrying is safe)","retryAfter":5}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:contacts"}},"/lists/{id}/unsubscribe":{"post":{"operationId":"post_lists_id_unsubscribe","tags":["Marketing (experimental)"],"summary":"Unsubscribe a contact from a list","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:contacts / write:contacts. Reason `api`: the API can subscribe again someone the API removed. This never suppresses the address — transactional email keeps flowing.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktUnsubscribeInput"}}}},"responses":{"200":{"description":"Status on this list now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktUnsubscription"}}}},"400":{"description":"bad_request (exactly one of email/id), invalid_email.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"list_not_found or contact_not_found.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"$ref":"#/components/responses/PayloadTooLarge"},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"contact_busy — concurrent writes kept this contact (or the same new tag) busy for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing is wrong with the request: retry after `Retry-After` (5 s, also in `retryAfter`); retrying is safe. Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (caution, not a denial; `Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"contact_busy","message":"the contact could not be saved right now because of concurrent writes — retry in a few seconds (retrying is safe)","retryAfter":5}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:contacts"}},"/campaigns":{"post":{"operationId":"post_campaigns","tags":["Marketing (experimental)"],"summary":"Create a campaign (draft)","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. A campaign is one edition for ONE list: the brand, the sender, the footer and the language come from the list. It is born `draft`; nothing is sent until it is approved AND scheduled. The body is closed (an unknown field is 400 with `field`) and capped at 320 KB.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaign"}}}},"400":{"description":"bad_request (with `field`), invalid_content (with `field` and, for the Markdown, `reason`: too_large, triple_braces, stray_braces, too_complex, not_text, template_syntax), invalid_sender (with `field`; with `reason: address_not_ascii` when `fromLocal` or `replyTo` has a character outside ASCII), invalid_filter (with `path` when it can be shown), filter_too_large (with `limit`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"list_not_found or template_not_found — does not exist or belongs to another account (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"campaign_limit (with `limit`) — the account already has 500 live campaigns (cancelled and done ones do not count): cancel or delete one first. With `window: \"day\"`, the account already created 200 campaigns today (UTC; cancelled and deleted ones count): try again tomorrow.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"description":"rate_limited — too many campaign content checks in this account this minute: converting and compiling a campaign that changed (or creating and editing one) costs one unit per 256 KB of content, up to 60 units per account per minute (an unchanged campaign is checked from a cache and costs nothing). With `Retry-After` (also in `retryAfter`). Or any of the general limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"campaign_busy — concurrent writes kept this campaign locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:campaigns"},"get":{"operationId":"get_campaigns","tags":["Marketing (experimental)"],"summary":"List campaigns","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. Newest first, without the content, the sender and the audience (GET /v1/campaigns/{id} has them).","parameters":[{"name":"status","in":"query","schema":{"type":"string","enum":["draft","approved","scheduled","running","paused","done","skipped","cancelled"],"description":"`draft` → `approved` (approve never sends) → `scheduled` (schedule is the gesture that sends) → `running` → `done`; `running` ⇄ `paused`; any of them → `cancelled`. `skipped` = it was scheduled and did not go out within 24 h (nothing was sent): edit it or schedule it again — or it is an `edition` that was not approved by its time (`approvedAt` null): only approve with `sendNow` sends it. Editing an `approved`, `scheduled` or `skipped` campaign takes it back to `draft`. On a `model`, `draft` → `running` (recurrence on, by activate) ⇄ `paused` → `cancelled`."}},{"name":"listId","in":"query","schema":{"type":"integer"}},{"name":"kind","in":"query","schema":{"type":"string","enum":["single","model","edition"]}},{"name":"parentId","in":"query","description":"The editions of this model.","schema":{"type":"integer"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignList"}}}},"400":{"description":"bad_cursor, or bad_request (with `field`: status, listId, kind, parentId).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"list_not_found — does not exist or belongs to another account (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:campaigns"}},"/campaigns/{id}":{"get":{"operationId":"get_campaigns_id","tags":["Marketing (experimental)"],"summary":"Get a campaign, with its content","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"The campaign","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaign"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:campaigns"},"patch":{"operationId":"patch_campaigns_id","tags":["Marketing (experimental)"],"summary":"Edit a campaign","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. Only `draft`, `approved`, `scheduled` and `skipped`. An approved, scheduled or skipped campaign that is edited goes back to `draft` (`returnedToDraft: true`): an approval is for what was checked, not for what came later.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignPatch"}}}},"responses":{"200":{"description":"The campaign now","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignUpdated"}}}},"400":{"description":"The same as POST /v1/campaigns; and bad_request for an empty body.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found (identical for another account’s or a malformed id), list_not_found or template_not_found.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"description":"rate_limited — too many campaign content checks in this account this minute: converting and compiling a campaign that changed (or creating and editing one) costs one unit per 256 KB of content, up to 60 units per account per minute (an unchanged campaign is checked from a cache and costs nothing). With `Retry-After` (also in `retryAfter`). Or any of the general limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"campaign_busy — concurrent writes kept this campaign locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:campaigns"},"delete":{"operationId":"delete_campaigns_id","tags":["Marketing (experimental)"],"summary":"Delete a campaign","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. Only a `draft` or a `cancelled` campaign that never really ran (its rehearsals go with it). A campaign that was sent is history and stays: cancel it instead.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"maxProperties":0,"description":"No body (or `{}`)."}}}},"responses":{"204":{"description":"Deleted"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"invalid_state — not allowed in the current `status` (the `message` says which states allow it). Also when it already ran for real (the `message` says so), and rehearsal_in_progress while a rehearsal of it runs.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"campaign_busy — concurrent writes kept this campaign locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"send:campaigns"}},"/campaigns/{id}/check":{"post":{"operationId":"post_campaigns_id_check","tags":["Marketing (experimental)"],"summary":"Check a campaign: its problems, its audience, the brand’s readiness and the schedule forecast","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. Changes nothing. `problems` empty = `ready`. `readiness` lists the brand prerequisites with who fixes each; the numbers of our infrastructure are not shown.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignCheckInput"}}}},"responses":{"200":{"description":"The check","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignCheck"}}}},"400":{"description":"bad_request (with `field`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"description":"rate_limited — too many campaign content checks in this account this minute: converting and compiling a campaign that changed (or creating and editing one) costs one unit per 256 KB of content, up to 60 units per account per minute (an unchanged campaign is checked from a cache and costs nothing). With `Retry-After` (also in `retryAfter`). Or any of the general limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:campaigns"}},"/campaigns/{id}/preview":{"post":{"operationId":"post_campaigns_id_preview","tags":["Marketing (experimental)"],"summary":"Send a preview of the campaign to a user of the account","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. The campaign as it goes out, with the subject prefixed in the list language (`[Test] ` / `[Teste] `), to `to` — which must be the verified email of an active user of THIS account (never a free address). At most 20 per account per day (UTC). It goes out as a transactional message of the account (not on the marketing tier) and the footer link changes nothing.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktPreviewInput"}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktPreviewSent"}}}},"400":{"description":"preview_recipient_not_allowed — `to` is not a verified, active user of this account (or is malformed; with `reason: address_not_ascii` when it has a character outside ASCII); bad_request (with `field`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found or contact_not_found — does not exist or belongs to another account (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"not_ready (with `problems` and `problemReasons`: a preview needs a subject, content, a valid sender and the postal address of the list), render_failed, or preview_not_sent (with `reason`) — the send was refused.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"description":"preview_limit — 20 previews per account per day (UTC), and 60 preview ATTEMPTS per account per day (the ones that are refused or do not go out count too — the `message` says which), with `limit` and `Retry-After` (until midnight UTC); rate_limited — the content checks of the account (see POST /v1/campaigns/{id}/check); or the general limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"campaign_busy — concurrent writes kept this campaign locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:campaigns"}},"/campaigns/{id}/rehearse":{"post":{"operationId":"post_campaigns_id_rehearse","tags":["Marketing (experimental)"],"summary":"Rehearse a campaign (everything except sending)","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. A rehearsal is a run that takes the snapshot, rechecks each recipient and renders, but sends nothing — as many as you want, one at a time per account. The campaign does not change state. The result is in `rehearsal` of the report.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"maxProperties":0,"description":"No body (or `{}`)."}}}},"responses":{"202":{"description":"The rehearsal run was created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktRehearsalStarted"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"rehearsal_in_progress (with `campaignId`, the campaign whose rehearsal is running) or invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"not_ready (with `problems` and `problemReasons`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"description":"rate_limited — too many campaign content checks in this account this minute: converting and compiling a campaign that changed (or creating and editing one) costs one unit per 256 KB of content, up to 60 units per account per minute (an unchanged campaign is checked from a cache and costs nothing). With `Retry-After` (also in `retryAfter`). Or any of the general limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"campaign_busy — concurrent writes kept this campaign locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:campaigns"}},"/campaigns/{id}/approve":{"post":{"operationId":"post_campaigns_id_approve","tags":["Marketing (experimental)"],"summary":"Approve a campaign (it does NOT send)","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. Only a `draft`. An `edition` of a weekly send is approved AND scheduled for its time in the same gesture (`status: scheduled`); more than 5 minutes after that time it is `not_ready` with `schedule_outside_window`, and once it was skipped only `sendNow: true` sends it. A `model` is never approved (409 invalid_state). Checks everything — the external checks of the brand included — and approves what was checked: approving never sends; scheduling does. The approval FREEZES what the campaign inherits: the version of the template (or of the list layout) that was checked is the one that goes out, and the sender, reply-to, postal address, language and layout of the list are recorded — if the list changes them later, scheduling (or the scheduled send) takes the campaign back to `draft` and the owner is notified.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktApproveInput"}}}},"responses":{"200":{"description":"Approved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignApproved"}}}},"400":{"description":"bad_request (with `field`: sendNow).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"changed — the campaign changed while it was being checked: check again. edition_superseded (with `until` when known) — `sendNow` after the next edition of the model. Or invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"not_ready (with `problems` and `problemReasons`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"description":"rate_limited — too many campaign content checks in this account this minute: converting and compiling a campaign that changed (or creating and editing one) costs one unit per 256 KB of content, up to 60 units per account per minute (an unchanged campaign is checked from a cache and costs nothing). With `Retry-After` (also in `retryAfter`). Or any of the general limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"campaign_busy — concurrent writes kept this campaign locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"send:campaigns"}},"/campaigns/{id}/schedule":{"post":{"operationId":"post_campaigns_id_schedule","tags":["Marketing (experimental)"],"summary":"Schedule a campaign — the gesture that sends","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. Only `approved`, `scheduled` (rescheduling) or `skipped`. Checks everything again. While the brand warms up the edition is spread over days (the forecast is in the check).","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktScheduleInput"}}}},"responses":{"200":{"description":"Scheduled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignScheduled"}}}},"400":{"description":"bad_request (with `field`: scheduledAt, timezone).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"changed — the campaign changed while it was being checked; with `returnedToDraft: true`, the LIST changed after the approval (sender, reply-to, postal address, language or layout) and the campaign went back to `draft`: check it, approve it and schedule it again. Or invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"not_ready (with `problems` and `problemReasons`; `schedule_outside_window` for a time more than 5 minutes in the past or more than a year ahead).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"description":"rate_limited — too many campaign content checks in this account this minute: converting and compiling a campaign that changed (or creating and editing one) costs one unit per 256 KB of content, up to 60 units per account per minute (an unchanged campaign is checked from a cache and costs nothing). With `Retry-After` (also in `retryAfter`). Or any of the general limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"campaign_busy — concurrent writes kept this campaign locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"send:campaigns"}},"/campaigns/{id}/activate":{"post":{"operationId":"post_campaigns_id_activate","tags":["Marketing (experimental)"],"summary":"Turn on the recurrence of a weekly model","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. Only a `model` in `draft`: `running` = its recurrence is on, and each week the edition is created as a `draft` `leadDays` before its time — nothing goes out until that edition is approved. Checks the recurrence, the postal address of the list and the sender (422 not_ready with `problems`). Turning it off and on again is pause/resume; ending it is cancel (its draft editions are cancelled too).","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"maxProperties":0,"description":"No body (or `{}`)."}}}},"responses":{"200":{"description":"On","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktModelActivated"}}}},"400":{"description":"bad_request (with `field`: recurrence…) — the model has no valid recurrence.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"not_ready (with `problems` and `problemReasons`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"campaign_busy — concurrent writes kept this campaign locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"send:campaigns"}},"/campaigns/{id}/pause":{"post":{"operationId":"post_campaigns_id_pause","tags":["Marketing (experimental)"],"summary":"Pause a running campaign","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. Only `running`. What is in flight finishes; nothing new goes out until it is resumed.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"maxProperties":0,"description":"No body (or `{}`)."}}}},"responses":{"200":{"description":"Paused","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignState"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"campaign_busy — concurrent writes kept this campaign locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:campaigns"}},"/campaigns/{id}/resume":{"post":{"operationId":"post_campaigns_id_resume","tags":["Marketing (experimental)"],"summary":"Resume a paused campaign","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. Only `paused`. A campaign paused by the safety thresholds (bounces or complaints) is NOT resumed here: our support reviews the brand and resumes it (409 paused_for_review).","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"maxProperties":0,"description":"No body (or `{}`)."}}}},"responses":{"200":{"description":"Running again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignState"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"paused_for_review — paused by the safety thresholds: only our support resumes it. Or invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"campaign_busy — concurrent writes kept this campaign locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"send:campaigns"}},"/campaigns/{id}/cancel":{"post":{"operationId":"post_campaigns_id_cancel","tags":["Marketing (experimental)"],"summary":"Cancel a campaign","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. From any state that is not final; its running rehearsals stop too. Who was still waiting does not receive it (`skipped`); what is in flight finishes.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"maxProperties":0,"description":"No body (or `{}`)."}}}},"responses":{"200":{"description":"Cancelled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignCancelled"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 320 KB (`limit: 327680`): 256 KB of content plus the 64 KB of the filter, with room for the rest. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"campaign_busy — concurrent writes kept this campaign locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"send:campaigns"}},"/campaigns/{id}/report":{"get":{"operationId":"get_campaigns_id_report","tags":["Marketing (experimental)"],"summary":"The report of a campaign","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:campaigns / write:campaigns / send:campaigns. Sent, delivered, bounced, complaints, unsubscribes, opens and clicks, with the rates — from the counters of the run, so it stays the same after a contact is deleted. Outcomes arrive a few seconds after the events.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"The report","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktCampaignReport"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"campaign_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:campaigns"}},"/sequences":{"post":{"operationId":"post_sequences","tags":["Marketing (experimental)"],"summary":"Create a sequence (draft)","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:sequences / write:sequences. A sequence is a series of emails for ONE list: someone subscribes (or gets a tag) and receives email → wait → email…, each email rechecked at the moment it goes out (still subscribed, not suppressed). Imports never trigger it. It is born `draft`; nothing goes out until it is started. Up to 100 live sequences per account and 50 created per day (UTC). Body capped at 576 KB.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSequenceInput"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSequence"}}}},"400":{"description":"bad_request (with `field`), invalid_graph (with `field` — the path of the node — and `reason`: malformed, unknown_field, too_large, too_many_nodes, invalid_node_id, missing_root, root_not_trigger, trigger_not_at_root, branching, unknown_next_node, cycle, no_exit, exit_has_next, unreachable_node, no_email_before_exit, invalid_wait, invalid_trigger; and, on edit, root_changed — the root id never changes after creation, the message says the stored one), unsupported_node (with `field` and, for a node type planned for later, `typeName`), invalid_content (with `field` — the email node — and, for the Markdown, `reason`), unknown_tag (with `field`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"list_not_found — does not exist or belongs to another account (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 576 KB (`limit: 589824`): the graph goes up to 512 KB. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"sequence_limit (with `limit`; with `window: \"day\"`, the 50 created per day).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"description":"rate_limited — too many content checks in this account this minute (the same budget as campaigns: one unit per 256 KB of content, up to 60 per account per minute). With `Retry-After` (also in `retryAfter`). Or any of the general limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"sequence_busy — concurrent writes kept this sequence locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:sequences"},"get":{"operationId":"get_sequences","tags":["Marketing (experimental)"],"summary":"List sequences","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:sequences / write:sequences. Newest first, without the graph (GET /v1/sequences/{id} has it).","parameters":[{"name":"status","in":"query","schema":{"type":"string","enum":["draft","active","paused","stopped"],"description":"`draft` → `active` (start: checks everything and turns it on — it is the gesture that sends) ⇄ `paused` (nobody gets the next email; who is in it stays at the same step, and whoever subscribes meanwhile waits at the start); any of them → `stopped` (whoever was waiting leaves, nobody else enters; it does not come back). Paused: whoever enters waits. Stopped: nobody else enters. Editing the content needs `draft` or `paused`."}},{"name":"listId","in":"query","schema":{"type":"integer"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},{"$ref":"#/components/parameters/cursor"}],"responses":{"200":{"description":"Page","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSequenceList"}}}},"400":{"description":"bad_cursor, or bad_request (with `field`: status, listId).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"list_not_found — does not exist or belongs to another account (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:sequences"}},"/sequences/{id}":{"get":{"operationId":"get_sequences_id","tags":["Marketing (experimental)"],"summary":"Get a sequence, with its graph","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:sequences / write:sequences.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"The sequence","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSequence"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"sequence_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:sequences"},"patch":{"operationId":"patch_sequences_id","tags":["Marketing (experimental)"],"summary":"Edit a sequence","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:sequences / write:sequences. Send the `revision` you read: if someone saved after it, 409 changed with the current `revision` (read again and edit on top of it). The content changes only while the sequence is off (`draft` or `paused`) — pause it, edit, start it again; while `active` only `name` changes. The root id (`graph.rootId`) never changes after the sequence is created: a graph with another root is 400 invalid_graph with `reason: root_changed`. Who is waiting at a step that an edit removed leaves the sequence (`revision`) when the sequence runs again.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSequencePatch"}}}},"responses":{"200":{"description":"Saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSequence"}}}},"400":{"description":"bad_request (with `field`), invalid_graph (with `field` — the path of the node — and `reason`: malformed, unknown_field, too_large, too_many_nodes, invalid_node_id, missing_root, root_not_trigger, trigger_not_at_root, branching, unknown_next_node, cycle, no_exit, exit_has_next, unreachable_node, no_email_before_exit, invalid_wait, invalid_trigger; and, on edit, root_changed — the root id never changes after creation, the message says the stored one), unsupported_node (with `field` and, for a node type planned for later, `typeName`), invalid_content (with `field` — the email node — and, for the Markdown, `reason`), unknown_tag (with `field`).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"sequence_not_found or list_not_found — does not exist or belongs to another account (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"changed (with `revision`, the current one), or trigger_limit (with `limit`: a paused sequence whose new graph moves it to a trigger that already has 5 active or paused sequences), or invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 576 KB (`limit: 589824`): the graph goes up to 512 KB. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"description":"rate_limited — too many content checks in this account this minute (the same budget as campaigns: one unit per 256 KB of content, up to 60 per account per minute). With `Retry-After` (also in `retryAfter`). Or any of the general limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"sequence_busy — concurrent writes kept this sequence locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:sequences"},"delete":{"operationId":"delete_sequences_id","tags":["Marketing (experimental)"],"summary":"Delete a sequence","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:sequences / write:sequences. Only one that never had anyone in it (`draft`, or `stopped` before anyone entered); one with history is stopped instead (409 invalid_state).","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"maxProperties":0,"description":"No body (or `{}`)."}}}},"responses":{"204":{"description":"Deleted"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"sequence_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 576 KB (`limit: 589824`): the graph goes up to 512 KB. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"sequence_busy — concurrent writes kept this sequence locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:sequences"}},"/sequences/{id}/start":{"post":{"operationId":"post_sequences_id_start","tags":["Marketing (experimental)"],"summary":"Start a sequence — the gesture that sends","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:sequences / write:sequences. From `draft` or `paused`. Checks every email (subject, content, variables with a default, the footer that goes in), the postal address of the list and the brand prerequisites — 422 not_ready with `problems`, each with its node. Starting FREEZES the list layout it checked and the sender: if the list sender or reply-to changes later, the sequence pauses (`sender_changed`) and the owner is notified. From then on, whoever subscribes enters; who was waiting in a paused sequence goes on from where they were.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"maxProperties":0,"description":"No body (or `{}`)."}}}},"responses":{"200":{"description":"Active","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSequenceState"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"sequence_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"changed — the sequence changed while it was being checked: start it again. Or trigger_limit (with `limit`) — the account already has 5 active or paused sequences with this same trigger (the same list, or the same tag; a paused one also takes whoever enters): stop one of them, or use another trigger. Or invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 576 KB (`limit: 589824`): the graph goes up to 512 KB. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"422":{"description":"not_ready (with `problems`: `code`, `nodeId` and, for an email over 100 KB, `reason`).","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},{"type":"object","properties":{"problems":{"type":"array","items":{"$ref":"#/components/schemas/MktSequenceProblem"}}}}]}}}},"429":{"description":"rate_limited — too many content checks in this account this minute (the same budget as campaigns: one unit per 256 KB of content, up to 60 per account per minute). With `Retry-After` (also in `retryAfter`). Or any of the general limits.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"sequence_busy — concurrent writes kept this sequence locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:sequences"}},"/sequences/{id}/pause":{"post":{"operationId":"post_sequences_id_pause","tags":["Marketing (experimental)"],"summary":"Pause a sequence","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:sequences / write:sequences. Only `active`. Nobody gets the next email; who is in it stays at the same step. Whoever subscribes while it is paused enters and waits at the start: when it is started again they go on, and the waits only start counting then. Paused: whoever enters waits. Stopped: nobody else enters.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"maxProperties":0,"description":"No body (or `{}`)."}}}},"responses":{"200":{"description":"Paused","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSequenceState"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"sequence_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 576 KB (`limit: 589824`): the graph goes up to 512 KB. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"sequence_busy — concurrent writes kept this sequence locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:sequences"}},"/sequences/{id}/stop":{"post":{"operationId":"post_sequences_id_stop","tags":["Marketing (experimental)"],"summary":"Stop a sequence for good","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:sequences / write:sequences. From any state that is not `stopped`. Whoever was waiting leaves it (`stopped`); what is in flight finishes. It does not come back: create another one.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"maxProperties":0,"description":"No body (or `{}`)."}}}},"responses":{"200":{"description":"Stopped","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSequenceStopped"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"sequence_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"409":{"description":"invalid_state — not allowed in the current `status` (the `message` says which states allow it).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"413":{"description":"payload_too_large — the request body exceeds 576 KB (`limit: 589824`): the graph goes up to 512 KB. Refused before any validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"}}}},"415":{"$ref":"#/components/responses/UnsupportedMediaType"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"description":"sequence_busy — concurrent writes kept this sequence locked for a few seconds — from any source, not necessarily this account — and this request gave up instead of waiting longer. Nothing changed: retry after `Retry-After` (5 s, also in `retryAfter`). Or ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (`Retry-After` 30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}}},"security":[{"bearer":[]}],"x-oveyon-scope":"write:sequences"}},"/sequences/{id}/report":{"get":{"operationId":"get_sequences_id_report","tags":["Marketing (experimental)"],"summary":"The funnel of a sequence","description":"EXPERIMENTAL — enabled account by account; without it every call answers 403 module_disabled. Scopes read:sequences / write:sequences. Per node, in the order of the path: who reached it, the emails it sent, who left there and who is waiting there now — and the totals.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"The funnel","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MktSequenceReport"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"module_disabled — the marketing module is not enabled on this account. Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"404":{"description":"sequence_not_found — does not exist, belongs to another account, or the id is malformed (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"security":[{"bearer":[]}],"x-oveyon-scope":"read:sequences"}}},"webhooks":{"holdEvent":{"post":{"summary":"Draft approval events (held, approved, rejected, hold_expired) — opt-in per endpoint","parameters":[{"name":"x-oveyon-event","in":"header","required":true,"schema":{"type":"string"}},{"name":"x-oveyon-timestamp","in":"header","required":true,"schema":{"type":"integer"},"description":"Epoch seconds. Reject if |now − timestamp| > 300 s."},{"name":"x-oveyon-signature","in":"header","required":true,"schema":{"type":"string"},"description":"`sha256=` + HMAC-SHA256(secret, timestamp + \".\" + raw body)."}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"event":{"type":"string","enum":["held","approved","rejected","hold_expired"]},"messageId":{"type":"string","format":"uuid"},"recipient":{"type":"string"},"status":{"type":"string","description":"frozen while held; queued after approval; failed after reject/expiry."},"detail":{"type":"object","properties":{"hold":{"type":"object","properties":{"note":{"type":["string","null"]},"requestedBy":{"type":["string","null"]},"expiresAt":{"type":"string","format":"date-time"},"decidedAt":{"type":["string","null"]},"decidedBy":{"type":["string","null"]},"reason":{"type":["string","null"]},"url":{"type":"string","description":"GET /v1/messages/{id} — the body is not in the webhook; the agent already has what it sent."}}}}},"timestamp":{"type":"string","format":"date-time"}}}}}},"responses":{"200":{"description":"Answer 2xx fast."}}}},"deliveryEvent":{"post":{"summary":"Delivery event (delivered, bounced, opened, clicked, complained, blocked)","parameters":[{"name":"x-oveyon-event","in":"header","required":true,"schema":{"type":"string"}},{"name":"x-oveyon-timestamp","in":"header","required":true,"schema":{"type":"integer"},"description":"Epoch seconds. Reject if |now − timestamp| > 300 s."},{"name":"x-oveyon-signature","in":"header","required":true,"schema":{"type":"string"},"description":"`sha256=` + HMAC-SHA256(secret, timestamp + \".\" + raw body)."}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"event":{"type":"string"},"id":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}},"additionalProperties":true}}}},"responses":{"200":{"description":"Any 2xx within 10 s counts as delivered; 3xx/4xx/5xx/timeout go to retry (6 attempts)."}}}},"inbound.received":{"post":{"summary":"Email received (per recipient; stable eventId for deduplication)","parameters":[{"name":"x-oveyon-event","in":"header","required":true,"schema":{"type":"string"}},{"name":"x-oveyon-timestamp","in":"header","required":true,"schema":{"type":"integer"},"description":"Epoch seconds. Reject if |now − timestamp| > 300 s."},{"name":"x-oveyon-signature","in":"header","required":true,"schema":{"type":"string"},"description":"`sha256=` + HMAC-SHA256(secret, timestamp + \".\" + raw body)."}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"event":{"type":"string","const":"inbound.received"},"eventId":{"type":"string","format":"uuid"},"schemaVersion":{"type":"integer"},"timestamp":{"type":"string","format":"date-time"},"message":{"$ref":"#/components/schemas/InboundMessage"},"recipient":{"type":"object","properties":{"id":{"type":"string"},"to":{"type":"string"}}},"attachments":{"type":"array","description":"The manifest, in ALL modes (summary included) — see InboundAttachment. In mode `full+attachments`, and only when the whole POST fits the cap, each item also carries `content`.","items":{"allOf":[{"$ref":"#/components/schemas/InboundAttachment"},{"type":"object","properties":{"content":{"type":"string","description":"Base64 bytes — only in mode `full+attachments` when `truncation.attachmentsInline` is true (all or nothing)."}},"additionalProperties":true}]}},"truncation":{"type":"object","properties":{"degraded":{"type":"boolean"},"requestedMode":{"type":"string"},"mode":{"type":"string"},"reason":{"type":["string","null"]},"maxBytes":{"type":"integer"}},"additionalProperties":true},"text":{"type":["string","null"],"description":"Full text body (modes full / full+attachments), capped per field."},"html":{"type":["string","null"],"description":"Third-party HTML — sanitize before rendering."},"replyText":{"type":["string","null"],"description":"The NEW text of the message with quoted history, Outlook/forwarded headers and the RFC 3676 signature removed (pt/en). Feed this to a model, not `text`. Equals `text` when nothing was quoted."},"replyStripped":{"type":"boolean","description":"True when something was removed to produce replyText."},"replyMarkers":{"type":"array","items":{"type":"string","enum":["quote_header","quoted_lines","outlook_header","original_message","forwarded","signature"]},"description":"What was recognized and removed."}},"additionalProperties":true}}}},"responses":{"200":{"description":"Answer 2xx fast; do the heavy work afterwards."}}}},"inbound.retro_flagged":{"post":{"summary":"A message we already delivered turned malicious (a link was listed AFTER delivery)","parameters":[{"name":"x-oveyon-event","in":"header","required":true,"schema":{"type":"string"}},{"name":"x-oveyon-timestamp","in":"header","required":true,"schema":{"type":"integer"},"description":"Epoch seconds. Reject if |now − timestamp| > 300 s."},{"name":"x-oveyon-signature","in":"header","required":true,"schema":{"type":"string"},"description":"`sha256=` + HMAC-SHA256(secret, timestamp + \".\" + raw body)."}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundRetroFlagged"},"description":"Same schema as components.schemas.InboundRetroFlagged — one definition, one truth."}}},"responses":{"200":{"description":"Answer 2xx fast. The message itself was NOT changed — it stays delivered; this is a warning, not a recall."}}}},"inbound.quarantined":{"post":{"summary":"The agent-safety verdict held a message BEFORE delivery — we never hold without telling you","parameters":[{"name":"x-oveyon-event","in":"header","required":true,"schema":{"type":"string"}},{"name":"x-oveyon-timestamp","in":"header","required":true,"schema":{"type":"integer"},"description":"Epoch seconds. Reject if |now − timestamp| > 300 s."},{"name":"x-oveyon-signature","in":"header","required":true,"schema":{"type":"string"},"description":"`sha256=` + HMAC-SHA256(secret, timestamp + \".\" + raw body)."}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundQuarantined"},"description":"Same schema as components.schemas.InboundQuarantined — one definition, one truth."}}},"responses":{"200":{"description":"Answer 2xx fast. Nothing was delivered: the body is held until a human releases it in the panel; reply via API answers 409 message_quarantined meanwhile."}}}},"url_verification":{"post":{"summary":"Challenge before an inbound webhook URL is saved","parameters":[{"name":"x-oveyon-event","in":"header","required":true,"schema":{"type":"string"}},{"name":"x-oveyon-timestamp","in":"header","required":true,"schema":{"type":"integer"},"description":"Epoch seconds. Reject if |now − timestamp| > 300 s."},{"name":"x-oveyon-signature","in":"header","required":true,"schema":{"type":"string"},"description":"`sha256=` + HMAC-SHA256(secret, timestamp + \".\" + raw body)."}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","const":"url_verification"},"challenge":{"type":"string"},"url":{"type":"string"},"sentAt":{"type":"string","format":"date-time"}}}}}},"responses":{"200":{"description":"Echo the `challenge` value with a 2xx (an empty body does NOT pass). Timeout 10 s."}}}},"survey.response":{"post":{"summary":"Survey response (current state; may arrive more than once per response — key by sendId)","parameters":[{"name":"x-oveyon-event","in":"header","required":true,"schema":{"type":"string"}},{"name":"x-oveyon-timestamp","in":"header","required":true,"schema":{"type":"integer"},"description":"Epoch seconds. Reject if |now − timestamp| > 300 s."},{"name":"x-oveyon-signature","in":"header","required":true,"schema":{"type":"string"},"description":"`sha256=` + HMAC-SHA256(secret, timestamp + \".\" + raw body)."}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"event":{"type":"string","const":"survey.response"},"surveyId":{"type":"integer"},"surveyName":{"type":"string"},"kind":{"type":"string"},"sendId":{"type":"string"},"recipient":{"type":"string"},"score":{"type":"integer"},"comment":{"type":["string","null"]},"updated":{"type":"boolean"},"meta":{"type":"object","additionalProperties":true},"messageId":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}},"additionalProperties":true}}}},"responses":{"200":{"description":"2xx."}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Account API key: `Authorization: Bearer <key>`. Each key carries scopes; the scope an operation requires is in `x-oveyon-scope`."}},"parameters":{"limit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},"cursor":{"name":"cursor","in":"query","schema":{"type":"string"},"description":"The `next_cursor` of the previous page. Cursors from different routes are not interchangeable (400 bad_cursor)."},"from":{"name":"from","in":"query","schema":{"type":"string"},"description":"Start of the range, ISO 8601 (YYYY-MM-DD or timestamp)."},"to":{"name":"to","in":"query","schema":{"type":"string"},"description":"End of the range, ISO 8601."}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until you may retry."}},"responses":{"Unauthorized":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"unauthorized"}}}},"Forbidden":{"description":"Insufficient scope (`insufficient_scope`, with `required` and `have`), a scope the key holds but cannot use while its human-approval lock is on (`scope_blocked_by_approval_lock`, with `required` — approve:holds, write:send-policies, manage:webhooks, write:inbound, write:templates, write:surveys, write:domains, write:contacts, write:campaigns, send:campaigns), API key switched off by its owner in the panel (`key_disabled` — the key is valid; turn it back on or use another one, do not rotate), sending disabled, account suspended (`account_suspended`) or unknown (`account_unknown`), or the key used from an IP outside its allowed ranges (`ip_not_allowed`, with the `allowed` list — see /v1/credentials/ip-rules). 403 is not a limit: do not retry.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"insufficient_scope","required":"send","have":["read:messages"]}}}},"NotFound":{"description":"Does not exist, belongs to another account, or the identifier is malformed — the response is identical in all three cases, on purpose.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"not_found"}}}},"RateLimited":{"description":"Per-key limit (`rate_limited`, 600 requests/min by default per API key — or per MCP OAuth connection —, from any IP), per-IP limit for requests WITHOUT a valid credential (`rate_limited`, 600/min by default), too many unknown or malformed credentials from your address (`too_many_auth_failures`, 20/min by default, counted per IPv4 address or per IPv6 /48; a missing `Authorization`, an expired OAuth token or a disabled key do not count, and anything without the shape of one of our keys counts without being checked; from an address over that limit a valid key still gets through within 120 credential checks/min, and above them every credential not validated in the last 5 minutes gets this 429 until the minute turns) — all checked before the route, on every operation —, account quota (`quota_exceeded` with `window`, `used`, `limit`), warmup cap (`warmup_cap_reached`) or saturation (`queue_full`). Honor `Retry-After` with exponential backoff and jitter.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"rate_limited","retryAfter":60}}}},"BadRequest":{"description":"Invalid request — fix it before retrying. Includes `invalid_json`: with `Content-Type: application/json` the body must be valid JSON and cannot be empty; and `request_too_complex` (with `limit`): the body has a list of more than 10,000 items, more than 60,000 values in total, more than 64 levels of nesting or a number/literal longer than 32 characters — text does not count, so a large attachment is one value. An address outside ASCII (accents, a full-width @, a control character, an international domain not in xn-- form) is refused here with `reason: address_not_ascii` and the `field` it came in (`error` stays the family of that field: `bad_recipient` for to/cc/bcc, `invalid_email` for contacts, `bad_request` otherwise).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"bad_request"}}}},"InboundPolicyBadRequest":{"description":"bad_request with a stable `reason` (the `message` follows your language; the `reason` never changes): name_empty, name_too_long, name_invalid, unknown_action, no_conditions, too_many_conditions, conditions_too_large, invalid_condition, unknown_field, invalid_op, empty_value, value_too_long, invalid_value, too_many_items, too_many_wildcards, params_not_accepted, invalid_params, unknown_param, param_required, param_invalid, unknown_channel, mailboxes_invalid, mailboxes_empty, too_many_mailboxes, unknown_mailbox, invalid_version, invalid_order, message_required, invalid_received_at, invalid_simulate, regex_invalid, regex_unsupported, regex_too_long, regex_too_complex, regex_limit. When the problem is one condition, `field` (and `op`) name it; when it is an action parameter, `param` names it; `max`/`min`/`allowed`/`hint` explain the limit.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"bad_request","reason":"invalid_value","field":"subject","hint":"matches needs at least one *","message":"invalid condition (subject) — check field, operator and value against the catalog"}}}},"MessageNotFound":{"description":"`not_found` — does not exist, belongs to another account, or the identifier is malformed (identical in all three cases, on purpose). `outside_log_window` — the message is yours but was accepted before your plan's log window (Free 3 days, Starter 15, Plus 20, Growth 30, Business 45, Scale 60, Enterprise 365); `message` says the window. Held messages are never outside it while they wait for a decision. After the platform's own retention period (longer than any plan's window, or the end of yours if yours is longer) the message is deleted and answers `not_found`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"outside_log_window","message":"this message is outside your plan's log window (3 days) — the log shows messages accepted since 2026-10-01T04:00:00.000Z"}}}},"InboundPolicyNotFound":{"description":"inbound_policy_not_found — the policy does not exist or belongs to another account (identical on purpose).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"inbound_policy_not_found","message":"inbound policy not found in this account"}}}},"InboundPolicyBodyTooLarge":{"description":"payload_too_large — the request body exceeds 256 KB (the inbound-policy routes accept small bodies only), with `limit: 262144`. Refused before any validation. Do not retry the same body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"},"example":{"error":"payload_too_large","message":"request body exceeds this route's limit (262144 bytes)","limit":262144}}}},"PayloadTooLarge":{"description":"payload_too_large — the request body exceeds this route's limit (`limit`, in bytes: 25 MB unless the operation says otherwise). The key is validated before the body is read: without a valid key the answer is 401/403 and the body is not read. Do not retry the same body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadTooLarge"},"example":{"error":"payload_too_large","message":"request body exceeds this route's limit (26214400 bytes)","limit":26214400}}}},"UnsupportedMediaType":{"description":"unsupported_media_type — send the body as `application/json` (form and plain-text bodies are not accepted).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"unsupported_media_type","message":"unsupported content type — send the body as application/json"}}}},"InternalError":{"description":"internal_error — an unexpected failure on our side. The detail stays in our logs, never in the body. Retry reads; retry a write only when it is idempotent or carries an idempotency key.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"internal_error","message":"internal error — try again; on a sending POST, only with an idempotencyKey"}}}},"ServiceUnavailable":{"description":"ip_rules_unavailable — the IP ranges bound to your key could not be checked right now (caution, not a denial). Retry after `Retry-After` (30 s).","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"example":{"error":"ip_rules_unavailable","message":"network binding verification is temporarily unavailable — retry in a few seconds (this is caution, not a denial)."}}}}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Stable code to branch on (never compare `message`: it is localized by the caller’s country)."},"message":{"type":"string"},"reason":{"type":"string","description":"Finer stable code, when the `error` family has more than one cause. `address_not_ascii`: an address with a character outside ASCII (accents, a full-width @, a control character) or an international domain not in its `xn--` (punycode) form — the platform only accepts ASCII addresses. `html_too_large` (with `footer_not_guaranteed`): the marketing email goes over 100 KB once tracked and composed, measured on the HTML part as it is sent (quoted-printable or base64) — Gmail would clip the required footer. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`). `mailbox_full` (with `recipient_suppressed`): the recipient is PAUSED because its mailbox was full — a temporary refusal until `expiresAt`, also when the pause is platform-wide and not in your list."},"field":{"type":"string","description":"The request field the error is about, when there is one."}},"additionalProperties":true},"PayloadTooLarge":{"type":"object","required":["error","message","limit"],"additionalProperties":false,"properties":{"error":{"type":"string","enum":["payload_too_large"]},"message":{"type":"string"},"limit":{"type":["integer","null"],"description":"The limit of this route, in bytes."}}},"SignatureDoc":{"type":"object","additionalProperties":false,"required":["header","timestampHeader","verify"],"properties":{"header":{"type":"string"},"timestampHeader":{"type":"string"},"verify":{"type":"string"}}},"Attachment":{"type":"object","required":["filename","content"],"properties":{"filename":{"type":"string"},"content":{"type":"string","description":"Base64-encoded content."},"contentType":{"type":"string"}}},"Hold":{"type":"object","description":"A draft awaiting human approval (sent with hold:true, or held by a sending policy with action reter_para_aprovacao). Approve = goes out as accepted, without re-signing, and counts warm-up; reject = never goes out and the quota is refunded; expired = never goes out (you are notified).","properties":{"id":{"type":"string","format":"uuid","description":"The message id."},"status":{"type":"string","enum":["pending","approved","rejected","expired"]},"from":{"type":"string"},"to":{"type":"array","items":{"type":"string"}},"subject":{"type":["string","null"]},"note":{"type":["string","null"],"description":"What the agent told the approver (holdNote)."},"requestedBy":{"type":["string","null"],"description":"`api:<key prefix>` or `policy:<name>`."},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"decidedAt":{"type":["string","null"],"format":"date-time"},"decidedBy":{"type":["string","null"],"description":"`api:<key prefix>`, `portal:<user>`, `telegram:<chat>`, `system:expiry` or `system:recipient-domain` (approved, but a recipient domain does not receive mail)."},"reason":{"type":["string","null"]},"sizeBytes":{"type":["integer","null"]},"url":{"type":"string"},"approve":{"type":"string"},"reject":{"type":"string"}}},"HoldList":{"type":"object","properties":{"status":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Hold"}}}},"HoldDecision":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["approved","rejected"]},"decidedAt":{"type":"string","format":"date-time"},"decidedBy":{"type":"string"},"reason":{"type":"string"},"recipients":{"type":"array","items":{"type":"string"},"description":"approve: who it went out to."},"skipped":{"type":"array","description":"approve: recipients that entered a suppression list while the draft waited — they were skipped, the rest went out.","items":{"type":"object","properties":{"rcptTo":{"type":"string"},"why":{"type":"string"}}}}}},"SendRequest":{"type":"object","required":["from","to"],"properties":{"hold":{"type":"boolean","description":"F3b — hold the message for HUMAN approval instead of delivering: accepted, signed and stored, not sent. The 202 answers status `held` with approve/reject URLs; the human decides in the portal, by Telegram, or by POST /v1/messages/{id}/approve|reject (scope approve:holds — the key that sends is not the key that approves). Default TTL 24 h, max 7 days; expired drafts never go out. Counts one quota unit per recipient at acceptance; rejected/expired refunds it. Ignored (status `sandbox`) when the key itself is in sandbox."},"holdTtl":{"type":"integer","minimum":300,"maximum":604800,"description":"Seconds until the draft expires (default 86400)."},"holdNote":{"type":"string","maxLength":500,"description":"What the agent wants the approver to know."},"from":{"type":"string","maxLength":998,"description":"`a@b.com` or `Name <a@b.com>`; the domain must be verified in the account. Exactly one address: the display name cannot carry another address, and a bare address is the whole value (`a@b.com (Name)` and `Name a@b.com` are 400). At most 998 characters (the RFC 5322 line limit). The display name may have accents; the address is ASCII only (an IDN domain in xn-- form), with no Unicode space next to it — otherwise 400 with `reason: address_not_ascii`."},"to":{"oneOf":[{"type":"string","format":"email","maxLength":320,"description":"ASCII only: no accents; an international (IDN) domain only in its xn-- (punycode) form. Anything else is refused with `reason: address_not_ascii`."},{"type":"array","maxItems":5,"items":{"type":"string","format":"email","maxLength":320,"description":"ASCII only: no accents; an international (IDN) domain only in its xn-- (punycode) form. Anything else is refused with `reason: address_not_ascii`."}}],"description":"One address or a list; at most 5 recipients across to, cc and bcc. A string may carry several, comma-separated. `\"Name <a@b.com>\"` is accepted too. Each item must be exactly `a@b.com` or `Name <a@b.com>`: two addresses separated by whitespace, a name without <…>, a comment after a bare address, a group, an item with no address, or @ in the display name are 400 bad_recipient — never rewritten. A Unicode space next to the address is 400 with `reason: address_not_ascii`."},"cc":{"oneOf":[{"type":"string","format":"email","maxLength":320,"description":"ASCII only: no accents; an international (IDN) domain only in its xn-- (punycode) form. Anything else is refused with `reason: address_not_ascii`."},{"type":"array","maxItems":5,"items":{"type":"string","format":"email","maxLength":320,"description":"ASCII only: no accents; an international (IDN) domain only in its xn-- (punycode) form. Anything else is refused with `reason: address_not_ascii`."}}],"description":"One address or a list; at most 5 recipients across to, cc and bcc. A string may carry several, comma-separated. `\"Name <a@b.com>\"` is accepted too. Each item must be exactly `a@b.com` or `Name <a@b.com>`: two addresses separated by whitespace, a name without <…>, a comment after a bare address, a group, an item with no address, or @ in the display name are 400 bad_recipient — never rewritten. A Unicode space next to the address is 400 with `reason: address_not_ascii`."},"bcc":{"oneOf":[{"type":"string","format":"email","maxLength":320,"description":"ASCII only: no accents; an international (IDN) domain only in its xn-- (punycode) form. Anything else is refused with `reason: address_not_ascii`."},{"type":"array","maxItems":5,"items":{"type":"string","format":"email","maxLength":320,"description":"ASCII only: no accents; an international (IDN) domain only in its xn-- (punycode) form. Anything else is refused with `reason: address_not_ascii`."}}],"description":"One address or a list; at most 5 recipients across to, cc and bcc. A string may carry several, comma-separated. `\"Name <a@b.com>\"` is accepted too. Each item must be exactly `a@b.com` or `Name <a@b.com>`: two addresses separated by whitespace, a name without <…>, a comment after a bare address, a group, an item with no address, or @ in the display name are 400 bad_recipient — never rewritten. A Unicode space next to the address is 400 with `reason: address_not_ascii`."},"subject":{"type":"string","maxLength":500},"html":{"type":"string"},"text":{"type":"string","description":"At least one of `html`/`text` is required — unless `templateId` is used."},"templateId":{"oneOf":[{"type":"integer"},{"type":"string"}],"description":"Numeric id or `name` of a published template. Mutually exclusive with subject/html/text."},"data":{"type":"object","additionalProperties":true,"description":"Template variables."},"version":{"type":"integer","minimum":1,"description":"Pins a published template version."},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"Extra headers. List-Unsubscribe, X-Report-Abuse and X-Oveyon-* are ignored. Each value is a string (or a list of strings); an object is 400. Address headers (Reply-To, Sender, Cc, Disposition-Notification-To…) follow the same rules as the addresses above — ASCII only, and read like `to` (a group is allowed and each member is checked)."},"idempotencyKey":{"oneOf":[{"type":"string","maxLength":190,"pattern":"^[\\x21-\\x7e]*$"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}],"description":"Optional task/order key (alternative to the Idempotency-Key header). Up to 190 printable ASCII characters without spaces (`!` to `~`), or an integer, read as its decimal text (`1234` and `\"1234\"` are the same key; `0` counts as no key); anything else is 400 bad_request. Within the account, the key returns the original message id (200 duplicate) for 24 hours from when the message was queued; while the first request is still in progress, a retry with the same key gets 409 idempotency_in_progress with `Retry-After`. After expiry a retry can create another message."},"attachments":{"type":"array","maxItems":20,"items":{"$ref":"#/components/schemas/Attachment"},"description":"Up to 20 attachments, ≤ 15 MB in total."},"sandbox":{"type":"boolean","description":"true accepts and freezes without delivering (or header X-Oveyon-Sandbox: 1)."},"return_path":{"type":"string","enum":["sender","platform"],"description":"The envelope sender (Return-Path) of THIS message; without it, the key's default applies (set under Credentials). `platform` (the default for new keys): a per-message platform address — bounces come back to us, show up on the message, fire the bounce webhook and suppress addresses that do not exist. `sender`: the envelope is the From address itself, stable across messages — for a personal mailbox and mailing lists (list confirmation, greylisting, allowlists by envelope sender); a bounce the destination sends back goes straight to the sender's mailbox and is NOT tracked (no suppression, no bounce webhook) — an immediate refusal our server sees still shows up in the message status. `sender` requires the From domain to authorize us: its SPF must have our `include:` (and the `_mailchannels` TXT when that relay is active) — otherwise 422 return_path_not_authorized. `sender` is for paid plans: on an account without one it is 403 return_path_requires_paid_plan (unless our team switched the key to sender as an exception); a key whose default is `sender` on an account that moved to a free plan simply sends with the platform address. Any other value (an address included) is 400."}}},"SendResponse":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["accepted","sandbox","held"],"description":"`held` = accepted and waiting for human approval (sent with `hold: true`, or held by a sending policy)."},"recipients":{"type":"integer","description":"Present only when there is more than one distinct address."},"hold":{"type":"object","additionalProperties":false,"description":"Only when `held`: until when the draft waits, and the decision routes.","properties":{"expiresAt":{"type":"string","format":"date-time"},"note":{"type":["string","null"]},"requestedBy":{"type":["string","null"]},"approve":{"type":"string"},"reject":{"type":"string"}}},"frozen":{"type":"object","additionalProperties":false,"required":["reason","policyId"],"description":"Only when a sending policy with the action `reter` froze the message: it is accepted and NOT delivered — it waits for our support. `status` stays `accepted`; this field tells it apart.","properties":{"reason":{"type":"string","enum":["policy"]},"policyId":{"type":["integer","null"]}}}}},"DuplicateResponse":{"type":"object","required":["id","status","message"],"properties":{"id":{"type":"string","format":"uuid","description":"The id of the ORIGINAL message (the one the idempotencyKey created)."},"status":{"type":"string","enum":["duplicate"]},"message":{"type":"string"}}},"Message":{"type":"object","properties":{"id":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"subject":{"type":["string","null"]},"status":{"type":"string","enum":["accepted","queued","delivered","deferred","bounced","suppressed","failed","frozen"]},"statusDetail":{"type":["string","null"]},"route":{"type":["string","null"],"description":"Which outbound path carried it; null until routed."},"acceptedAt":{"type":["string","null"],"format":"date-time"},"deliveredAt":{"type":["string","null"],"format":"date-time"},"templateId":{"type":["integer","null"]},"templateVersion":{"type":["integer","null"]}},"additionalProperties":true},"MessageDetail":{"allOf":[{"$ref":"#/components/schemas/Message"},{"type":"object","properties":{"returnPath":{"type":"string","enum":["sender"],"description":"Present ONLY when the message went out with the envelope (Return-Path) equal to the From address (`return_path: \"sender\"`, or the key's default). Absent = the platform address, as always."},"bounceTracking":{"type":"boolean","enum":[false],"description":"Present only together with `returnPath: \"sender\"`, and always false: bounces of this message went to the sender's mailbox, so the platform does not track them — no suppression and no bounce webhook. A refusal our server saw during delivery still shows up in `deliveries`."},"sizeBytes":{"type":["integer","null"]},"deliveries":{"type":"array","items":{"type":"object","additionalProperties":true}},"events":{"type":"array","items":{"type":"object","additionalProperties":true}},"tracking":{"type":"array","description":"Open and click events, oldest first. `readMsEstimate` is a weak estimate (the gap between beacons), opens only.","items":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["open","click"]},"url":{"type":["string","null"]},"host":{"type":["string","null"]},"readMsEstimate":{"type":["integer","null"]},"at":{"type":"string","format":"date-time"}}}}}}]},"MessageList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Message"}},"next_cursor":{"type":["string","null"]},"log_window":{"type":["object","null"],"description":"Your plan's log window: the list only shows messages accepted since `since` (held messages show until decided). `from` earlier than `since` is not an error — the page starts where the log starts. null = no plan window (the platform's own retention period still applies).","properties":{"days":{"type":"integer"},"since":{"type":"string","format":"date-time"}}}}},"ApiLog":{"type":"object","additionalProperties":false,"required":["id","createdAt","method","route","path","status","durationMs","credential","ip","userAgent","sdk","error","messageId","mcpCallId"],"properties":{"id":{"type":"integer","description":"The log entry id (GET /v1/logs/{id})."},"createdAt":{"type":"string","format":"date-time","description":"When the request ARRIVED (milliseconds)."},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"route":{"type":"string","description":"The route PATTERN, the same for every id (`/v1/messages/:uuid`). Filter by it."},"path":{"type":"string","description":"The path as called, with the ids and without the query string."},"status":{"type":"integer","description":"The HTTP status we answered."},"durationMs":{"type":"integer","description":"Server-side time until the response was ready."},"credential":{"type":"object","additionalProperties":false,"required":["id","name","prefix"],"description":"The API key that made the call (`name` and `prefix` are null once the key is deleted).","properties":{"id":{"type":"integer"},"name":{"type":["string","null"]},"prefix":{"type":["string","null"]}}},"ip":{"type":["string","null"],"description":"The caller IP as seen by our edge."},"userAgent":{"type":["string","null"],"description":"The User-Agent header (up to 255 characters), with any key-shaped value redacted."},"sdk":{"type":["object","null"],"additionalProperties":false,"required":["name","version"],"description":"The client family detected from the User-Agent; null = no User-Agent. `other` = not recognized.","properties":{"name":{"type":"string","enum":["oveyon-node","oveyon-python","oveyon-php","oveyon-mcp","curl","node","python","php","go","java","ruby","postman","insomnia","browser","other"]},"version":{"type":["string","null"]}}},"error":{"type":["string","null"],"description":"The `error` code of the response, on 4xx/5xx."},"messageId":{"type":["string","null"],"format":"uuid","description":"The message this call created (POST /v1/send, reply, survey send) or acted on (GET/approve/reject of /v1/messages/{uuid})."},"mcpCallId":{"type":["string","null"],"description":"Set on calls an AI agent made through the MCP server: the `callId` of the MCP message (tool call) that made it — find it in GET /v1/logs/mcp."}}},"ApiLogDetail":{"type":"object","additionalProperties":false,"required":["id","createdAt","method","route","path","status","durationMs","credential","ip","userAgent","sdk","error","messageId","mcpCallId","query","request","response"],"properties":{"id":{"type":"integer","description":"The log entry id (GET /v1/logs/{id})."},"createdAt":{"type":"string","format":"date-time","description":"When the request ARRIVED (milliseconds)."},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"route":{"type":"string","description":"The route PATTERN, the same for every id (`/v1/messages/:uuid`). Filter by it."},"path":{"type":"string","description":"The path as called, with the ids and without the query string."},"status":{"type":"integer","description":"The HTTP status we answered."},"durationMs":{"type":"integer","description":"Server-side time until the response was ready."},"credential":{"type":"object","additionalProperties":false,"required":["id","name","prefix"],"description":"The API key that made the call (`name` and `prefix` are null once the key is deleted).","properties":{"id":{"type":"integer"},"name":{"type":["string","null"]},"prefix":{"type":["string","null"]}}},"ip":{"type":["string","null"],"description":"The caller IP as seen by our edge."},"userAgent":{"type":["string","null"],"description":"The User-Agent header (up to 255 characters), with any key-shaped value redacted."},"sdk":{"type":["object","null"],"additionalProperties":false,"required":["name","version"],"description":"The client family detected from the User-Agent; null = no User-Agent. `other` = not recognized.","properties":{"name":{"type":"string","enum":["oveyon-node","oveyon-python","oveyon-php","oveyon-mcp","curl","node","python","php","go","java","ruby","postman","insomnia","browser","other"]},"version":{"type":["string","null"]}}},"error":{"type":["string","null"],"description":"The `error` code of the response, on 4xx/5xx."},"messageId":{"type":["string","null"],"format":"uuid","description":"The message this call created (POST /v1/send, reply, survey send) or acted on (GET/approve/reject of /v1/messages/{uuid})."},"mcpCallId":{"type":["string","null"],"description":"Set on calls an AI agent made through the MCP server: the `callId` of the MCP message (tool call) that made it — find it in GET /v1/logs/mcp."},"query":{"type":["object","null"],"additionalProperties":true,"description":"The query string as received, redacted by the same rules as the bodies. null = no query string."},"request":{"$ref":"#/components/schemas/ApiLogBody"},"response":{"$ref":"#/components/schemas/ApiLogBody"}}},"ApiLogBody":{"type":"object","additionalProperties":false,"required":["body","bytes","truncated"],"description":"A body as stored: TEXT (usually JSON), with secrets replaced by «redigido» and message bodies and attachments — file names included — (`html`, `text`, `content`, `filename`…) and the detail of safety signals (`signals[].detail`) replaced by `{ \"omitted\": \"content\", \"length\": N }`, and template variables (`data`) keeping their names but not their values. Inbound content routes and the log routes store only `{ \"omitted\": …, \"bytes\": N }`. On the marketing routes (`/v1/contacts…`, `/v1/lists…`) the request and the query keep only field names and ids — the values become `{ \"omitted\": \"personal\" }` — and a success response is stored as `{ \"omitted\": \"personal\", \"bytes\": N }`. Request headers are never stored.","properties":{"body":{"type":["string","null"],"description":"null = the call had no body."},"bytes":{"type":["integer","null"],"description":"The ORIGINAL size in bytes, when known."},"truncated":{"type":"boolean","description":"true when the stored text was cut at the 32 KB cap — it may then no longer be valid JSON."}}},"ApiLogList":{"type":"object","additionalProperties":false,"required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ApiLog"}},"next_cursor":{"type":["string","null"],"description":"null = last page."}}},"McpLog":{"type":"object","additionalProperties":false,"required":["id","createdAt","callId","credential","application","method","tool","outcome","error","status","durationMs","apiCalls","apiStatuses","client","batch"],"properties":{"id":{"type":"integer","description":"The MCP log entry id (GET /v1/logs/mcp/{id})."},"createdAt":{"type":"string","format":"date-time","description":"When the request carrying this message ARRIVED (milliseconds)."},"callId":{"type":"string","description":"One per JSON-RPC message. The API calls this message made carry the same value in `mcpCallId` (GET /v1/logs)."},"credential":{"type":"object","additionalProperties":false,"required":["id","name","prefix"],"description":"The credential the agent used: the connection an app (ChatGPT, Claude…) got through OAuth, or an API key used directly (`name` and `prefix` are null once it is deleted).","properties":{"id":{"type":"integer"},"name":{"type":["string","null"]},"prefix":{"type":["string","null"]}}},"application":{"type":["object","null"],"additionalProperties":false,"required":["name","origin"],"description":"The app behind an OAuth connection: the name it declared and the host it comes from. null = an API key used directly.","properties":{"name":{"type":["string","null"]},"origin":{"type":["string","null"]}}},"method":{"type":["string","null"],"description":"The JSON-RPC method (`tools/call`, `tools/list`, `initialize`…). null = no message could be read (malformed body, or a GET/DELETE answered 405)."},"tool":{"type":["string","null"],"description":"The tool the agent called (only on `tools/call`)."},"outcome":{"type":"string","enum":["ok","tool_error","rejected","error","aborted"],"description":"`ok`; `tool_error` = the tool ran and returned an error — usually the error the API answered (see `apiStatuses`); `rejected` = the MCP server refused the call before running the tool (unknown tool, invalid arguments); `error` = the MCP request itself failed with an HTTP 4xx/5xx (malformed JSON, method not allowed, the key refused…); `aborted` = the client gave up before the answer. Outside `tools/call`, `ok` means the request was answered: a protocol error inside the answer (an unknown method or resource) is not read."},"error":{"type":["string","null"],"description":"Why the message did not end `ok` at the MCP level: `tool_not_found`, `invalid_arguments`, or the error of the MCP request itself (`parse_error`, `method_not_allowed`, the authentication `error`…). The error of an API call the tool made is `apiError` (GET /v1/logs/mcp/{id})."},"status":{"type":"integer","description":"The HTTP status of the MCP request that carried this message."},"durationMs":{"type":"integer","description":"Server-side time of that request."},"apiCalls":{"type":"integer","description":"How many API calls this message made (0 for protocol messages)."},"apiStatuses":{"type":"array","items":{"type":"integer"},"description":"The HTTP status of each of those API calls, in order."},"client":{"type":["object","null"],"additionalProperties":false,"required":["name","version"],"description":"What the client DECLARED in `initialize` (clientInfo) — it authenticates nothing. null = not declared.","properties":{"name":{"type":"string"},"version":{"type":["string","null"]}}},"batch":{"type":"object","additionalProperties":false,"required":["size","index"],"description":"A JSON-RPC batch becomes one entry per message: how many came together, and this one's position (0-based).","properties":{"size":{"type":"integer"},"index":{"type":"integer"}}}}},"McpLogDetail":{"type":"object","additionalProperties":false,"required":["id","createdAt","callId","credential","application","method","tool","outcome","error","status","durationMs","apiCalls","apiStatuses","client","batch","target","httpMethod","rpcId","rpcError","arguments","argumentsTruncated","requestBytes","resultBytes","apiRoute","apiError","ip","userAgent","protocolVersion","sessionId","apiLogIds"],"properties":{"id":{"type":"integer","description":"The MCP log entry id (GET /v1/logs/mcp/{id})."},"createdAt":{"type":"string","format":"date-time","description":"When the request carrying this message ARRIVED (milliseconds)."},"callId":{"type":"string","description":"One per JSON-RPC message. The API calls this message made carry the same value in `mcpCallId` (GET /v1/logs)."},"credential":{"type":"object","additionalProperties":false,"required":["id","name","prefix"],"description":"The credential the agent used: the connection an app (ChatGPT, Claude…) got through OAuth, or an API key used directly (`name` and `prefix` are null once it is deleted).","properties":{"id":{"type":"integer"},"name":{"type":["string","null"]},"prefix":{"type":["string","null"]}}},"application":{"type":["object","null"],"additionalProperties":false,"required":["name","origin"],"description":"The app behind an OAuth connection: the name it declared and the host it comes from. null = an API key used directly.","properties":{"name":{"type":["string","null"]},"origin":{"type":["string","null"]}}},"method":{"type":["string","null"],"description":"The JSON-RPC method (`tools/call`, `tools/list`, `initialize`…). null = no message could be read (malformed body, or a GET/DELETE answered 405)."},"tool":{"type":["string","null"],"description":"The tool the agent called (only on `tools/call`)."},"outcome":{"type":"string","enum":["ok","tool_error","rejected","error","aborted"],"description":"`ok`; `tool_error` = the tool ran and returned an error — usually the error the API answered (see `apiStatuses`); `rejected` = the MCP server refused the call before running the tool (unknown tool, invalid arguments); `error` = the MCP request itself failed with an HTTP 4xx/5xx (malformed JSON, method not allowed, the key refused…); `aborted` = the client gave up before the answer. Outside `tools/call`, `ok` means the request was answered: a protocol error inside the answer (an unknown method or resource) is not read."},"error":{"type":["string","null"],"description":"Why the message did not end `ok` at the MCP level: `tool_not_found`, `invalid_arguments`, or the error of the MCP request itself (`parse_error`, `method_not_allowed`, the authentication `error`…). The error of an API call the tool made is `apiError` (GET /v1/logs/mcp/{id})."},"status":{"type":"integer","description":"The HTTP status of the MCP request that carried this message."},"durationMs":{"type":"integer","description":"Server-side time of that request."},"apiCalls":{"type":"integer","description":"How many API calls this message made (0 for protocol messages)."},"apiStatuses":{"type":"array","items":{"type":"integer"},"description":"The HTTP status of each of those API calls, in order."},"client":{"type":["object","null"],"additionalProperties":false,"required":["name","version"],"description":"What the client DECLARED in `initialize` (clientInfo) — it authenticates nothing. null = not declared.","properties":{"name":{"type":"string"},"version":{"type":["string","null"]}}},"batch":{"type":"object","additionalProperties":false,"required":["size","index"],"description":"A JSON-RPC batch becomes one entry per message: how many came together, and this one's position (0-based).","properties":{"size":{"type":"integer"},"index":{"type":"integer"}}},"target":{"type":["string","null"],"description":"The tool (`tools/call`) or the resource (`resources/read`) the message named."},"httpMethod":{"type":"string","description":"The HTTP method of the MCP request (POST; GET/DELETE are answered 405)."},"rpcId":{"type":["string","null"],"description":"The JSON-RPC `id` the client sent (null on notifications)."},"rpcError":{"type":["object","null"],"additionalProperties":false,"required":["code","message"],"description":"The JSON-RPC error we answered, when there was one.","properties":{"code":{"type":["integer","null"]},"message":{"type":["string","null"]}}},"arguments":{"type":["object","null"],"additionalProperties":true,"description":"The tool arguments as stored: only fields of the tool schema (others become `{ \"omitted\": \"unknown_field\" }`), with secrets replaced by «redigido» and message bodies and attachments — file names included — (`html`, `text`, `content`, `filename`…) replaced by `{ \"omitted\": \"content\", \"length\": N }`. Capped at 8 KB: arguments that do not fit the cap as valid JSON become `{ \"omitted\": \"too_large\", \"bytes\": N }`, where N is the size in bytes of the arguments as received, and `argumentsTruncated` is true."},"argumentsTruncated":{"type":"boolean","description":"true when the stored arguments were cut at the cap."},"requestBytes":{"type":["integer","null"],"description":"Size of the MCP request body, in bytes."},"resultBytes":{"type":["integer","null"],"description":"Size of the tool result — this log never keeps the result itself."},"apiRoute":{"type":["string","null"],"description":"The method and route pattern of the (last) API call the tool made (`GET /v1/inbound/:uid/content`)."},"apiError":{"type":["string","null"],"description":"The `error` code of that API call, on 4xx/5xx."},"ip":{"type":["string","null"],"description":"The caller IP as seen by our edge — for an app like ChatGPT or Claude, an address of the app provider, not of the person."},"userAgent":{"type":["string","null"],"description":"The User-Agent header (up to 255 characters)."},"protocolVersion":{"type":["string","null"],"description":"The MCP protocol version: the one asked in `initialize`, or the `MCP-Protocol-Version` header."},"sessionId":{"type":["string","null"],"description":"The `Mcp-Session-Id` header, when the client sent one."},"apiLogIds":{"type":"array","items":{"type":"integer"},"description":"The GET /v1/logs/{id} entries of the API calls this message made."}}},"McpLogList":{"type":"object","additionalProperties":false,"required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/McpLog"}},"next_cursor":{"type":["string","null"],"description":"null = last page."}}},"Stats":{"type":"object","properties":{"series":{"type":"array","items":{"type":"object","additionalProperties":true}},"rates":{"type":"object","additionalProperties":true},"breakdown":{"type":"object","additionalProperties":true}},"additionalProperties":true},"DisposableCheck":{"type":"object","properties":{"domain":{"type":"string"},"result":{"type":"string","enum":["disposable","not_listed","unknown"]},"disposable":{"type":["boolean","null"]},"list":{"type":"object","properties":{"updatedAt":{"type":"string"},"domains":{"type":"integer"},"source":{"type":"string"}}}}},"Authentication":{"type":"object","description":"null = not evaluated.","properties":{"spf":{"type":["string","null"]},"dkim":{"type":["string","null"]},"dmarc":{"type":["string","null"]}}},"InboundMessage":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"receivedAt":{"type":"string","format":"date-time"},"from":{"type":["string","null"],"description":"Envelope sender (MAIL FROM); `\"\"` is a bounce (null sender)."},"fromHeader":{"type":["string","null"]},"fromName":{"type":["string","null"]},"subject":{"type":["string","null"]},"domain":{"type":["string","null"]},"thread":{"$ref":"#/components/schemas/InboundThreadRef"},"recipients":{"type":"array","description":"One item per mailbox that received the message. Each recipient is judged by the policies and the security quarantine of ITS mailbox: one copy can be delivered while another is held.","items":{"type":"object","properties":{"id":{"type":"string"},"to":{"type":"string"},"outcome":{"type":"string","description":"This copy: `accepted` (delivered) or `quarantined` (held for review). Messages from before per-mailbox policies carry the message outcome here."},"heldBy":{"type":["string","null"],"enum":["agent_safety","policy",null],"description":"Who held this copy (kept after release, as history)."},"policy":{"$ref":"#/components/schemas/InboundPolicyInfo"},"spamFiltered":{"type":"boolean","description":"This copy's mailbox had the spam filter ON when it arrived: the message `spamFilter` applies to it (and its policies judged `spam_filter.score`). false = this mailbox did not ask; a score, if any, belongs to another mailbox of the same message."}},"additionalProperties":true}},"authentication":{"$ref":"#/components/schemas/Authentication"},"spamScore":{"type":["integer","null"],"minimum":0,"maximum":100},"spamFilter":{"$ref":"#/components/schemas/InboundSpamFilter"},"agentSafety":{"$ref":"#/components/schemas/AgentSafety"},"sizeBytes":{"type":"integer"},"attachmentCount":{"type":"integer"},"expiresAt":{"type":["string","null"],"format":"date-time"},"outcome":{"type":"string","description":"`accepted`, `blocked`, `quarantined` (every copy held) or `partial` (some copies delivered, some held — see `recipients[].outcome`) — branch on this, never on blockedReason. `policy` at message level is the first recipient's."},"blockedReason":{"type":["string","null"]},"quarantine":{"$ref":"#/components/schemas/InboundQuarantineInfo"},"policy":{"$ref":"#/components/schemas/InboundPolicyInfo"}},"additionalProperties":true},"InboundThreadRef":{"type":["object","null"],"description":"The conversation this message belongs to (grouped by In-Reply-To/References within your account, including replies you sent through OVEYON). null = not resolved (fail-open) or older than the backfill.","properties":{"id":{"type":"string","format":"uuid","description":"Thread id — GET /v1/inbound/threads/{id}; filter the list with ?thread=."}},"required":["id"]},"InboundThread":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"subject":{"type":["string","null"],"description":"Normalized subject of the first message (Re:/Fwd: stripped, lowercased) — for display only; grouping never uses it."},"firstAt":{"type":"string","format":"date-time"},"lastAt":{"type":"string","format":"date-time","description":"Last received message or reply — the list is ordered by it."},"messageCount":{"type":"integer","description":"Messages received."},"replyCount":{"type":"integer","description":"Replies sent through OVEYON (portal, chat, API)."},"url":{"type":"string"}},"required":["id","firstAt","lastAt","messageCount","replyCount"]},"InboundThreadList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InboundThread"}},"next_cursor":{"type":["string","null"]}}},"InboundDelivery":{"type":"object","description":"One dispatch of this message to one channel of one recipient (webhook, forward, Telegram or Slack) — one item per (recipient, channel, kind). `status` is OVEYON's side of the story: `delivered` means your endpoint answered 2xx, the chat accepted the notice, or the forwarded copy entered OVEYON's outbound queue — NOT that a mailbox has it. For the forward channel, `destination` is what the destination MX answered when the copy reached it; read both before saying «it arrived».","properties":{"id":{"type":"string","format":"uuid"},"recipient":{"type":"object","properties":{"id":{"type":"string"},"to":{"type":"string"}}},"channel":{"type":"string","enum":["webhook","forward","telegram","slack"]},"kind":{"type":"string","enum":["received","quarantined","retro"],"description":"What was dispatched: the message itself at arrival (`received`), the quarantine notice (`quarantined`) or the retroactive link-check notice (`retro`)."},"status":{"type":"string","enum":["pending","delivered","failed","dropped","held"]},"detail":{"type":["string","null"],"description":"Human-readable outcome of the last attempt (e.g. \"HTTP 404\"). Free text — never branch on it."},"attempts":{"type":"integer"},"createdAt":{"type":"string","format":"date-time"},"completedAt":{"type":["string","null"],"format":"date-time"},"destination":{"type":["object","null"],"description":"Forward channel only, and only when the copy left through one of OVEYON's sending nodes (the usual route; a copy the master delivers directly in a fallback stays `null`): the destination MX's verdict on the forwarded copy. `null` = not a forward, or not known yet. Synchronous verdict only — a mailbox that accepts and bounces later (asynchronous DSN) is not reflected here. And `accepted` is what the MX said, not what the mailbox shows: Gmail, for one, answers 250 and then silently discards (no Spam, no Trash) a copy whose Message-ID that account has already seen — duplicate suppression — and forwarding keeps the original Message-ID on purpose (it is what preserves the conversation and the sender's DKIM).","properties":{"status":{"type":"string","enum":["accepted","deferred","bounced"]},"response":{"type":["string","null"],"description":"The raw SMTP response, e.g. \"250 2.0.0 OK … - gsmtp\" or \"550 5.1.1 … does not exist\"."},"host":{"type":["string","null"],"description":"The MX that answered."},"at":{"type":["string","null"],"format":"date-time","description":"When it answered, as stamped by the node that delivered; `null` when the node sent no usable stamp."}}}}},"InboundReply":{"type":"object","description":"A reply you sent in this thread (through the portal, Telegram, Slack or the API).","properties":{"id":{"type":"string","format":"uuid","description":"Same id as the outbound message (GET /v1/messages/{id})."},"at":{"type":"string","format":"date-time"},"origin":{"type":"string","enum":["portal","telegram","slack","api","draft"]},"from":{"type":"string"},"to":{"type":"string"},"subject":{"type":["string","null"]},"preview":{"type":["string","null"],"description":"First 500 characters of the reply text; `null` once the reply is older than the inbound retention period (30 days), when the snippet is deleted and the rest of the record stays."}}},"InboundThreadDetail":{"allOf":[{"$ref":"#/components/schemas/InboundThread"},{"type":"object","properties":{"messages":{"type":"array","description":"Received messages, oldest first (up to 200).","items":{"$ref":"#/components/schemas/InboundMessage"}},"replies":{"type":"array","description":"Replies sent, oldest first (up to 200).","items":{"$ref":"#/components/schemas/InboundReply"}}}}]},"InboundRetroFlagged":{"type":"object","description":"Body of the `inbound.retro_flagged` webhook: a link we delivered as clean is now listed.","properties":{"event":{"type":"string","enum":["inbound.retro_flagged"]},"eventId":{"type":"string","format":"uuid","description":"Unique per POST (it is the delivery uid, never reused) — dedupe on it. Distinct from the eventId of the original inbound.received."},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"object","properties":{"id":{"type":"string"},"subject":{"type":["string","null"]},"fromHeader":{"type":["string","null"]}},"additionalProperties":true},"recipient":{"type":"object","properties":{"id":{"type":"string"},"to":{"type":"string"}},"additionalProperties":true},"retro":{"type":"object","properties":{"reason":{"type":"string","enum":["link_listed_after_delivery"]},"message":{"type":"string"},"links":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"threatTypes":{"type":["array","null"],"items":{"type":"string"}}},"additionalProperties":true}}},"additionalProperties":true}},"additionalProperties":true},"InboundPolicyInfo":{"type":["object","null"],"description":"The inbound policy outcome for this message (F4): the effective action, the name of the policy that closed the chain (or the first one that matched), and the accumulated tags. `would_<action>:<name>` tags (e.g. `would_hold:…`, `would_restrict_channels:…`) mean a policy WOULD have held/muted/restricted it, but it did not apply — see the decision feed for why; an agent should treat them as the rule's intent. null = no policy matched.","properties":{"action":{"type":"string","enum":["hold","mute","tag","restrict_channels","pass","notify"]},"name":{"type":["string","null"]},"tags":{"type":"array","items":{"type":"string"}}}},"InboundPolicyCondition":{"type":"object","required":["field","op","value"],"description":"NULL never matches (a message without a verdict is neither clean nor dangerous; `listed_link` is null when the link check did not judge every link). Text comparisons are case-insensitive and ignore invisible/bidi/tag characters (the same cleaning as the agent-safety verdict); `matches` is a glob where `*` means any sequence. `regex` (subject only) is a regular expression run by our LINEAR-time engine — no backtracking, so no pattern can stall it: up to 200 characters; literals, `.`, classes `[...]`, `\\d \\w \\s \\b`, `^ $`, groups, `|`, `* + ? {n,m}` (n,m ≤ 50); back-references, look-around and `(?…)` flags are refused (`regex_unsupported`). Case-insensitive, like every text comparison; `\\w` includes accented letters. An account holds at most 10 `regex` conditions (`regex_limit`). `sender.domain` is the From domain: `ends_with` means «this domain or a subdomain» (label boundary: `acme.com` never matches `evilacme.com`). `spam_filter.score` is the score of the mailbox spam filter (decimal, may be negative): null — so never matching — on a copy whose mailbox does not have the filter on, and when the filter could not scan. `in` takes a list (up to 20). `recipient`, `attachment.name` and `attachment.type` match when ANY item matches, over the first 100 items. `body` is judged on the text AND on the HTML without tags (either matches), on the same sample the arrival judges (head + tail, 128 KiB). Addresses longer than 320 characters keep their END (the domain): only `ends_with`, `contains` and globs starting with `*` can match them. `hour`/`weekday` are read in the account timezone. Trust: `sender`, `subject` and `thread.*` are what the SENDER says; `dmarc`/`spf`/`dkim`, `agent_safety.*` and `listed_link` are our measurements.","properties":{"field":{"type":"string","enum":["sender","sender.domain","envelope_sender","recipient","subject","body","attachment.name","attachment.type","attachment.count","size_kb","spam_score","spam_filter.score","agent_safety.score","agent_safety.verdict","dmarc","spf","dkim","listed_link","thread.new","thread.replies","hour","weekday"]},"op":{"type":"string","enum":["equals","contains","starts_with","ends_with","matches","regex","in","at_least","at_most"]},"value":{"description":"String, number, boolean or a list, depending on the field and operator (`spam_filter.score` takes a decimal, e.g. 6.5).","oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","maxItems":24,"items":{"oneOf":[{"type":"string"},{"type":"number"}]}}]}}},"InboundPolicyInput":{"type":"object","required":["name","action","conditions"],"properties":{"name":{"type":"string","maxLength":120,"description":"Unique in the account."},"action":{"type":"string","enum":["hold","mute","tag","restrict_channels","pass","notify"],"description":"`hold` holds for a human decision (notified like the quarantine); `mute` stores without dispatching or notifying (released the same way); `tag` adds tags and CONTINUES; `notify` pings the account Telegram and CONTINUES; `restrict_channels` delivers only to the listed channels; `pass` stops the policy chain (it does not bypass the mailbox quarantine)."},"conditions":{"type":"array","minItems":1,"maxItems":5,"description":"All must match (AND).","items":{"$ref":"#/components/schemas/InboundPolicyCondition"}},"actionParams":{"type":["object","null"],"description":"`tag`: { tags: [1..5, lowercase, [a-z0-9_.:-]] }. `restrict_channels`: { channels: [{ assocId } | { type: webhook|telegram|slack|forward }] } — assocId is the mailbox↔channel link from GET /v1/inbound/routes/{id}. `notify`: { note?: string ≤ 200 }. Others: none.","additionalProperties":true},"mailboxes":{"type":["array","null"],"minItems":1,"maxItems":200,"description":"Which mailboxes the policy judges. null or absent = every mailbox of the account (the default); a list = only these — mailbox ids from GET /v1/inbound/routes (integers, or `{ id }` as the policy reads back). Each recipient of a message is judged only by the policies of ITS mailbox plus the every-mailbox ones, in the single account order: a message to two mailboxes can get a different outcome per copy. A mailbox of another account answers 400 unknown_mailbox.","items":{"oneOf":[{"type":"integer","minimum":1},{"type":"object","required":["id"],"properties":{"id":{"type":"integer","minimum":1}}}]}},"version":{"type":"integer","description":"PUT only, optional: the version you read. A different current version answers 409 inbound_policy_version_conflict instead of overwriting."}}},"InboundPolicy":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"position":{"type":"integer","description":"Evaluation order (0 = first)."},"action":{"type":"string"},"actionParams":{"type":["object","null"],"additionalProperties":true},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/InboundPolicyCondition"}},"mailboxes":{"type":["array","null"],"description":"null = every mailbox of the account; a list = only these mailboxes. An EMPTY list means the chosen mailboxes were deleted: the policy judges no mailbox until you edit it.","items":{"type":"object","properties":{"id":{"type":"integer"},"address":{"type":"string","description":"`local@domain`, or `*@domain` for a catch-all."}}}},"paused":{"type":"boolean","description":"New policies are born PAUSED at the end of the order: nothing changes until you unpause."},"pausedAt":{"type":["string","null"],"format":"date-time"},"version":{"type":"integer"},"readable":{"type":"boolean","description":"false = the stored policy can no longer be interpreted and is SKIPPED at arrival until fixed."},"effectiveActionToday":{"type":["string","null"],"description":"List only. What it does TODAY: `tag` when hold/mute/restrict_channels degrade (platform switch off, or the held cap reached). null when paused."},"degradedReason":{"type":["string","null"],"enum":["hold_disabled","hold_limit",null],"description":"Why the action TODAY is a tag: the platform switch is off (hold_disabled) or the policy already holds its cap (hold_limit). null while paused or unreadable (`readable: false`) — such a policy is not evaluated."},"matches30d":{"type":"integer"},"lastMatchedAt":{"type":["string","null"],"format":"date-time"},"heldNow":{"type":"integer","description":"Messages this policy holds right now (cap 200 per policy)."},"createdBy":{"type":["string","null"]},"updatedBy":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":["string","null"],"format":"date-time"}}},"InboundPolicyList":{"type":"object","properties":{"policies":{"type":"array","items":{"$ref":"#/components/schemas/InboundPolicy"}},"total":{"type":"integer"},"max":{"type":"integer"},"holdEnabled":{"type":"boolean","description":"The platform switch. Off: hold, mute and restrict_channels become the tag `would_<action>:<name>`."}}},"InboundPolicyDecisionList":{"type":"object","properties":{"decisions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"policyId":{"type":["integer","null"],"description":"null after the policy was deleted — the frozen name stays."},"policyName":{"type":"string"},"message":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"subject":{"type":["string","null"],"description":"null unless the key also has read:inbound (the envelope is mailbox content)."},"fromHeader":{"type":["string","null"],"description":"null unless the key also has read:inbound."},"outcome":{"type":["string","null"]}}},"recipient":{"type":["string","null"],"description":"The mailbox this decision was for: one row per policy × recipient, since each recipient is judged by the policies of its own mailbox. null = a decision from before per-mailbox policies."},"action":{"type":"string"},"effectiveAction":{"type":"string"},"degradedReason":{"type":["string","null"],"enum":["hold_disabled","hold_limit","limit_unreadable","no_notice","no_channel","no_chat","notify_failed","mailbox_quarantine",null],"description":"Why the action did not apply as written. hold/mute/restrict became a tag because: the platform switch is off (hold_disabled), the policy already holds its cap (hold_limit), the held count could not be read (limit_unreadable — never holds blindly), no channel could carry the hold notice (no_notice), or the restriction would leave a recipient without channels (no_channel). notify reached no one because: the account has no active Telegram chat (no_chat), or Telegram refused after the retries (notify_failed). hold/mute stayed a hold but the mailbox's own security quarantine holds the message (mailbox_quarantine): the notice was the quarantine's, with no policy deadline and outside the policy cap. Never retained silently."},"detail":{"type":["string","null"],"description":"JSON text: the tags (tag), the channels (restrict_channels) or the note (notify)."},"decidedAt":{"type":"string","format":"date-time"}}}},"nextBefore":{"type":["integer","null"]},"retentionDays":{"type":"integer"}}},"InboundPolicySimulateRequest":{"type":"object","required":["message"],"properties":{"message":{"description":"A received message id (uuid), or a synthetic message.","oneOf":[{"type":"string","format":"uuid","maxLength":45},{"type":"object","properties":{"from":{"type":"string"},"envelopeFrom":{"type":"string"},"to":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"subject":{"type":"string"},"text":{"type":"string"},"html":{"type":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"}}}},"sizeKb":{"type":"integer"},"spamScore":{"type":"integer"},"agentSafety":{"type":"object","properties":{"verdict":{"type":"string"},"score":{"type":"integer"}}},"dmarc":{"type":"string"},"spf":{"type":"string"},"dkim":{"type":"string"},"listedLink":{"type":"boolean"},"thread":{"type":"object","properties":{"new":{"type":"boolean"},"replies":{"type":"integer"}}},"spamFilter":{"type":"object","description":"The spam-filter verdict to test `spam_filter.score` with. It counts only for addresses whose mailbox has the spam filter on — exactly as at arrival.","properties":{"score":{"type":"number"}}},"receivedAt":{"type":"string","format":"date-time","maxLength":262144}}}]},"policy":{"$ref":"#/components/schemas/InboundPolicyInput"},"policyId":{"type":"integer","description":"Evaluate this SAVED policy alone — even paused, which is how you check a policy right after creating it (new policies are born paused). Send `policy` OR `policyId`, not both."}}},"InboundPolicySimulateResult":{"type":"object","properties":{"holdEnabled":{"type":"boolean"},"recipients":{"type":"array","description":"One item per recipient: each is judged by the policies of ITS mailbox plus the every-mailbox ones. On a synthetic message the addresses are matched to the mailboxes of the account the way arrival does (an address with no mailbox is judged only by every-mailbox policies). `matched` and `result` at the top are the FIRST recipient's.","items":{"type":"object","properties":{"recipient":{"type":["string","null"]},"mailboxId":{"type":["integer","null"]},"spamFilterScore":{"type":["number","null"],"description":"The spam-filter score THIS copy was judged with: null when its mailbox does not have the spam filter on (on a received message, as recorded at arrival; on a synthetic one, as the mailbox is configured now — an address with no mailbox keeps the score you sent)."},"matched":{"type":"array","items":{"type":"object","properties":{"id":{"type":["integer","null"]},"name":{"type":"string"},"action":{"type":"string"}}}},"result":{"type":"object","additionalProperties":true}}}},"matched":{"type":"array","items":{"type":"object","properties":{"id":{"type":["integer","null"]},"name":{"type":"string"},"action":{"type":"string"}}}},"result":{"type":"object","properties":{"action":{"type":["string","null"]},"policy":{"type":["string","null"]},"degradedReason":{"type":["string","null"],"description":"Same values as the decision feed. On a received message the simulator also predicts mailbox_quarantine, no_notice and no_channel from the mailboxes the message went to."},"tags":{"type":"array","items":{"type":"string"}},"notify":{"type":"array","items":{"type":"string"}},"channels":{"type":["object","null"],"additionalProperties":true}}},"seen":{"type":"object","description":"What the engine saw — so \"did not match\" tells whether it was the rule or the data.","additionalProperties":true}}},"InboundQuarantineInfo":{"type":["object","null"],"description":"Present ONLY on a message that was held by the agent-safety verdict (or, later, a reception policy) and then released by a human — panel or POST /v1/inbound/{uid}/release. Absent (null) on a normal delivery. Release is not absolution: agentSafety travels with it.","required":["reason","heldAt","releasedAt"],"properties":{"reason":{"type":"string","enum":["agent_safety_dangerous","policy"]},"heldAt":{"type":"string","format":"date-time"},"releasedAt":{"type":"string","format":"date-time"},"releasedBy":{"type":["string","null"],"description":"`portal:<user>` or `api:<key prefix>`."},"agentSafety":{"type":["object","null"],"properties":{"verdict":{"type":"string"},"score":{"type":"integer"}}},"policy":{"type":["object","null"],"description":"When one of your inbound policies held it (reason `policy`): its name and action.","properties":{"name":{"type":"string"},"action":{"type":["string","null"]}}}}},"InboundReleaseResult":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["released"]},"deliveries":{"type":"integer","description":"How many channel deliveries were queued now. 0 with noChannel=true means the mailbox has no active channel — the message stays readable in the panel and the API."},"noChannel":{"type":"boolean"},"releasedAt":{"type":"string","format":"date-time"},"releasedBy":{"type":"string"},"recipients":{"type":"array","items":{"type":"string"},"description":"The mailboxes whose copies this call released."},"stillHeld":{"type":"integer","description":"Copies of the message still held after this call (releasing one recipient of several)."}}},"InboundStatsRow":{"type":"object","properties":{"day":{"type":"string","description":"group_by=day"},"recipient":{"type":"string","description":"group_by=recipient"},"received":{"type":"integer"},"evaluated":{"type":"integer","description":"Messages with an agent-safety verdict (received minus the ones the engine could not judge)."},"clean":{"type":"integer"},"suspicious":{"type":"integer"},"dangerous":{"type":"integer"},"quarantined":{"type":"integer","description":"Held at arrival by the agent-safety verdict in the window (holds by your inbound policies are in the policy feed, not here)."},"released":{"type":"integer","description":"Verdict holds released by a human in the window."}}},"InboundStats":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"groupBy":{"type":"string","enum":["day","recipient"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/InboundStatsRow"}}}},"InboundQuarantined":{"type":"object","additionalProperties":false,"description":"Body of the `inbound.quarantined` webhook: the message was HELD before delivery — by the mailbox agent-safety quarantine or by one of your inbound policies (decision: we never hold without telling you). The body is not delivered; a human releases it in the panel or via API.","properties":{"event":{"type":"string","enum":["inbound.quarantined"]},"eventId":{"type":"string","format":"uuid","description":"Unique per POST (it is the delivery uid, never reused) — dedupe on it."},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"object","properties":{"id":{"type":"string"},"subject":{"type":["string","null"]},"fromHeader":{"type":["string","null"]}},"additionalProperties":true},"recipient":{"type":"object","properties":{"id":{"type":"string"},"to":{"type":"string"}},"additionalProperties":true},"quarantine":{"type":"object","required":["reason","heldAt","agentSafety","release"],"properties":{"reason":{"type":"string","enum":["agent_safety_dangerous","policy"],"description":"`agent_safety_dangerous` = the mailbox quarantine held it on the verdict; `policy` = one of your inbound policies (action hold) held it — see `policy`."},"heldAt":{"type":"string","format":"date-time"},"expiresAt":{"type":["string","null"],"format":"date-time","description":"Policy holds follow the mailbox retention: after this moment the copy is deleted and release/reply answer 410 copy_expired. null for the agent-safety quarantine, whose clock only starts after release."},"agentSafety":{"type":["object","null"],"properties":{"verdict":{"type":"string","enum":["clean","suspicious","dangerous"]},"score":{"type":"integer","minimum":0,"maximum":100}}},"policy":{"type":["object","null"],"description":"Present when reason is `policy`.","properties":{"name":{"type":"string"},"action":{"type":"string","enum":["hold"]}}},"release":{"type":"object","properties":{"panel":{"type":"string","format":"uri","description":"Where a human decides (Inbound → Deliveries, «Held»). Replying via API answers 409 message_quarantined until then."},"note":{"type":"string"}}}}}},"required":["event","eventId","timestamp","message","recipient","quarantine"]},"AgentSafetyCoverage":{"type":["object","null"],"description":"What the verdict actually looked at. null = message from before coverage was recorded. Read it before trusting `clean`.","properties":{"bodySampled":{"type":"boolean","description":"true when the scanner saw a head+tail sample (128 KiB) instead of the whole text/HTML, or a textual attachment was cut at its cap. A payload planted in the unsampled middle is not seen. Also true when an absurd header (a field over 64 KiB, a header block over 512 KiB, or over 5000 lines — 1000 in a MIME part) was cut before reading, or the message has more than 1000 MIME parts (the first 1000 are read)."},"sanitized":{"type":"boolean","description":"true when hidden characters (Unicode Tags, zero-width, bidi overrides) were stripped from the text we hand you — the body, the subject or the sender display name (`fromName`). The raw copy (/raw) keeps them, for forensics."},"unscannedAttachments":{"type":"integer","minimum":0,"description":"Attachments whose content the scanner did not read because they are not text: PDFs, images, spreadsheets, archives. Extract them yourself before a model reads them. Attached messages (.eml) ARE decoded and scanned."}},"required":["bodySampled","sanitized","unscannedAttachments"]},"InboundSpamFilter":{"type":["object","null"],"description":"The spam filter of the MAILBOX (rspamd at our receiving edge) — OPT-IN per mailbox: null when no mailbox of this message switched it on (or the message predates the filter), which is «no opinion», never «clean». It only annotates: we never refuse, hold or discard because of it; what to do with the score is your inbound policy (`spam_filter.score`). Different from `spamScore` (our own 0–100 heuristic, computed for every message).","required":["status","score","action","reason"],"properties":{"status":{"type":"string","enum":["scanned","unavailable","skipped"],"description":"`scanned` = there is a score; `unavailable` = the mailbox asked and the filter did not answer in time (delivered WITHOUT a score — fail-open); `skipped` = not scanned on purpose (`reason`)."},"score":{"type":["number","null"],"description":"The rspamd score (decimal; negative = looks legitimate). Common thresholds: 6 (probable spam), 15 (spam). null unless `scanned`."},"action":{"type":["string","null"],"enum":["no action","greylist","add header","rewrite subject","soft reject","reject",null],"description":"What rspamd SUGGESTS. Informational: we never execute it."},"reason":{"type":["string","null"],"enum":["too_large","bypass","timeout","error",null],"description":"`skipped`: too_large (over 10 MiB) or bypass (mail from one of our own domains, on an explicit list, DKIM-signed by that same domain and passing DMARC — subdomains are not on it); `unavailable`: timeout or error."},"symbols":{"type":"array","description":"The rules that weighed, heaviest first (detail and webhook; omitted from the paginated list).","items":{"type":"object","properties":{"name":{"type":"string"},"score":{"type":"number"}}}}},"additionalProperties":true},"AgentSafety":{"type":["object","null"],"properties":{"verdict":{"type":"string","enum":["clean","suspicious","dangerous"],"description":"clean | suspicious | dangerous. Treat `null` (field absent) as «not evaluated», never as safe."},"score":{"type":"integer","minimum":0,"maximum":100,"description":"0 = nothing found, 100 = maximum risk. The thresholds are 25 (suspicious) and 60 (dangerous)."},"coverage":{"$ref":"#/components/schemas/AgentSafetyCoverage"},"signals":{"type":"array","description":"Why the score is what it is. Present in the webhook payload and in GET /v1/inbound/{uid}; omitted from the paginated list. Each entry names one finding.","items":{"type":"object","properties":{"type":{"type":"string","description":"Machine name of the finding, e.g. unicode_tags, imperativo_oculto, bidi, homoglifo. texto_ilegivel is a passage that cannot be normalized safely — too long without a single ASCII character (a very long paragraph of unbroken Chinese or Japanese, for example) or with too many combining marks — and is read in pieces; on its own, it leads at most to `suspicious`."},"points":{"type":"integer","description":"How much this finding added to the score."},"detail":{"type":"string","description":"Human-readable evidence — including the hidden text, decoded, so you can see what your agent would have read."}},"additionalProperties":true}}},"additionalProperties":true},"InboundList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InboundMessage"}},"next_cursor":{"type":["string","null"]}}},"InboundRouteChannel":{"type":"object","description":"A notification channel attached to this mailbox. Never carries the webhook secret.","properties":{"assocId":{"type":"integer","description":"The attachment id — use it in DELETE /v1/inbound/routes/{id}/channels/{assocId}."},"channelId":{"type":"integer"},"type":{"type":"string","enum":["webhook","telegram","slack","forward"]},"label":{"type":["string","null"]},"destination":{"type":["string","null"],"description":"Webhook URL, forward address, Telegram chat or Slack channel."},"mode":{"type":["string","null"],"enum":["full+attachments","full","summary",null]},"active":{"type":"boolean"},"broken":{"type":"boolean","description":"The channel is marked broken (deliveries failing) — see the panel."}}},"InboundRoute":{"type":"object","properties":{"id":{"type":"integer"},"domain":{"type":"string"},"address":{"type":"string","description":"`local@domain`, or `*@domain` for a catch-all."},"matchType":{"type":"string","enum":["exact","catchall"]},"localPart":{"type":["string","null"]},"active":{"type":"boolean"},"inboundEnabled":{"type":"boolean","description":"Whether inbound is switched on for the DOMAIN (portal). A mailbox on a domain with inbound off does not receive yet."},"agentSafetyMode":{"type":["string","null"],"description":"null = the mailbox delivers everything with the verdict (default for API-created mailboxes); `dangerous` = holds dangerous messages (set in the portal)."},"retroScan":{"type":"boolean"},"spamFilter":{"type":"boolean","description":"The mailbox spam filter is on (opt-in; false on every new mailbox). See `spamFilter` on received messages."},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":["string","null"],"format":"date-time"},"createdBy":{"type":["string","null"],"description":"`api:<key prefix>`, `portal:<user>`, `wizard:<user>`, `admin:<operator>`; null = before this was recorded."},"channelCount":{"type":"integer","description":"List only: active channels attached."},"channels":{"type":"array","description":"Detail only.","items":{"$ref":"#/components/schemas/InboundRouteChannel"}},"url":{"type":"string"}}},"InboundRouteCreate":{"type":"object","required":["domain","matchType"],"properties":{"domain":{"type":"string","description":"A domain of your account (name, not id)."},"matchType":{"type":"string","enum":["exact","catchall"]},"localPart":{"type":"string","maxLength":64,"description":"Required for `exact` (the part before the @). Lower-cased."},"active":{"type":"boolean","default":true},"channels":{"type":"array","maxItems":5,"description":"Attach channels in the same call: `{ channelId, mode? }` for an existing channel of the same domain, or `{ type: \"webhook\", url, mode? }` for a NEW webhook (at most one per call; the endpoint must echo the ownership challenge — see the docs). The webhook secret is returned once, in the 201.","items":{"type":"object","properties":{"channelId":{"type":"integer"},"type":{"type":"string","enum":["webhook"]},"url":{"type":"string","format":"uri","maxLength":500},"mode":{"type":"string","enum":["full+attachments","full","summary"]}}}}}},"InboundRoutePatch":{"type":"object","description":"Additive: switches `active` and `spamFilter`, and ATTACHES channels. Removing a channel is an explicit DELETE on its assocId.","properties":{"active":{"type":"boolean"},"spamFilter":{"type":"boolean","description":"The spam filter of this mailbox (rspamd at our receiving edge): true = every message arriving here is scanned and gets `spamFilter` (score, suggested action, rules); false = not scanned (the default of every mailbox — opt-in). It only annotates: act on the score with an inbound policy (`spam_filter.score`). Turning it ON while the platform does not offer the filter yet answers 409 spam_filter_unavailable and changes nothing."},"channels":{"type":"array","maxItems":5,"items":{"type":"object","properties":{"channelId":{"type":"integer"},"type":{"type":"string","enum":["webhook"]},"url":{"type":"string","format":"uri","maxLength":500},"mode":{"type":"string"}}}}}},"InboundRouteCreated":{"allOf":[{"$ref":"#/components/schemas/InboundRoute"},{"type":"object","properties":{"webhook":{"type":"object","description":"Only when a webhook was created inline. The secret is shown ONCE.","properties":{"url":{"type":"string"},"mode":{"type":"string"},"secret":{"type":"string"},"signature":{"$ref":"#/components/schemas/SignatureDoc"}}},"channelErrors":{"type":"array","description":"Channels that could not be attached (the mailbox was still created).","items":{"type":"object","properties":{"type":{"type":"string"},"error":{"type":"string"}}}}}}]},"InboundRouteList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InboundRoute"}}}},"InstantInbox":{"type":"object","description":"The instant inbox of the account: `<account code>.oveyon.app`, with no DNS on your side. Its mailboxes are ordinary mailboxes — manage them later with PATCH/DELETE /v1/inbound/routes/{id}.","properties":{"domain":{"type":["string","null"],"description":"`<code>.oveyon.app` — the account short code. null when the account cannot have one (see `available`)."},"available":{"type":"boolean","description":"false = this account cannot have an instant inbox (no short code, or the account is not active)."},"active":{"type":"boolean","description":"Whether the account switched it on (POST /v1/inbound/instant). Until then nothing is received there."},"catchAll":{"anyOf":[{"$ref":"#/components/schemas/InboundRoute"},{"type":"null"}],"description":"The catch-all `*@<code>.oveyon.app`: any address without a named mailbox lands here while it is active. Switch it off (PATCH /v1/inbound/routes/{id}) and those addresses are refused at the MX (550)."},"mailboxes":{"type":"array","description":"Named mailboxes `<agent>@<code>.oveyon.app`, each with its own thread, channels and policies.","items":{"$ref":"#/components/schemas/InboundRoute"}},"sending":{"type":"object","description":"Sending FROM the instant inbox (replies included) is for paid plans only.","properties":{"allowed":{"type":"boolean"},"reason":{"type":["string","null"],"enum":["managed_domain_requires_paid_plan",null]}}},"limits":{"type":"object","properties":{"perHour":{"type":"integer","description":"Messages per hour the account receives on its instant inbox. Above it the MX answers 450 4.2.1 and the sender retries in the next hour."},"thisHour":{"type":["integer","null"],"description":"Received in the current hour (null when it cannot be read right now)."},"retentionDays":{"type":"integer","description":"How long received messages are kept: on the free plan, the plan retention; on paid plans, the same as your own domains."}}},"url":{"type":"string"}}},"InstantInboxCreate":{"type":"object","description":"Without `localPart`: switches the instant inbox on (its domain and catch-all) and returns the catch-all. With `localPart`: creates the named mailbox `<localPart>@<code>.oveyon.app` (switching the inbox on first if needed).","properties":{"localPart":{"type":"string","maxLength":64,"description":"The part before the @ (lower-cased). Letters, digits and . _ % + - (no @)."},"active":{"type":"boolean","default":true},"channels":{"type":"array","maxItems":5,"description":"Only with `localPart`. Same shape as POST /v1/inbound/routes: `{ type: \"webhook\", url, mode? }` for a NEW webhook (at most one; the secret is returned once) or `{ channelId, mode? }` for an existing channel of the instant domain.","items":{"type":"object","properties":{"channelId":{"type":"integer"},"type":{"type":"string","enum":["webhook"]},"url":{"type":"string","format":"uri","maxLength":500},"mode":{"type":"string","enum":["full+attachments","full","summary"]}}}}}},"InboundReplyRequest":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":20000,"description":"Plain-text body of the reply. The From is always the mailbox that received the message; the To is the original Reply-To/From; In-Reply-To and References are set for you."},"subject":{"type":"string","maxLength":500,"description":"Optional. Defaults to `Re: <original subject>`. Line breaks are rejected (400 bad_subject)."},"idempotencyKey":{"oneOf":[{"type":"string","maxLength":190,"pattern":"^[\\x21-\\x7e]*$"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}],"description":"Optional task/order key (or the Idempotency-Key header). Up to 190 printable ASCII characters without spaces (`!` to `~`), or an integer, read as its decimal text (`1234` and `\"1234\"` are the same key; `0` counts as no key); anything else is 400 bad_request. Within the account, the key returns the original reply id (200 duplicate) for 24 hours from when the reply was queued; while the first request is still in progress, a retry with the same key gets 409 idempotency_in_progress with `Retry-After`. After expiry a retry can create another message. Namespaced apart from /v1/send keys."},"from":{"type":"string","maxLength":320,"description":"Optional: which mailbox of the message replies (one of `recipients[].to`). Default: the first mailbox whose copy was delivered. A mailbox whose copy is held answers 409 recipient_quarantined; an address that did not receive the message, 422 from_not_recipient; an address outside ASCII, 400 with `reason: address_not_ascii`."},"hold":{"type":"boolean","description":"Hold the REPLY for a human to approve (status `held`); the key that replies does not approve (approve:holds). Ignored when the key itself is in sandbox (status `sandbox`)."},"holdTtl":{"type":"integer","minimum":300,"maximum":604800,"description":"Seconds until the held reply expires (default 86400)."},"holdNote":{"type":"string","maxLength":500,"description":"What the agent wants the approver to know."}}},"InboundReplyAccepted":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The outbound message id — follow it in GET /v1/messages/{id} and the delivery webhooks."},"status":{"type":"string","enum":["accepted","sandbox","held"],"description":"`sandbox` = accepted and frozen without delivery because the API key is in sandbox; this takes precedence over hold requests and approval policies. `held` = waiting for a human (see `hold`). A repeated idempotencyKey answers 200 with DuplicateResponse instead."},"hold":{"type":"object","description":"Only when status is `held`.","properties":{"expiresAt":{"type":"string","format":"date-time"},"note":{"type":["string","null"]},"requestedBy":{"type":"string"},"approve":{"type":"string"},"reject":{"type":"string"}}},"from":{"type":"string"},"to":{"type":"string"},"subject":{"type":"string"},"thread":{"$ref":"#/components/schemas/InboundThreadRef"},"url":{"type":"string"}}},"InboundAttachment":{"type":"object","description":"One item of the attachment manifest — the same shape in GET /v1/inbound/{id} and in the `inbound.received` webhook. `ord` is the ADDRESS of the attachment (download by it, never by `filename`).","properties":{"ord":{"type":"integer","description":"1-based, stamped when the message came in; stable forever."},"filename":{"type":["string","null"],"description":"Display only — it came from the sender (may repeat, be empty or carry a path)."},"contentType":{"type":"string","description":"The type the SENDER declared (the Content-Type of the MIME part), as is. `application/octet-stream` when the part declared none."},"detectedType":{"type":["string","null"],"description":"The type read from the first bytes of the file itself (its signature), independent of the label. Recognized families: PDF; legacy Office, Outlook .msg and .msi installers (`application/x-ole-storage` — the container is the same); .docx/.xlsx/.pptx, OpenDocument and EPUB; zip, 7z, rar, gzip, bzip2, jar; PNG, JPEG, GIF, TIFF, BMP, WebP, HEIC, AVIF, JPEG XL; MP4, MOV, 3GP, AVI; MP3, OGG, WAV, M4A; RTF, PostScript, XML; Windows (.exe/.dll) and Linux (ELF) executables. `null` = no recognized signature (plain text, a rare format) — it does not mean the label is wrong, only that nothing was recognized. Also `null` for messages received before 2026-10-15."},"typeMismatch":{"type":"boolean","description":"true when `contentType` and `detectedType` both exist and belong to different families — image, audio/video, PDF, PostScript, office document (legacy and modern Office, OpenDocument, RTF), archive, executable, text (e.g. a `.doc` labelled `image/png`). Synonyms of the same type (`image/jpg`, `application/x-zip-compressed`) and the same container (`application/zip` for a .docx) do not count; a generic label (`application/octet-stream`) never mismatches. A label outside these families only mismatches when the content is an executable — an executable mismatches every label that does not declare one. Do not discard an attachment on the label alone — prefer `detectedType` when it exists."},"sizeBytes":{"type":"integer","description":"Measured on decode, not declared."},"sha256":{"type":["string","null"],"description":"Hex digest of the decoded bytes."},"url":{"type":"string","description":"Where to fetch the bytes (GET, scope read:inbound)."}}},"InboundDetail":{"allOf":[{"$ref":"#/components/schemas/InboundMessage"},{"type":"object","properties":{"deliveries":{"type":"array","description":"Where this message was dispatched and what happened — one item per (recipient, channel, kind), oldest first. Includes the destination MX's answer for forwarded copies.","items":{"$ref":"#/components/schemas/InboundDelivery"}},"replies":{"type":"array","description":"Replies sent for this message (portal, Telegram, Slack or API), oldest first.","items":{"$ref":"#/components/schemas/InboundReply"}},"attachments":{"type":"array","description":"The attachment manifest, stamped at ingest (never a re-parse).","items":{"$ref":"#/components/schemas/InboundAttachment"}},"links":{"type":"object","properties":{"self":{"type":"string"},"content":{"type":"string"},"raw":{"type":"string"},"reply":{"type":"string","description":"POST here to reply (scope reply:inbound)."}}}}}]},"InboundContent":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":["string","null"]},"html":{"type":["string","null"],"description":"Third-party HTML — sanitize before rendering."},"truncated":{"type":"boolean"},"sanitized":{"type":"boolean","description":"True when invisible smuggling characters (Unicode Tags block, zero-width, bidi overrides) were stripped from text/html, the subject or the sender display name. Use /raw for the byte-exact original."},"replyText":{"type":["string","null"],"description":"The NEW text of the message with quoted history, Outlook/forwarded headers and the RFC 3676 signature removed (pt/en). Feed this to a model, not `text`. Equals `text` when nothing was quoted."},"replyStripped":{"type":"boolean","description":"True when something was removed to produce replyText."},"replyMarkers":{"type":"array","items":{"type":"string","enum":["quote_header","quoted_lines","outlook_header","original_message","forwarded","signature"]},"description":"What was recognized and removed."}}},"Suppression":{"type":"object","properties":{"email":{"type":"string"},"reason":{"type":"string","enum":["hard_bounce","complaint","manual","unsubscribe","mailbox_full"],"description":"`mailbox_full` = the recipient mailbox was full: the address is PAUSED until `expiresAt` (24 h after the refusal by default, renewed while it stays full; it ends early when a delivery to the address is accepted by the destination server), then the next send tries again. While paused, sends are refused TEMPORARILY: 422 `recipient_suppressed` with `reason` and `expiresAt` in the API, 452 4.2.2 over SMTP. This list has only your account’s pauses (the asynchronous DSN, or a message over 1 MiB): a platform-wide pause is not listed. Only the platform writes it (POST does not accept it); you can remove your account’s pause like `hard_bounce`. A refusal for message SIZE never suppresses anyone."},"source":{"type":"string"},"domainId":{"type":["integer","null"],"description":"Set when the line applies to ONE sending domain of the account (a complaint); null = the whole account."},"expiresAt":{"type":["string","null"],"format":"date-time","description":"When the line stops blocking (null = permanent). A past value no longer blocks anything."},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"SuppressionList":{"type":"object","properties":{"suppressions":{"type":"array","items":{"$ref":"#/components/schemas/Suppression"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"ListEntry":{"type":"object","properties":{"id":{"type":"integer"},"scope":{"type":"string","enum":["outbound","inbound"],"description":"Which direction the list judges."},"kind":{"type":"string","enum":["allow","block"]},"pattern":{"type":"string"},"domainId":{"type":["integer","null"],"description":"0 = every domain of the account."},"credentialType":{"type":["string","null"],"enum":["none","smtp","apiKey",null],"description":"`none` = every credential."},"credentialId":{"type":["integer","null"],"description":"0 with credentialType `none`."},"paused":{"type":"boolean"},"pausedAt":{"type":["string","null"]}},"additionalProperties":true},"IpRule":{"type":"object","properties":{"id":{"type":"integer"},"credentialType":{"type":"string","enum":["smtp","apiKey"]},"credentialId":{"type":"integer"},"cidr":{"type":"string"},"paused":{"type":"boolean"},"pausedAt":{"type":["string","null"]}},"additionalProperties":true},"Condition":{"type":"object","required":["campo","op","valor"],"properties":{"campo":{"type":"string"},"op":{"type":"string"},"valor":{"type":"string"}}},"SendPolicy":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string","maxLength":120},"conditions":{"type":"array","minItems":1,"maxItems":5,"items":{"$ref":"#/components/schemas/Condition"}},"action":{"type":"string","enum":["recusar","reter","reter_para_aprovacao","exigir_footer","forcar_transacional","seguir_fluxo","limitar_hora"],"description":"`reter` holds for the OPERATOR; `reter_para_aprovacao` (F3b) turns the message into a draft awaiting YOUR approval (GET /v1/holds)."},"actionParams":{"type":["object","null"],"additionalProperties":true},"position":{"type":"integer"},"paused":{"type":"boolean"},"pausedAt":{"type":["string","null"]}},"additionalProperties":true},"SendPolicyInput":{"type":"object","required":["name","conditions","action"],"properties":{"name":{"type":"string","maxLength":120},"conditions":{"type":"array","minItems":1,"maxItems":5,"items":{"$ref":"#/components/schemas/Condition"}},"action":{"type":"string"},"actionParams":{"type":"object","additionalProperties":true}}},"TemplateVersionInput":{"type":"object","required":["subject"],"description":"The CONTENT of a new version. The name is the template identity and does not change here (a `name` in the body is ignored).","properties":{"subject":{"type":"string"},"html":{"type":"string"},"text":{"type":"string"}}},"TemplateVar":{"type":"object","additionalProperties":false,"required":["name","kind","required","default"],"description":"A variable the template reads.","properties":{"name":{"type":"string","description":"The ROOT of the path the template reads — the key to send in `data`: `{{pedido.total}}` and `{{#if pedido.pago}}` both declare `pedido` (send it as an object). Paths inside `{{#each}}` are relative to the item and are not listed."},"kind":{"type":"string","enum":["var","flag","list"],"description":"`var` = printed; `flag` = used in a condition; `list` = iterated by `{{#each}}`."},"required":{"type":"boolean","description":"true = a printed variable with no `| \"default\"`."},"default":{"type":["string","null"]}}},"TemplateDraft":{"type":"object","additionalProperties":false,"required":["id","name","version","status","vars"],"description":"The draft just saved (create / new version).","properties":{"id":{"type":"integer"},"name":{"type":"string"},"version":{"type":"integer"},"status":{"type":"string","enum":["draft"]},"vars":{"type":"array","items":{"$ref":"#/components/schemas/TemplateVar"}}}},"TemplatePublished":{"type":"object","additionalProperties":false,"required":["id","name","version","status"],"properties":{"id":{"type":"integer"},"name":{"type":"string"},"version":{"type":"integer","description":"The version that is now current."},"status":{"type":"string","enum":["published"]}}},"TemplateVersion":{"type":"object","additionalProperties":false,"required":["version","status","subject","html","text","vars","createdBy","createdAt"],"properties":{"version":{"type":"integer"},"status":{"type":"string","enum":["draft","published"],"description":"`published` is immutable."},"subject":{"type":"string"},"html":{"type":["string","null"]},"text":{"type":["string","null"]},"vars":{"type":"array","items":{"$ref":"#/components/schemas/TemplateVar"}},"createdBy":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"}}},"Template":{"type":"object","additionalProperties":false,"required":["id","name","currentVersion","createdAt","versions"],"description":"A template with all its versions.","properties":{"id":{"type":"integer"},"name":{"type":"string"},"currentVersion":{"type":["integer","null"],"description":"The version sends use; null = never published."},"createdAt":{"type":"string","format":"date-time"},"versions":{"type":"array","items":{"$ref":"#/components/schemas/TemplateVersion"}}}},"TemplateList":{"type":"object","additionalProperties":false,"required":["templates"],"properties":{"templates":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","name","currentVersion","latestVersion","drafts","createdAt"],"properties":{"id":{"type":"integer"},"name":{"type":"string"},"currentVersion":{"type":["integer","null"]},"latestVersion":{"type":"integer"},"drafts":{"type":"integer"},"createdAt":{"type":"string","format":"date-time"}}}}}},"TemplateDeleted":{"type":"object","additionalProperties":false,"required":["ok","id"],"description":"The template and all its versions are gone.","properties":{"ok":{"type":"boolean","enum":[true]},"id":{"type":"integer","description":"The id of the deleted template."}}},"TemplateInput":{"type":"object","required":["name","subject"],"properties":{"name":{"type":"string","maxLength":120,"description":"Unique in the account; starts with a letter; letters, digits, . - _"},"subject":{"type":"string"},"html":{"type":"string"},"text":{"type":"string"}}},"Survey":{"type":"object","properties":{"id":{"type":"integer"},"kind":{"type":"string","enum":["nps","csat"]},"name":{"type":"string"},"subject":{"type":"string"},"fromEmail":{"type":"string"},"fromName":{"type":["string","null"]},"question":{"type":"string"},"throttleDays":{"type":"integer","minimum":7,"maximum":3650},"brandColor":{"type":["string","null"]},"logoUrl":{"type":["string","null"]},"active":{"type":"boolean"},"rollup":{"$ref":"#/components/schemas/SurveyRollup"}},"additionalProperties":true},"SurveyInput":{"type":"object","required":["kind","name","subject","fromEmail"],"properties":{"kind":{"type":"string","enum":["nps","csat"],"description":"Cannot change after creation."},"name":{"type":"string"},"subject":{"type":"string"},"fromEmail":{"type":"string","description":"A domain of your account. ASCII only (an IDN domain in xn-- form) — otherwise 400 with `reason: address_not_ascii`."},"fromName":{"type":"string"},"question":{"type":"string","description":"Optional. Empty = the canonical wording of the kind, in the account language (the language of the platform emails you receive: Portuguese for an account from Brazil, English for all others). Once saved it is your text; nothing rewrites it."},"throttleDays":{"type":"integer","minimum":7,"maximum":3650,"default":90},"brandColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","maxLength":7},"logoUrl":{"type":"string","format":"uri","maxLength":500},"active":{"type":"boolean"}}},"SurveyResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer"},"sendId":{"type":"integer"},"recipient":{"type":"string"},"score":{"type":"integer"},"comment":{"type":["string","null"]},"updated":{"type":"boolean","description":"true = the person changed the score later, with confirmation."},"meta":{"type":["object","null"],"additionalProperties":true,"description":"The context you sent with the survey."},"messageId":{"type":["string","null"],"description":"uuid of the message that carried the survey."},"respondedAt":{"type":"string","format":"date-time"},"updatedAt":{"type":["string","null"],"format":"date-time"}}},"SurveyRollup":{"type":["object","null"],"additionalProperties":false,"description":"NPS/CSAT rollup — only on GET /v1/surveys/{id} and with the responses; null when the survey is gone.","properties":{"surveyId":{"type":"integer"},"kind":{"type":"string","enum":["nps","csat"]},"enviados":{"type":"integer","description":"Surveys sent (not canceled)."},"respostas":{"type":"integer"},"taxaResposta":{"type":["number","null"],"description":"null when nothing was sent."},"nps":{"type":["number","null"],"description":"NPS only; null without responses — never 0."},"promotores":{"type":["integer","null"]},"detratores":{"type":["integer","null"]},"neutros":{"type":["integer","null"]},"media":{"type":["number","null"]},"distribuicao":{"type":"object","additionalProperties":{"type":"integer"},"description":"Every score of the range, zeros included."}}},"Webhook":{"type":"object","properties":{"id":{"type":"integer"},"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"type":"string","enum":["delivered","bounced","opened","clicked","complained","blocked"]}},"active":{"type":"boolean"},"credential":{"type":["object","null"],"properties":{"type":{"type":"string","enum":["smtp","api"]},"id":{"type":"integer"}}}},"additionalProperties":true},"WebhookCreated":{"allOf":[{"$ref":"#/components/schemas/Webhook"},{"type":"object","properties":{"secret":{"type":"string","description":"Shown ONCE. Signs x-oveyon-signature."},"signature":{"$ref":"#/components/schemas/SignatureDoc"}}}]},"Domain":{"type":"object","properties":{"id":{"type":"integer"},"domain":{"type":"string"},"records":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"value":{"type":"string"},"purpose":{"type":"string"},"optional":{"type":"boolean","description":"true = not needed to send: the tracking CNAME and, in the default mode, the domain's own SPF — mail sent through us carries our return address in the envelope, and the receiver checks the SPF of that address. When a credential that sends for the domain uses the sender itself as the Return-Path (paid plan), the domain's SPF comes without `optional`."}}}},"verification":{"type":"object","properties":{"spf":{"type":"boolean"},"dkim":{"type":"boolean"},"dmarc":{"type":"boolean"},"inconclusive":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"spfProblem":{"type":["object","null"],"description":"Why the SPF published at the domain breaks; `null` when there is nothing to say. Only in the verify response. In the default mode it does not block sending: mail sent through us carries our return address in the envelope, and the receiver checks the SPF of that address, not the domain's. `severity: \"warning\"`: mail sent through us passes SPF, and the domain's other senders (your company email, for example) may fail; it is always the weight of `lookups_over_limit` (the record passes for us, but exceeds the DNS query limit as a whole). `severity: \"error\"`: a credential that sends for this domain uses the sender itself as the Return-Path (paid plan), so the receiver checks the domain's SPF on mail sent through us too, and it fails. `record_too_large`: a record in the chain (the domain's own, or an include or redirect target) is over 4096 bytes, so it was not evaluated — the SPF does not count as verified, neither passing nor failing — and `detail.spf` says which record to shorten. `tree_too_large`: the domain's SPF and the TXT records of every include or redirect read, added up (also those that come along with their SPF), are over 16384 bytes, with the same effect. With the sender itself as the Return-Path, these two follow what happens to sending: `severity` is `error` only when `POST /v1/send` refuses (the brand's include is missing, `return_path_not_authorized`), and `warning` when sending continues or when that could not be determined. With the sender itself as the Return-Path, when `POST /v1/send` refuses the domain, `sendingRefused` carries its `reason`, `severity` is `error` and `detail.spf` says what unblocks sending; without an SPF error, `code` is `include_missing` (the published SPF lacks the brand's include), `record_missing` (the domain has no SPF) or `lockdown_missing` (the `_mailchannels` TXT does not authorize our account; `verification.spf` may be `true` in that case).","properties":{"code":{"type":"string","enum":["too_many_dns_lookups","too_many_void_lookups","multiple_spf_records","invalid_syntax","include_without_spf","too_many_mx_hosts","too_many_addresses","record_too_large","tree_too_large","lookups_over_limit","include_missing","record_missing","lockdown_missing"]},"severity":{"type":"string","enum":["error","warning"]},"sendingRefused":{"type":"string","enum":["spf_include_missing","spf_multiple","mailchannels_lockdown_missing"],"description":"The `reason` of the 422 from `POST /v1/send`, when it refuses this domain. Absent otherwise."},"lookups":{"type":"integer","description":"DNS queries the whole record makes, counting a repeated include again."},"limit":{"type":"integer"},"exact":{"type":"boolean","description":"`false`: the count stopped at one of our ceilings and `lookups` is the floor."},"terms":{"type":"array","description":"Cost of each item of the record, largest ones first when the list is cut.","items":{"type":"object","properties":{"term":{"type":"string"},"lookups":{"type":"integer"}}}}}}},"additionalProperties":true},"Decision":{"type":"object","additionalProperties":true,"description":"One send-policy decision (newest first)."},"MktContact":{"type":"object","additionalProperties":false,"required":["id","email","firstName","lastName","attributes","source","externalId","createdAt","updatedAt"],"properties":{"id":{"type":"integer"},"email":{"type":"string","description":"Normalized: only ASCII whitespace trimmed from the ends; local part and domain lowercased."},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"attributes":{"type":"object","additionalProperties":{"type":["string","number","boolean","null"],"description":"Text (up to 1 KB, in UTF-8 bytes), a finite number, a boolean, or null (null clears the value)."},"description":"Custom properties {name: value}. At most 8 KB per contact; at most 100 property names per account."},"source":{"type":["string","null"],"description":"Where the contact came from: `api`, `form`, `portal`, `import:<provider>`."},"externalId":{"type":["string","null"],"description":"Your own id for this person (up to 64 characters)."},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"MktContactDetail":{"type":"object","additionalProperties":false,"required":["id","email","firstName","lastName","attributes","source","externalId","createdAt","updatedAt","tags","lists"],"properties":{"id":{"type":"integer"},"email":{"type":"string","description":"Normalized: only ASCII whitespace trimmed from the ends; local part and domain lowercased."},"firstName":{"type":["string","null"]},"lastName":{"type":["string","null"]},"attributes":{"type":"object","additionalProperties":{"type":["string","number","boolean","null"],"description":"Text (up to 1 KB, in UTF-8 bytes), a finite number, a boolean, or null (null clears the value)."},"description":"Custom properties {name: value}. At most 8 KB per contact; at most 100 property names per account."},"source":{"type":["string","null"],"description":"Where the contact came from: `api`, `form`, `portal`, `import:<provider>`."},"externalId":{"type":["string","null"],"description":"Your own id for this person (up to 64 characters)."},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"tags":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","name"],"properties":{"id":{"type":"integer"},"name":{"type":"string"}}}},"lists":{"type":"array","description":"Every list this contact has a subscription line in, whatever its status.","items":{"type":"object","additionalProperties":false,"required":["listId","name","status","subscribedAt","unsubscribedAt","unsubscribeReason"],"properties":{"listId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"string","enum":["pending","subscribed","unsubscribed"]},"subscribedAt":{"type":["string","null"],"format":"date-time"},"unsubscribedAt":{"type":["string","null"],"format":"date-time"},"unsubscribeReason":{"type":["string","null"],"enum":["link","preferences","api","import","operator","complaint","bounce",null]}}}}}},"MktContactInput":{"type":"object","additionalProperties":false,"required":["email"],"properties":{"email":{"type":"string","maxLength":320,"description":"Required. Normalized before matching (case does not matter): only ASCII whitespace (space, TAB, LF, VT, FF, CR) is trimmed from the ends — a Unicode space at either end (NBSP, U+3000…) is not trimmed and the call is 400 `invalid_email`. ASCII only, the local part and the domain: an internationalized domain (IDN) enters only in its xn-- form (`ana@xn--exmple-cua.com`); `ana@exämple.com` is refused with 400 invalid_email and `reason: address_not_ascii`. The same holds when finding, tagging, unsubscribing and deleting a contact: only the ASCII form is looked up."},"firstName":{"type":["string","null"],"maxLength":100},"lastName":{"type":["string","null"],"maxLength":100},"attributes":{"type":["object","null"],"maxProperties":100,"additionalProperties":{"type":["string","number","boolean","null"],"description":"Text (up to 1 KB, in UTF-8 bytes), a finite number, a boolean, or null (null clears the value)."},"description":"Shallow merge into the stored properties. Names: `^[a-z][a-zA-Z0-9_]{0,63}$`, never email/firstName/lastName. A new name is registered with the type of its first value."},"externalId":{"type":["string","null"],"maxLength":64}}},"MktContactUpsert":{"type":"object","additionalProperties":false,"required":["contact","created"],"properties":{"contact":{"$ref":"#/components/schemas/MktContact"},"created":{"type":"boolean"}}},"MktContactList":{"type":"object","additionalProperties":false,"required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MktContact"}},"next_cursor":{"type":["string","null"]}}},"MktContactFound":{"type":"object","additionalProperties":false,"required":["contact"],"properties":{"contact":{"$ref":"#/components/schemas/MktContactDetail"}}},"MktContactDeleted":{"type":"object","additionalProperties":false,"required":["id","deleted","lists","purgeAfter"],"properties":{"id":{"type":"integer"},"deleted":{"type":"boolean","const":true},"lists":{"type":"array","items":{"type":"integer"},"description":"The lists the contact was unsubscribed from (reason `operator`)."},"purgeAfter":{"type":"string","format":"date-time","description":"From then on (30 days) the contact, its tags, its timeline and its subscriptions are erased. A hash of the address stays, so a re-import does not bring back someone who unsubscribed."}}},"MktPropertyInput":{"type":"object","additionalProperties":false,"required":["name","type"],"properties":{"name":{"type":"string","maxLength":64,"pattern":"^[a-z][a-zA-Z0-9_]{0,63}$"},"type":{"type":"string","enum":["string","number","boolean","date"]}}},"MktPropertyResult":{"type":"object","additionalProperties":false,"required":["property","created"],"properties":{"property":{"type":"object","additionalProperties":false,"required":["name","type","createdAt"],"properties":{"name":{"type":"string"},"type":{"type":"string","enum":["string","number","boolean","date"]},"createdAt":{"type":"string","format":"date-time"}}},"created":{"type":"boolean"}}},"MktTagsInput":{"type":"object","additionalProperties":false,"required":["tags"],"properties":{"email":{"type":"string","maxLength":320,"description":"The contact’s email, normalized as on POST /v1/contacts: only ASCII whitespace (space, TAB, LF, VT, FF, CR) is trimmed from the ends; a Unicode space at either end (NBSP, U+3000…) is 400 `invalid_email`. ASCII only: the Unicode spelling of a domain is 400 `invalid_email` with `reason: address_not_ascii` — the contact exists only in its xn-- form."},"id":{"type":"integer","minimum":1},"tags":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","maxLength":100}}},"description":"The contact by `email` OR `id` (exactly one). A tag that does not exist yet is created; names are case-insensitive (the first spelling stays)."},"MktTagsAdded":{"type":"object","additionalProperties":false,"required":["contactId","added","tags"],"properties":{"contactId":{"type":"integer"},"added":{"type":"array","items":{"type":"string"},"description":"The tags this call added (the ones the contact already had are not repeated)."},"tags":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","name"],"properties":{"id":{"type":"integer"},"name":{"type":"string"}}},"description":"All the tags of the contact now."}}},"MktTagsRemoved":{"type":"object","additionalProperties":false,"required":["contactId","removed","tags"],"properties":{"contactId":{"type":"integer"},"removed":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","name"],"properties":{"id":{"type":"integer"},"name":{"type":"string"}}}}}},"MktList":{"type":"object","additionalProperties":false,"required":["id","name","domainId","domain","fromName","fromAddress","timezone","isPublic","doubleOptIn","formEnabled","counts","createdAt"],"properties":{"id":{"type":"integer"},"name":{"type":"string"},"domainId":{"type":"integer"},"domain":{"type":"string","description":"The brand of the list: its sending domain."},"fromName":{"type":"string"},"fromAddress":{"type":"string"},"timezone":{"type":"string"},"isPublic":{"type":"boolean"},"doubleOptIn":{"type":"boolean"},"formEnabled":{"type":"boolean","description":"The switch of the public signup form (it only exists with double opt-in on). Off, the form answers the usual page and records nothing."},"counts":{"type":"object","additionalProperties":false,"required":["pending","subscribed","unsubscribed"],"description":"Subscriptions by status, counting only contacts that are NOT deleted — the numbers of the Audience screen. A deleted contact leaves every list at once and is no longer counted (not even as unsubscribed).","properties":{"subscribed":{"type":"integer"},"pending":{"type":"integer"},"unsubscribed":{"type":"integer"}}},"createdAt":{"type":"string","format":"date-time"}}},"MktListList":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MktList"}}}},"MktSubscribeInput":{"type":"object","additionalProperties":false,"required":["email"],"properties":{"email":{"type":"string","maxLength":320,"description":"Required. Normalized before matching (case does not matter): only ASCII whitespace (space, TAB, LF, VT, FF, CR) is trimmed from the ends — a Unicode space at either end (NBSP, U+3000…) is not trimmed and the call is 400 `invalid_email`. ASCII only, the local part and the domain: an internationalized domain (IDN) enters only in its xn-- form (`ana@xn--exmple-cua.com`); `ana@exämple.com` is refused with 400 invalid_email and `reason: address_not_ascii`. The same holds when finding, tagging, unsubscribing and deleting a contact: only the ASCII form is looked up."},"firstName":{"type":["string","null"],"maxLength":100},"lastName":{"type":["string","null"],"maxLength":100},"attributes":{"type":["object","null"],"maxProperties":100,"additionalProperties":{"type":["string","number","boolean","null"],"description":"Text (up to 1 KB, in UTF-8 bytes), a finite number, a boolean, or null (null clears the value)."},"description":"Shallow merge into the stored properties. Names: `^[a-z][a-zA-Z0-9_]{0,63}$`, never email/firstName/lastName. A new name is registered with the type of its first value."},"externalId":{"type":["string","null"],"maxLength":64},"consent":{"type":["object","null"],"additionalProperties":false,"description":"Optional proof of consent of the PERSON who subscribed (your form), not of whoever calls the API.","properties":{"ip":{"type":"string","maxLength":45,"description":"An IPv4 or IPv6 address."},"source":{"type":"string","maxLength":190,"description":"Where they subscribed (e.g. the form URL)."}}}}},"MktSubscription":{"type":"object","additionalProperties":false,"required":["contactId","listId","status","changed","contactCreated"],"properties":{"contactId":{"type":"integer"},"listId":{"type":"integer"},"status":{"type":"string","enum":["pending","subscribed"],"description":"`pending` on a list with double opt-in: a confirmation email is on its way to the person (at most one per list and mailbox every 24 hours, five per mailbox per hour and three per day across the platform, never to a suppressed address). Also `pending` when the person was already `pending` on this list (e.g. they filled your form and did not confirm yet), on any list: only their own confirmation or their preference center turns `pending` into `subscribed`, never an API call or an import."},"changed":{"type":"boolean"},"contactCreated":{"type":"boolean"}}},"MktFormSwitchInput":{"type":"object","additionalProperties":false,"required":["enabled"],"properties":{"enabled":{"type":"boolean","description":"`false` turns the public signup form off at once; `true` turns it back on."}}},"MktFormSwitch":{"type":"object","additionalProperties":false,"required":["listId","formEnabled"],"properties":{"listId":{"type":"integer"},"formEnabled":{"type":"boolean"}}},"MktUnsubscribeInput":{"type":"object","additionalProperties":false,"properties":{"email":{"type":"string","maxLength":320,"description":"The contact’s email, normalized as on POST /v1/contacts: only ASCII whitespace (space, TAB, LF, VT, FF, CR) is trimmed from the ends; a Unicode space at either end (NBSP, U+3000…) is 400 `invalid_email`. ASCII only: the Unicode spelling of a domain is 400 `invalid_email` with `reason: address_not_ascii` — the contact exists only in its xn-- form."},"id":{"type":"integer","minimum":1}},"description":"The contact by `email` OR `id` (exactly one)."},"MktUnsubscription":{"type":"object","additionalProperties":false,"required":["contactId","listId","status","changed"],"properties":{"contactId":{"type":"integer"},"listId":{"type":"integer"},"status":{"type":["string","null"],"enum":["unsubscribed",null],"description":"`null` when the contact was never on this list."},"changed":{"type":"boolean"}}},"MktCampaignSummary":{"type":"object","additionalProperties":false,"required":["id","listId","kind","parentId","editionDate","recurrence","name","status","subject","previewText","templateId","templateVersion","audienceCap","audienceCapBySupport","scheduledAt","timezone","approvedAt","createdAt","updatedAt"],"properties":{"id":{"type":"integer"},"listId":{"type":"integer","description":"The target list: the brand (its sending domain), the sender, the postal address of the footer, the language and the time zone come from it."},"kind":{"type":"string","enum":["single","model","edition"],"description":"`single` = a one-off campaign. `model` = the template of a weekly send: it never sends, is never approved or scheduled, and `running` means its recurrence is on (`paused` = off). `edition` = the edition of one week, created by its model as a draft with the model’s time; approving it schedules it for that time."},"parentId":{"type":["integer","null"],"description":"On an `edition`: its model. null on the others."},"editionDate":{"type":["string","null"],"format":"date","description":"On an `edition`: its day, in the model’s time zone. null on the others."},"recurrence":{"type":["object","null"],"additionalProperties":false,"required":["weekday","time","leadDays"],"description":"Only on a `model` (null on the others): the weekly time, in the model’s `timezone` (one time zone only — a `timezone` here is 400). A time that does not exist on the day the clocks change moves forward; an ambiguous one takes the first occurrence.","properties":{"weekday":{"type":"integer","minimum":1,"maximum":7,"description":"ISO day of the week: 1 = Monday … 7 = Sunday."},"time":{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$","description":"`HH:MM`, 24 h."},"leadDays":{"type":"integer","minimum":1,"maximum":6,"default":3,"description":"How many days before the time the edition is created as a draft (never less than 1 hour before it)."}}},"name":{"type":"string","description":"Internal name; never sent to anyone."},"status":{"type":"string","enum":["draft","approved","scheduled","running","paused","done","skipped","cancelled"],"description":"`draft` → `approved` (approve never sends) → `scheduled` (schedule is the gesture that sends) → `running` → `done`; `running` ⇄ `paused`; any of them → `cancelled`. `skipped` = it was scheduled and did not go out within 24 h (nothing was sent): edit it or schedule it again — or it is an `edition` that was not approved by its time (`approvedAt` null): only approve with `sendNow` sends it. Editing an `approved`, `scheduled` or `skipped` campaign takes it back to `draft`. On a `model`, `draft` → `running` (recurrence on, by activate) ⇄ `paused` → `cancelled`."},"subject":{"type":["string","null"]},"previewText":{"type":["string","null"],"description":"The preheader (the text most mail apps show after the subject)."},"templateId":{"type":["integer","null"],"description":"A published template of the account, instead of `contentMd` or `contentHtml` (then without the list layout)."},"templateVersion":{"type":["integer","null"],"description":"Pins a published version; null = the current one. Approving freezes what was checked: the version of the template (and of the list layout) current at approval is the one that goes out, even if a newer one is published later."},"audienceCap":{"type":["integer","null"],"description":"Manual cap of this edition: it only REDUCES the audience (most recent subscribers first)."},"audienceCapBySupport":{"type":"boolean","description":"true = the cap was set by our support. Changing the cap, the list, the filter or the exclusions makes it yours again."},"scheduledAt":{"type":["string","null"],"format":"date-time"},"timezone":{"type":"string","description":"The IANA time zone the campaign is scheduled in (default: the list’s)."},"approvedAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"MktContentRemoved":{"type":"object","additionalProperties":false,"description":"What the HTML sanitizer took out of `contentHtml`, by kind (only the kinds that lost something). It comes in the answer that saved the HTML; the campaign or sequence does not keep it.","properties":{"scripts":{"type":"integer","minimum":1},"styles":{"type":"integer","minimum":1},"tables":{"type":"integer","minimum":1},"media":{"type":"integer","minimum":1},"forms":{"type":"integer","minimum":1},"links":{"type":"integer","minimum":1},"images":{"type":"integer","minimum":1}}},"MktCampaign":{"type":"object","additionalProperties":false,"required":["id","listId","kind","parentId","editionDate","recurrence","name","status","subject","previewText","templateId","templateVersion","audienceCap","audienceCapBySupport","scheduledAt","timezone","approvedAt","createdAt","updatedAt","contentMd","contentHtml","fromName","fromLocal","replyTo","audienceFilter","excludeListIds"],"properties":{"id":{"type":"integer"},"listId":{"type":"integer","description":"The target list: the brand (its sending domain), the sender, the postal address of the footer, the language and the time zone come from it."},"kind":{"type":"string","enum":["single","model","edition"],"description":"`single` = a one-off campaign. `model` = the template of a weekly send: it never sends, is never approved or scheduled, and `running` means its recurrence is on (`paused` = off). `edition` = the edition of one week, created by its model as a draft with the model’s time; approving it schedules it for that time."},"parentId":{"type":["integer","null"],"description":"On an `edition`: its model. null on the others."},"editionDate":{"type":["string","null"],"format":"date","description":"On an `edition`: its day, in the model’s time zone. null on the others."},"recurrence":{"type":["object","null"],"additionalProperties":false,"required":["weekday","time","leadDays"],"description":"Only on a `model` (null on the others): the weekly time, in the model’s `timezone` (one time zone only — a `timezone` here is 400). A time that does not exist on the day the clocks change moves forward; an ambiguous one takes the first occurrence.","properties":{"weekday":{"type":"integer","minimum":1,"maximum":7,"description":"ISO day of the week: 1 = Monday … 7 = Sunday."},"time":{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$","description":"`HH:MM`, 24 h."},"leadDays":{"type":"integer","minimum":1,"maximum":6,"default":3,"description":"How many days before the time the edition is created as a draft (never less than 1 hour before it)."}}},"name":{"type":"string","description":"Internal name; never sent to anyone."},"status":{"type":"string","enum":["draft","approved","scheduled","running","paused","done","skipped","cancelled"],"description":"`draft` → `approved` (approve never sends) → `scheduled` (schedule is the gesture that sends) → `running` → `done`; `running` ⇄ `paused`; any of them → `cancelled`. `skipped` = it was scheduled and did not go out within 24 h (nothing was sent): edit it or schedule it again — or it is an `edition` that was not approved by its time (`approvedAt` null): only approve with `sendNow` sends it. Editing an `approved`, `scheduled` or `skipped` campaign takes it back to `draft`. On a `model`, `draft` → `running` (recurrence on, by activate) ⇄ `paused` → `cancelled`."},"subject":{"type":["string","null"]},"previewText":{"type":["string","null"],"description":"The preheader (the text most mail apps show after the subject)."},"templateId":{"type":["integer","null"],"description":"A published template of the account, instead of `contentMd` or `contentHtml` (then without the list layout)."},"templateVersion":{"type":["integer","null"],"description":"Pins a published version; null = the current one. Approving freezes what was checked: the version of the template (and of the list layout) current at approval is the one that goes out, even if a newer one is published later."},"audienceCap":{"type":["integer","null"],"description":"Manual cap of this edition: it only REDUCES the audience (most recent subscribers first)."},"audienceCapBySupport":{"type":"boolean","description":"true = the cap was set by our support. Changing the cap, the list, the filter or the exclusions makes it yours again."},"scheduledAt":{"type":["string","null"],"format":"date-time"},"timezone":{"type":"string","description":"The IANA time zone the campaign is scheduled in (default: the list’s)."},"approvedAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"contentMd":{"type":["string","null"],"description":"The edition in Markdown (a whitelist of tags; no raw HTML), rendered inside the list layout. Variables use the template syntax: `{{firstName|\"friend\"}}` (escaped)."},"contentHtml":{"type":["string","null"],"description":"The edition in HTML, as stored: already sanitized by the whitelist of `contentMd` (plus the link button and the image that fits) and normalized like the `contentHtml` of a campaign, rendered inside the list layout. null when the body is `contentMd` or a template."},"fromName":{"type":["string","null"],"description":"null = the list’s."},"fromLocal":{"type":["string","null"],"description":"The part before the @ of the sender; null = the list’s. The domain is always the list’s."},"replyTo":{"type":["string","null"],"description":"null = the list’s."},"audienceFilter":{"type":["string","null"],"description":"The audience filter as JSON TEXT (re-serialized as stored). null = the whole list."},"excludeListIds":{"type":"array","items":{"type":"integer"},"description":"Lists of the same brand whose active subscribers are left out."},"contentRemoved":{"$ref":"#/components/schemas/MktContentRemoved"}}},"MktCampaignInput":{"type":"object","additionalProperties":false,"required":["listId","name"],"properties":{"listId":{"type":"integer","minimum":1,"description":"A list of this account."},"name":{"type":"string","maxLength":160},"subject":{"type":["string","null"],"maxLength":500,"description":"Template syntax allowed (`{{firstName|\"friend\"}}`)."},"previewText":{"type":["string","null"],"maxLength":255},"contentMd":{"type":["string","null"],"maxLength":262144,"description":"Markdown, up to 256 KB in UTF-8 bytes. Without a default, a variable other than `email` leaves the campaign not ready (`variable_without_default`). Only one of `contentMd`, `contentHtml` and `templateId`."},"contentHtml":{"type":["string","null"],"maxLength":262144,"description":"HTML, up to 256 KB in UTF-8 bytes, before and after sanitizing. It goes through a whitelist: p, h1–h4, strong, em, code, pre, a (http, https, mailto), img (http, https), ul, ol, li, blockquote, hr and br; a link with `class=\"ovy-botao\"` goes out as a button. Scripts, CSS, tables and forms are removed, and what was removed comes back in `contentRemoved`. The same variable rules of `contentMd` apply; a variable inside a URL drops the link. Only one of `contentMd`, `contentHtml` and `templateId`. Reading returns it NORMALIZED, not as sent: `b` becomes `strong`, `i` becomes `em`, `div` becomes `p`, `h5` and `h6` become `h4`, repeated whitespace becomes one space, the whitespace at the edge of a link, bold or italic moves outside it, and `{`, `}` and `'` come out as entities (`&#123;`, `&#125;`, `&#39;`). In a variable tag the default comes back with `&`, `<` and `>` as entities: `{{firstName|\"Tom & Jerry\"}}` comes back as `{{firstName|\"Tom &amp; Jerry\"}}` (the email shows `Tom & Jerry`). Sending the value back as it came gives the same result. A brace written as an entity (`&#123;&#123;name&#125;&#125;`, `&lbrace;`, `&lcub;`, `&#x7B;`…) is TEXT, never a variable: it is preserved and the email shows `{{name}}` (a raw brace next to an entity one, `{&#123;name}}`, is `400 invalid_content`). A variable in an image `alt` stays and goes out with attribute escaping (it comes back in single quotes: `alt='{{name}}'`); loops and conditions in an `alt` are removed."},"templateId":{"type":["integer","null"],"minimum":1},"templateVersion":{"type":["integer","null"],"minimum":1},"fromName":{"type":["string","null"],"maxLength":120,"description":"Without `<`, `>` or `\"`."},"fromLocal":{"type":["string","null"],"maxLength":64,"description":"Lowercase letters, digits and `._+-`. ASCII only — otherwise 400 invalid_sender with `reason: address_not_ascii`."},"replyTo":{"type":["string","null"],"maxLength":190,"description":"ASCII only (an IDN domain in xn-- form) — otherwise 400 invalid_sender with `reason: address_not_ascii`."},"audienceFilter":{"type":["string","null"],"maxLength":65536,"description":"The filter as JSON TEXT (a string), at most 64 KB — the size is checked BEFORE the text is parsed (`400 filter_too_large`). Example: `\"{\\\"all\\\":[{\\\"kind\\\":\\\"tag\\\",\\\"op\\\":\\\"has\\\",\\\"tag\\\":\\\"vip\\\"}]}\"`. null = the whole list."},"excludeListIds":{"type":["array","null"],"maxItems":20,"items":{"type":"integer","minimum":1},"description":"Lists of the SAME brand; up to 20."},"audienceCap":{"type":["integer","null"],"minimum":1,"maximum":10000000},"timezone":{"type":"string","maxLength":64,"description":"IANA (`America/New_York`). Default: the list’s. On a `model`, the time zone of its recurrence."},"kind":{"type":"string","enum":["single","model"],"default":"single","description":"Only on creation: `model` = the template of a weekly send (see `recurrence` and POST /v1/campaigns/{id}/activate). An `edition` is created by its model, never here (400 bad_request with `field: \"kind\"`); on PATCH `kind` is 400."},"recurrence":{"type":["object","null"],"additionalProperties":false,"required":["weekday","time","leadDays"],"description":"Only on a `model` (400 bad_request with `field` otherwise, e.g. `recurrence.timezone`). Editing it does not change the editions already created; a model that is on (or paused) keeps one.","properties":{"weekday":{"type":"integer","minimum":1,"maximum":7,"description":"ISO day of the week: 1 = Monday … 7 = Sunday."},"time":{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$","description":"`HH:MM`, 24 h."},"leadDays":{"type":"integer","minimum":1,"maximum":6,"default":3,"description":"How many days before the time the edition is created as a draft (never less than 1 hour before it)."}}}},"description":"Closed: an unknown field is 400 bad_request with `field`."},"MktCampaignPatch":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"listId":{"type":"integer","minimum":1,"description":"A list of this account."},"name":{"type":"string","maxLength":160},"subject":{"type":["string","null"],"maxLength":500,"description":"Template syntax allowed (`{{firstName|\"friend\"}}`)."},"previewText":{"type":["string","null"],"maxLength":255},"contentMd":{"type":["string","null"],"maxLength":262144,"description":"Markdown, up to 256 KB in UTF-8 bytes. Without a default, a variable other than `email` leaves the campaign not ready (`variable_without_default`). Only one of `contentMd`, `contentHtml` and `templateId`."},"contentHtml":{"type":["string","null"],"maxLength":262144,"description":"HTML, up to 256 KB in UTF-8 bytes, before and after sanitizing. It goes through a whitelist: p, h1–h4, strong, em, code, pre, a (http, https, mailto), img (http, https), ul, ol, li, blockquote, hr and br; a link with `class=\"ovy-botao\"` goes out as a button. Scripts, CSS, tables and forms are removed, and what was removed comes back in `contentRemoved`. The same variable rules of `contentMd` apply; a variable inside a URL drops the link. Only one of `contentMd`, `contentHtml` and `templateId`. Reading returns it NORMALIZED, not as sent: `b` becomes `strong`, `i` becomes `em`, `div` becomes `p`, `h5` and `h6` become `h4`, repeated whitespace becomes one space, the whitespace at the edge of a link, bold or italic moves outside it, and `{`, `}` and `'` come out as entities (`&#123;`, `&#125;`, `&#39;`). In a variable tag the default comes back with `&`, `<` and `>` as entities: `{{firstName|\"Tom & Jerry\"}}` comes back as `{{firstName|\"Tom &amp; Jerry\"}}` (the email shows `Tom & Jerry`). Sending the value back as it came gives the same result. A brace written as an entity (`&#123;&#123;name&#125;&#125;`, `&lbrace;`, `&lcub;`, `&#x7B;`…) is TEXT, never a variable: it is preserved and the email shows `{{name}}` (a raw brace next to an entity one, `{&#123;name}}`, is `400 invalid_content`). A variable in an image `alt` stays and goes out with attribute escaping (it comes back in single quotes: `alt='{{name}}'`); loops and conditions in an `alt` are removed."},"templateId":{"type":["integer","null"],"minimum":1},"templateVersion":{"type":["integer","null"],"minimum":1},"fromName":{"type":["string","null"],"maxLength":120,"description":"Without `<`, `>` or `\"`."},"fromLocal":{"type":["string","null"],"maxLength":64,"description":"Lowercase letters, digits and `._+-`. ASCII only — otherwise 400 invalid_sender with `reason: address_not_ascii`."},"replyTo":{"type":["string","null"],"maxLength":190,"description":"ASCII only (an IDN domain in xn-- form) — otherwise 400 invalid_sender with `reason: address_not_ascii`."},"audienceFilter":{"type":["string","null"],"maxLength":65536,"description":"The filter as JSON TEXT (a string), at most 64 KB — the size is checked BEFORE the text is parsed (`400 filter_too_large`). Example: `\"{\\\"all\\\":[{\\\"kind\\\":\\\"tag\\\",\\\"op\\\":\\\"has\\\",\\\"tag\\\":\\\"vip\\\"}]}\"`. null = the whole list."},"excludeListIds":{"type":["array","null"],"maxItems":20,"items":{"type":"integer","minimum":1},"description":"Lists of the SAME brand; up to 20."},"audienceCap":{"type":["integer","null"],"minimum":1,"maximum":10000000},"timezone":{"type":"string","maxLength":64,"description":"IANA (`America/New_York`). Default: the list’s. On a `model`, the time zone of its recurrence."},"kind":{"type":"string","enum":["single","model"],"default":"single","description":"Only on creation: `model` = the template of a weekly send (see `recurrence` and POST /v1/campaigns/{id}/activate). An `edition` is created by its model, never here (400 bad_request with `field: \"kind\"`); on PATCH `kind` is 400."},"recurrence":{"type":["object","null"],"additionalProperties":false,"required":["weekday","time","leadDays"],"description":"Only on a `model` (400 bad_request with `field` otherwise, e.g. `recurrence.timezone`). Editing it does not change the editions already created; a model that is on (or paused) keeps one.","properties":{"weekday":{"type":"integer","minimum":1,"maximum":7,"description":"ISO day of the week: 1 = Monday … 7 = Sunday."},"time":{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$","description":"`HH:MM`, 24 h."},"leadDays":{"type":"integer","minimum":1,"maximum":6,"default":3,"description":"How many days before the time the edition is created as a draft (never less than 1 hour before it)."}}}},"description":"Only the fields you send change (null clears a field). Closed: an unknown field is 400 bad_request with `field`; an empty body is 400."},"MktCampaignList":{"type":"object","additionalProperties":false,"required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MktCampaignSummary"}},"next_cursor":{"type":["string","null"]}}},"MktCampaignUpdated":{"type":"object","additionalProperties":false,"required":["campaign","returnedToDraft"],"properties":{"contentRemoved":{"$ref":"#/components/schemas/MktContentRemoved"},"campaign":{"$ref":"#/components/schemas/MktCampaign"},"returnedToDraft":{"type":"boolean","description":"true = it was approved, scheduled or skipped, and editing took it back to `draft`: approve and schedule it again."}}},"MktProblem":{"type":"string","enum":["missing_subject","missing_content","variable_without_default","list_missing_postal_address","links_on_platform_host","domain_not_verified","empty_audience","audience_check_inconclusive","schedule_outside_window","invalid_sender","no_marketing_ip","approval_lock","brand_under_review","delivery_route_closed","outcome_tracking_delayed","tracking_host_without_tls","spf_missing_ip","spf_not_checked","footer_not_guaranteed","aweber_merge_tag","this_outside_loop","loop_never_repeats"],"description":"What keeps the campaign from going out. The list is closed: a new value is announced in the changelog."},"MktProblemReasons":{"type":"object","additionalProperties":false,"description":"The finer cause of a problem that has more than one, keyed by the problem; empty when none applies. `footer_not_guaranteed: html_too_large` — the email goes over 100 KB (100,000 bytes of the HTML part as it is sent, quoted-printable or base64: accents and emoji weigh up to about 2.4 times their bytes) once its links are tracked and the footer is composed: Gmail clips it and the required footer disappears, so it does not go out; reduce the HTML. The `css_*` reasons — the layout or template CSS would hide the required footer, so nothing goes out until it is removed: `css_on_html_body` (on `<html>`/`<body>` only color, background, font, text, margin, border and width are allowed; a blend mode, `content`, an animation, a line through the text or a `max-width` narrower than 320px are not), `css_positioning` (`position: absolute|fixed|sticky`, an offset such as `top`, or a positive `z-index`), `css_negative_margin`, `css_transform` (`transform`, `translate`, `rotate`, `scale`, `offset-path`), `css_outline` (wider than 4px), `css_external_stylesheet` (`@import` or `<link rel=\"stylesheet\">`: an external stylesheet cannot be checked), `css_unsupported_rule` (an `@` rule outside `@media`, `@supports`, `@container`, `@layer`, `@scope`, `@font-face` and `@keyframes`), `css_outlook_hide` (`mso-hide` in a stylesheet that reaches the footer, or on `<html>`/`<body>`).","properties":{"footer_not_guaranteed":{"type":"string","enum":["html_too_large","css_on_html_body","css_positioning","css_negative_margin","css_transform","css_outline","css_external_stylesheet","css_unsupported_rule","css_outlook_hide"]}}},"MktReadinessItem":{"type":"object","additionalProperties":false,"required":["name","state","owner","effect","detail","numbers"],"description":"One prerequisite of the BRAND (the list’s sending domain). Only `state: blocking` blocks; `inconclusive` is «could not tell» (never «ok»).","properties":{"name":{"type":"string","enum":["domain_verified","tracking_host","tracking_host_caa","tracking_host_tls","marketing_ips","provider_coverage","delivery_route","spf_covers_ips","approval_lock","daily_capacity","brand_review","outcome_tracking"]},"state":{"type":"string","enum":["ok","warning","blocking","inconclusive"]},"owner":{"type":"string","enum":["account","staff","automatic"],"description":"`account` = you fix it (Domains, Tracking, Policies); `staff` = our support team fixes it (ask them); `automatic` = it fixes itself."},"effect":{"type":"string","enum":["blocking","warning"],"description":"What this item does when it fails."},"detail":{"type":["string","null"],"enum":["verified","not_verified","brand_host","platform_host","no_tracking_host","certificate_ok","host_does_not_resolve","host_points_inside","certificate_invalid","no_answer","check_limit_reached","not_checked_yet","caa_blocks_letsencrypt","caa_allows_letsencrypt","no_caa","dns_no_answer","has_ips","no_ips","no_domain","provider_without_ip","providers_covered","sender_mode","direct_delivery","balanced","spf_missing_ip","spf_ok","spf_not_checked","held","clear","lower_cap_applies","brand_limit","under_review","up_to_date","stalled",null]},"numbers":{"type":["object","null"],"additionalProperties":false,"description":"Only on the items you fix (`domain_verified`, `tracking_host`, `tracking_host_caa`) and on `daily_capacity`.","properties":{"domain":{"type":"string"},"host":{"type":"string"},"foundAt":{"type":["string","null"],"description":"Where the CAA record that leaves Let’s Encrypt out was found."},"issuers":{"type":"array","items":{"type":"string"}},"capacity":{"type":["integer","null"],"description":"How many can go out today by the brand’s daily limit and your account’s own caps (domain warmup, quotas, rate); null = no cap. The platform’s shared marketing sending capacity is not counted: its headroom is not disclosed, and a campaign waiting for it pauses with `ip_capacity`."},"limitedBy":{"type":["string","null"],"enum":["brand","warmup","daily_quota","monthly_quota","rate_limit",null]},"brandRemaining":{"type":["integer","null"],"description":"What is left of the brand’s daily limit."}}}}},"MktCampaignCheckInput":{"type":"object","additionalProperties":false,"properties":{"probe":{"type":"boolean","description":"true = run the external checks now (the TLS certificate and the CAA of the tracking host, the SPF of the return path) — the «Check now» of the panel. At most 20 per account per 10 minutes, the results kept for 10 minutes; without it, the last results are read."}}},"MktCampaignCheck":{"type":"object","additionalProperties":false,"required":["problems","problemReasons","ready","audience","audienceError","schedule","readiness"],"properties":{"problems":{"type":"array","items":{"$ref":"#/components/schemas/MktProblem"}},"problemReasons":{"$ref":"#/components/schemas/MktProblemReasons"},"ready":{"type":"boolean"},"audience":{"type":["integer","null"],"description":"Subscribers the edition would reach now. null = not counted this time (the count is limited to 30 per account per minute, and to 5 s)."},"audienceError":{"type":["string","null"],"enum":["invalid_filter","filter_too_large","filter_too_slow","unknown_tag","unknown_property","list_not_found","rate_limited","busy",null],"description":"Why the audience could not be read: with the problem `audience_check_inconclusive` (`rate_limited`: the 30 checks per account per minute; `filter_too_slow`: the time limit; `busy`: too many audience checks of the account running at the same time, retry in a moment) or `empty_audience` (the filter)."},"schedule":{"type":"object","additionalProperties":false,"required":["dailyLimit","sentToday","warmed","estimatedDays"],"description":"The brand warms up by spreading an edition over days (most recent subscribers first).","properties":{"dailyLimit":{"type":["integer","null"],"description":"The brand’s limit today; null = none."},"sentToday":{"type":"integer"},"warmed":{"type":"boolean"},"estimatedDays":{"type":["integer","null"],"description":"In how many days this edition goes out; null = it cannot go out under today’s caps."}}},"readiness":{"type":"array","items":{"$ref":"#/components/schemas/MktReadinessItem"}}}},"MktPreviewInput":{"type":"object","additionalProperties":false,"required":["to"],"properties":{"to":{"type":"string","maxLength":190,"description":"The verified email of an ACTIVE user of this account (a portal user with a role here). Anyone else is 400 preview_recipient_not_allowed — with `reason: address_not_ascii` when the address has a character outside ASCII."},"contactId":{"type":["integer","null"],"minimum":1,"description":"A contact whose data fills the variables; without it, the defaults apply. The contact receives nothing."}}},"MktPreviewSent":{"type":"object","additionalProperties":false,"required":["messageId"],"properties":{"messageId":{"type":["string","null"],"format":"uuid","description":"The preview message (GET /v1/messages/{uuid})."}}},"MktRehearsalStarted":{"type":"object","additionalProperties":false,"required":["runId"],"properties":{"runId":{"type":"integer","description":"The rehearsal run: everything except sending. Its result is in `rehearsal` of the report."}}},"MktCampaignState":{"type":"object","additionalProperties":false,"required":["id","status"],"properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["draft","approved","scheduled","running","paused","done","skipped","cancelled"],"description":"`draft` → `approved` (approve never sends) → `scheduled` (schedule is the gesture that sends) → `running` → `done`; `running` ⇄ `paused`; any of them → `cancelled`. `skipped` = it was scheduled and did not go out within 24 h (nothing was sent): edit it or schedule it again — or it is an `edition` that was not approved by its time (`approvedAt` null): only approve with `sendNow` sends it. Editing an `approved`, `scheduled` or `skipped` campaign takes it back to `draft`. On a `model`, `draft` → `running` (recurrence on, by activate) ⇄ `paused` → `cancelled`."}}},"MktApproveInput":{"type":"object","additionalProperties":false,"properties":{"sendNow":{"type":"boolean","description":"Only on an `edition` that was skipped (not approved by its time): approve it and send it NOW — until the next edition of its model (409 edition_superseded after that)."}}},"MktCampaignApproved":{"type":"object","additionalProperties":false,"required":["id","status"],"properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["approved","scheduled"],"description":"`approved` for a one-off campaign (schedule it next); `scheduled` for an `edition` (approving it schedules it for its time) or with `sendNow`."},"scheduledAt":{"type":"string","format":"date-time","description":"Only when `scheduled`."},"timezone":{"type":"string","description":"Only when `scheduled`."}}},"MktModelActivated":{"type":"object","additionalProperties":false,"required":["id","status","next"],"properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["running"]},"next":{"type":["object","null"],"additionalProperties":false,"required":["scheduledAt","editionDate"],"description":"The next edition: its time and day. Its draft is created `leadDays` before it.","properties":{"scheduledAt":{"type":"string","format":"date-time"},"editionDate":{"type":"string","format":"date"}}}}},"MktScheduleInput":{"type":"object","additionalProperties":false,"required":["scheduledAt"],"properties":{"scheduledAt":{"type":"string","maxLength":40,"description":"`\"now\"`, an ISO 8601 instant with offset (`2026-11-03T14:00:00Z`), or a local time without offset (`2026-11-03T09:00`) read in `timezone`. From 5 minutes ago up to a year ahead."},"timezone":{"type":["string","null"],"maxLength":64,"description":"IANA; default: the campaign’s."}}},"MktCampaignScheduled":{"type":"object","additionalProperties":false,"required":["id","status","scheduledAt","timezone"],"properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["scheduled"]},"scheduledAt":{"type":"string","format":"date-time"},"timezone":{"type":"string"}}},"MktCampaignCancelled":{"type":"object","additionalProperties":false,"required":["id","status","skipped","runId"],"properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["cancelled"]},"skipped":{"type":"integer","description":"Recipients still waiting that will not receive it (`campaign_stopped`)."},"runId":{"type":["integer","null"]},"editionsCancelled":{"type":"integer","description":"Only on a `model`: its `draft` editions, cancelled with it (an approved one stays)."}}},"MktCampaignReport":{"type":"object","additionalProperties":false,"required":["campaign","run","outcome","rates","skippedByReason","tracking","rehearsal","rehearsals"],"description":"From the counters of the run: the same after a contact is deleted.","properties":{"campaign":{"type":"object","additionalProperties":false,"required":["id","name","status"],"properties":{"id":{"type":"integer"},"name":{"type":"string"},"status":{"type":"string","enum":["draft","approved","scheduled","running","paused","done","skipped","cancelled"],"description":"`draft` → `approved` (approve never sends) → `scheduled` (schedule is the gesture that sends) → `running` → `done`; `running` ⇄ `paused`; any of them → `cancelled`. `skipped` = it was scheduled and did not go out within 24 h (nothing was sent): edit it or schedule it again — or it is an `edition` that was not approved by its time (`approvedAt` null): only approve with `sendNow` sends it. Editing an `approved`, `scheduled` or `skipped` campaign takes it back to `draft`. On a `model`, `draft` → `running` (recurrence on, by activate) ⇄ `paused` → `cancelled`."}}},"run":{"type":["object","null"],"additionalProperties":false,"required":["id","status","rehearsal","audience","cap","sent","queued","inFlight","skipped","failed","rehearsed","pauseReason","errorCode","resumeAt","startedAt","finishedAt"],"description":"The execution. null = it never ran (no real run yet).","properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["pending","running","paused","done","failed","cancelled"]},"rehearsal":{"type":"boolean"},"audience":{"type":"integer","description":"The snapshot: who the edition goes to."},"cap":{"type":["integer","null"]},"sent":{"type":"integer"},"queued":{"type":"integer","description":"Still waiting in the snapshot (sent over the next days while the brand warms up)."},"inFlight":{"type":"integer"},"skipped":{"type":"integer"},"failed":{"type":"integer"},"rehearsed":{"type":"integer"},"pauseReason":{"type":["string","null"],"enum":["rate_limit","warmup","bounce_threshold","complaint_threshold","manual","no_marketing_ip","unstable","daily_limit","brand_under_review","delivery_route_closed","queue_backpressure","outcome_tracking_delayed","list_missing_postal_address","sender_changed","ip_capacity",null],"description":"`bounce_threshold` / `complaint_threshold` = paused by the safety thresholds: only our support resumes it (409 paused_for_review). `daily_limit` = waiting for tomorrow’s share of the brand; `queue_backpressure`, `outcome_tracking_delayed`, `delivery_route_closed`, `ip_capacity` (today’s marketing sending capacity for the brand ran out before its daily limit), `unstable`, `rate_limit`, `warmup`: it waits and resumes by itself. `list_missing_postal_address` = the list has no postal address, which the footer of every campaign message carries: nothing goes out until you fill it in, then it resumes by itself. `sender_changed` = the list sender or reply-to changed after the approval: check it and resume (`POST /campaigns/{id}/resume`), and it goes on with the current sender. `manual` = paused by a person."},"errorCode":{"type":["string","null"],"enum":["held","quota","content","account","unknown","manual","too_many_refusals","superseded","this_outside_loop","loop_never_repeats",null],"description":"Why it stopped for good (`manual` = cancelled)."},"resumeAt":{"type":["string","null"],"format":"date-time"},"startedAt":{"type":["string","null"],"format":"date-time"},"finishedAt":{"type":["string","null"],"format":"date-time"}}},"outcome":{"type":["object","null"],"additionalProperties":false,"required":["delivered","bounced","hardBounced","routeFailures","ipBlocks","complaints","unsubscribes","opens","clicks","inTransit"],"description":"What happened to the messages sent (null = no real run). `hardBounced` is the part of `bounced` that is permanent for the address (the contact leaves the list); a refusal for message size or for a full mailbox is never hard — it counts in `bounced` only. `routeFailures` are failures on OUR side (no route for marketing, injection, or the recipient server refusing our sending servers for their reputation): not bounces, and they never count against the brand or the contact. `ipBlocks` is the part of `routeFailures` that was a reputation block of our sending servers (a block list such as Spamhaus, or Microsoft S3140). Opens are an estimate (some mail apps open by themselves).","properties":{"delivered":{"type":"integer"},"bounced":{"type":"integer"},"hardBounced":{"type":"integer"},"routeFailures":{"type":"integer"},"ipBlocks":{"type":"integer"},"complaints":{"type":"integer"},"unsubscribes":{"type":"integer"},"opens":{"type":"integer"},"clicks":{"type":"integer"},"inTransit":{"type":"integer"}}},"rates":{"type":["object","null"],"additionalProperties":false,"required":["delivery","bounce","complaint","unsubscribe","open","click"],"description":"Fractions from 0 to 1 (4 decimals); null = nothing to divide by. delivery, bounce, complaint and unsubscribe are over `sent`; open and click over `delivered`.","properties":{"delivery":{"type":["number","null"],"minimum":0,"maximum":1},"bounce":{"type":["number","null"],"minimum":0,"maximum":1},"complaint":{"type":["number","null"],"minimum":0,"maximum":1},"unsubscribe":{"type":["number","null"],"minimum":0,"maximum":1},"open":{"type":["number","null"],"minimum":0,"maximum":1},"click":{"type":["number","null"],"minimum":0,"maximum":1}}},"skippedByReason":{"type":"object","additionalProperties":false,"description":"Skipped recipients by reason (only the reasons that happened).","properties":{"unsubscribed":{"type":"integer"},"pending":{"type":"integer"},"removed":{"type":"integer"},"suppressed":{"type":"integer"},"campaign_stopped":{"type":"integer"},"render_failed":{"type":"integer"},"rejected":{"type":"integer"},"unknown":{"type":"integer"}}},"tracking":{"type":"object","additionalProperties":false,"required":["opens","clicks"],"description":"Whether the list tracks opens and clicks — off means zero, not «nobody opened».","properties":{"opens":{"type":"boolean"},"clicks":{"type":"boolean"}}},"rehearsal":{"type":["object","null"],"additionalProperties":false,"required":["run","outcome","rates","skippedByReason","tracking"],"description":"The LAST rehearsal (outcome and rates are zero: a rehearsal sends nothing).","properties":{"run":{"type":["object","null"],"additionalProperties":false,"required":["id","status","rehearsal","audience","cap","sent","queued","inFlight","skipped","failed","rehearsed","pauseReason","errorCode","resumeAt","startedAt","finishedAt"],"description":"The execution. null = it never ran (no real run yet).","properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["pending","running","paused","done","failed","cancelled"]},"rehearsal":{"type":"boolean"},"audience":{"type":"integer","description":"The snapshot: who the edition goes to."},"cap":{"type":["integer","null"]},"sent":{"type":"integer"},"queued":{"type":"integer","description":"Still waiting in the snapshot (sent over the next days while the brand warms up)."},"inFlight":{"type":"integer"},"skipped":{"type":"integer"},"failed":{"type":"integer"},"rehearsed":{"type":"integer"},"pauseReason":{"type":["string","null"],"enum":["rate_limit","warmup","bounce_threshold","complaint_threshold","manual","no_marketing_ip","unstable","daily_limit","brand_under_review","delivery_route_closed","queue_backpressure","outcome_tracking_delayed","list_missing_postal_address","sender_changed","ip_capacity",null],"description":"`bounce_threshold` / `complaint_threshold` = paused by the safety thresholds: only our support resumes it (409 paused_for_review). `daily_limit` = waiting for tomorrow’s share of the brand; `queue_backpressure`, `outcome_tracking_delayed`, `delivery_route_closed`, `ip_capacity` (today’s marketing sending capacity for the brand ran out before its daily limit), `unstable`, `rate_limit`, `warmup`: it waits and resumes by itself. `list_missing_postal_address` = the list has no postal address, which the footer of every campaign message carries: nothing goes out until you fill it in, then it resumes by itself. `sender_changed` = the list sender or reply-to changed after the approval: check it and resume (`POST /campaigns/{id}/resume`), and it goes on with the current sender. `manual` = paused by a person."},"errorCode":{"type":["string","null"],"enum":["held","quota","content","account","unknown","manual","too_many_refusals","superseded","this_outside_loop","loop_never_repeats",null],"description":"Why it stopped for good (`manual` = cancelled)."},"resumeAt":{"type":["string","null"],"format":"date-time"},"startedAt":{"type":["string","null"],"format":"date-time"},"finishedAt":{"type":["string","null"],"format":"date-time"}}},"outcome":{"type":["object","null"],"additionalProperties":false,"required":["delivered","bounced","hardBounced","routeFailures","ipBlocks","complaints","unsubscribes","opens","clicks","inTransit"],"description":"What happened to the messages sent (null = no real run). `hardBounced` is the part of `bounced` that is permanent for the address (the contact leaves the list); a refusal for message size or for a full mailbox is never hard — it counts in `bounced` only. `routeFailures` are failures on OUR side (no route for marketing, injection, or the recipient server refusing our sending servers for their reputation): not bounces, and they never count against the brand or the contact. `ipBlocks` is the part of `routeFailures` that was a reputation block of our sending servers (a block list such as Spamhaus, or Microsoft S3140). Opens are an estimate (some mail apps open by themselves).","properties":{"delivered":{"type":"integer"},"bounced":{"type":"integer"},"hardBounced":{"type":"integer"},"routeFailures":{"type":"integer"},"ipBlocks":{"type":"integer"},"complaints":{"type":"integer"},"unsubscribes":{"type":"integer"},"opens":{"type":"integer"},"clicks":{"type":"integer"},"inTransit":{"type":"integer"}}},"rates":{"type":["object","null"],"additionalProperties":false,"required":["delivery","bounce","complaint","unsubscribe","open","click"],"description":"Fractions from 0 to 1 (4 decimals); null = nothing to divide by. delivery, bounce, complaint and unsubscribe are over `sent`; open and click over `delivered`.","properties":{"delivery":{"type":["number","null"],"minimum":0,"maximum":1},"bounce":{"type":["number","null"],"minimum":0,"maximum":1},"complaint":{"type":["number","null"],"minimum":0,"maximum":1},"unsubscribe":{"type":["number","null"],"minimum":0,"maximum":1},"open":{"type":["number","null"],"minimum":0,"maximum":1},"click":{"type":["number","null"],"minimum":0,"maximum":1}}},"skippedByReason":{"type":"object","additionalProperties":false,"description":"Skipped recipients by reason (only the reasons that happened).","properties":{"unsubscribed":{"type":"integer"},"pending":{"type":"integer"},"removed":{"type":"integer"},"suppressed":{"type":"integer"},"campaign_stopped":{"type":"integer"},"render_failed":{"type":"integer"},"rejected":{"type":"integer"},"unknown":{"type":"integer"}}},"tracking":{"type":"object","additionalProperties":false,"required":["opens","clicks"],"description":"Whether the list tracks opens and clicks — off means zero, not «nobody opened».","properties":{"opens":{"type":"boolean"},"clicks":{"type":"boolean"}}}}},"rehearsals":{"type":"integer"}}},"MktSequenceNode":{"type":"object","additionalProperties":false,"required":["typeName"],"description":"One node. `ListTrigger` (root only; the payload is `{}`): someone subscribed to the sequence’s list, or confirmed a double opt-in. `TagTrigger` (root only; `{tagId}`): someone subscribed to the list got the tag. `SendEmailAction` (`{subject, previewText, contentMd}`: Markdown inside the list layout, like campaigns). `TimerAction` (`{amount, unit, at?}`: `unit` `m`, `h` or `d`, up to a year; `at` `HH:MM` only with days — «3 days at 09:00» is the 3rd calendar day at 09:00 in the sequence’s `timezone`, also across daylight saving changes). `ExitAction` (`{}`). An import never triggers a sequence. `BranchNode`, `AudienceFilter` and `ExperimentBranchNode` are not supported yet (400 unsupported_node).","properties":{"typeName":{"type":"string","enum":["ListTrigger","TagTrigger","SendEmailAction","TimerAction","ExitAction"]},"nextNodeIds":{"type":"array","maxItems":1,"items":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_-]{0,15}$"},"description":"The next node (one: the first version is linear); empty on the `ExitAction`."},"payload":{"type":"object","additionalProperties":false,"properties":{"tagId":{"type":"integer","minimum":1},"subject":{"type":["string","null"],"maxLength":500},"previewText":{"type":["string","null"],"maxLength":255},"contentMd":{"type":["string","null"],"maxLength":262144,"description":"Markdown, up to 256 KB in UTF-8 bytes. Without a default, a variable other than `email` keeps the sequence from starting (`variable_without_default`)."},"contentHtml":{"type":["string","null"],"maxLength":262144,"description":"Instead of `contentMd`, never both: HTML, up to 256 KB in UTF-8 bytes, stored already sanitized by the whitelist of campaigns (`contentHtml` of a campaign) and returned normalized like it; sending it back as it came gives the same result. Absent from the emails written in Markdown."},"amount":{"type":"integer","minimum":0,"maximum":525600},"unit":{"type":"string","enum":["m","h","d"]},"at":{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$"}}}}},"MktSequenceGraph":{"type":"object","additionalProperties":false,"required":["rootId","nodeDataById"],"description":"The Loops graph format. Linear: the root is a trigger (and only it), each node has at most one next node, every path ends with an email right before the `ExitAction`, no cycle, no unreachable node, up to 50 nodes and 512 KB. Node ids start with a letter (letters, digits, `_`, `-`; up to 16).","properties":{"rootId":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_-]{0,15}$"},"idCounter":{"type":"integer","minimum":0,"maximum":1000000,"description":"The counter your builder uses for new node ids; never below the highest `n<k>` in use."},"nodeDataById":{"type":"object","maxProperties":50,"additionalProperties":{"$ref":"#/components/schemas/MktSequenceNode"},"description":"The nodes by id (up to 50)."}}},"MktSequenceSummary":{"type":"object","additionalProperties":false,"required":["id","listId","name","status","trigger","reEligible","revision","timezone","pauseReason","activatedAt","stoppedAt","createdAt","updatedAt"],"properties":{"id":{"type":"integer"},"listId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"string","enum":["draft","active","paused","stopped"],"description":"`draft` → `active` (start: checks everything and turns it on — it is the gesture that sends) ⇄ `paused` (nobody gets the next email; who is in it stays at the same step, and whoever subscribes meanwhile waits at the start); any of them → `stopped` (whoever was waiting leaves, nobody else enters; it does not come back). Paused: whoever enters waits. Stopped: nobody else enters. Editing the content needs `draft` or `paused`."},"trigger":{"type":"object","additionalProperties":false,"required":["kind","tagId"],"properties":{"kind":{"type":"string","enum":["list_subscribed","tag_added"]},"tagId":{"type":["integer","null"]}},"description":"Copied from the root node."},"reEligible":{"type":"boolean","description":"true = someone who finished can enter again on the next trigger (never while still in it)."},"revision":{"type":"integer","description":"Goes up on every save. PATCH sends the revision it read: another one is 409 changed."},"timezone":{"type":"string","description":"IANA: the time zone of the waits with a time of day (`at`)."},"pauseReason":{"type":["string","null"],"enum":["manual","held","quota","content","account","unknown","sender_changed",null],"description":"Only when `paused`. `manual` = paused by a person; `held` = the account holds sending (an approval lock or a hold policy); `quota` = the monthly quota ran out; `content` / `account` = sending refused an email’s content or the account; `sender_changed` = the list sender or reply-to changed after it was turned on; `unknown`. Fix it and start it again."},"activatedAt":{"type":["string","null"],"format":"date-time"},"stoppedAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"MktSequence":{"type":"object","additionalProperties":false,"required":["id","listId","name","status","trigger","reEligible","revision","timezone","pauseReason","activatedAt","stoppedAt","createdAt","updatedAt","graph"],"properties":{"id":{"type":"integer"},"listId":{"type":"integer"},"name":{"type":"string"},"status":{"type":"string","enum":["draft","active","paused","stopped"],"description":"`draft` → `active` (start: checks everything and turns it on — it is the gesture that sends) ⇄ `paused` (nobody gets the next email; who is in it stays at the same step, and whoever subscribes meanwhile waits at the start); any of them → `stopped` (whoever was waiting leaves, nobody else enters; it does not come back). Paused: whoever enters waits. Stopped: nobody else enters. Editing the content needs `draft` or `paused`."},"trigger":{"type":"object","additionalProperties":false,"required":["kind","tagId"],"properties":{"kind":{"type":"string","enum":["list_subscribed","tag_added"]},"tagId":{"type":["integer","null"]}},"description":"Copied from the root node."},"reEligible":{"type":"boolean","description":"true = someone who finished can enter again on the next trigger (never while still in it)."},"revision":{"type":"integer","description":"Goes up on every save. PATCH sends the revision it read: another one is 409 changed."},"timezone":{"type":"string","description":"IANA: the time zone of the waits with a time of day (`at`)."},"pauseReason":{"type":["string","null"],"enum":["manual","held","quota","content","account","unknown","sender_changed",null],"description":"Only when `paused`. `manual` = paused by a person; `held` = the account holds sending (an approval lock or a hold policy); `quota` = the monthly quota ran out; `content` / `account` = sending refused an email’s content or the account; `sender_changed` = the list sender or reply-to changed after it was turned on; `unknown`. Fix it and start it again."},"activatedAt":{"type":["string","null"],"format":"date-time"},"stoppedAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"contentRemoved":{"$ref":"#/components/schemas/MktContentRemoved"},"graph":{"$ref":"#/components/schemas/MktSequenceGraph"}}},"MktSequenceInput":{"type":"object","additionalProperties":false,"required":["listId","name"],"properties":{"listId":{"type":"integer","minimum":1,"description":"The list: sender, footer, language and brand are its own; the list trigger fires on it. It changes only before the sequence is first turned on."},"name":{"type":"string","maxLength":160},"graph":{"$ref":"#/components/schemas/MktSequenceGraph"},"timezone":{"type":"string","maxLength":64,"description":"IANA; default: the list’s."},"reEligible":{"type":"boolean"}},"description":"Closed: an unknown field is 400 bad_request with `field`. Without `graph`: list trigger → one blank email → exit."},"MktSequencePatch":{"type":"object","additionalProperties":false,"required":["revision"],"minProperties":2,"properties":{"revision":{"type":"integer","minimum":1,"description":"The revision you read."},"listId":{"type":"integer","minimum":1,"description":"The list: sender, footer, language and brand are its own; the list trigger fires on it. It changes only before the sequence is first turned on."},"name":{"type":"string","maxLength":160},"graph":{"$ref":"#/components/schemas/MktSequenceGraph"},"timezone":{"type":"string","maxLength":64,"description":"IANA; default: the list’s."},"reEligible":{"type":"boolean"}},"description":"The `revision` you read and what changes. Off (`draft`/`paused`) everything changes; while `active` only `name`."},"MktSequenceList":{"type":"object","additionalProperties":false,"required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MktSequenceSummary"}},"next_cursor":{"type":["string","null"]}}},"MktSequenceState":{"type":"object","additionalProperties":false,"required":["id","status"],"properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["draft","active","paused","stopped"],"description":"`draft` → `active` (start: checks everything and turns it on — it is the gesture that sends) ⇄ `paused` (nobody gets the next email; who is in it stays at the same step, and whoever subscribes meanwhile waits at the start); any of them → `stopped` (whoever was waiting leaves, nobody else enters; it does not come back). Paused: whoever enters waits. Stopped: nobody else enters. Editing the content needs `draft` or `paused`."}}},"MktSequenceStopped":{"type":"object","additionalProperties":false,"required":["id","status","cancelled"],"properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["stopped"]},"cancelled":{"type":"integer","description":"People who were waiting and left the sequence now (`stopped`); the rest, if any, within minutes."}}},"MktSequenceProblem":{"type":"object","additionalProperties":false,"required":["code","nodeId"],"properties":{"code":{"type":"string","enum":["missing_subject","missing_content","variable_without_default","this_outside_loop","loop_never_repeats","aweber_merge_tag","footer_not_guaranteed","list_missing_postal_address","domain_not_verified","links_on_platform_host","tracking_host_without_tls","no_marketing_ip","delivery_route_closed","approval_lock","brand_under_review","spf_missing_ip","spf_not_checked"],"description":"The same names as the campaign problems."},"nodeId":{"type":["string","null"],"description":"The email node, when the problem is an email’s; null = the list’s or the brand’s."},"reason":{"type":"string","enum":["html_too_large","css_on_html_body","css_positioning","css_negative_margin","css_transform","css_outline","css_external_stylesheet","css_unsupported_rule","css_outlook_hide"],"description":"Only with `footer_not_guaranteed`: `html_too_large` when the email goes over 100 KB, or a `css_*` reason when the CSS would hide the footer (see `MktProblemReasons`)."}}},"MktSequenceReport":{"type":"object","additionalProperties":false,"required":["id","status","revision","nodes","totals","exitsByReason"],"description":"The funnel: from counters, the same after a contact is deleted (`exitsByReason` is read from the people in the sequence and drops with them).","properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["draft","active","paused","stopped"],"description":"`draft` → `active` (start: checks everything and turns it on — it is the gesture that sends) ⇄ `paused` (nobody gets the next email; who is in it stays at the same step, and whoever subscribes meanwhile waits at the start); any of them → `stopped` (whoever was waiting leaves, nobody else enters; it does not come back). Paused: whoever enters waits. Stopped: nobody else enters. Editing the content needs `draft` or `paused`."},"revision":{"type":"integer"},"nodes":{"type":"array","description":"In the order of the path, the current graph.","items":{"type":"object","additionalProperties":false,"required":["nodeId","typeName","entered","sent","exited","waiting"],"properties":{"nodeId":{"type":"string"},"typeName":{"type":"string","enum":["ListTrigger","TagTrigger","SendEmailAction","TimerAction","ExitAction"]},"entered":{"type":"integer","description":"People who reached this node (the root: who entered the sequence; the exit: who finished)."},"sent":{"type":"integer","description":"Emails sent from this node."},"exited":{"type":"integer","description":"People who left the sequence at this node without finishing."},"waiting":{"type":"integer","description":"People at this node now."}}}},"totals":{"type":"object","additionalProperties":false,"required":["entered","finished","exited","inProgress"],"properties":{"entered":{"type":"integer"},"finished":{"type":"integer"},"exited":{"type":"integer"},"inProgress":{"type":"integer"}}},"exitsByReason":{"type":"object","additionalProperties":false,"properties":{"finished":{"type":"integer"},"unsubscribed":{"type":"integer"},"removed":{"type":"integer"},"paused":{"type":"integer"},"revision":{"type":"integer"},"stopped":{"type":"integer"},"error":{"type":"integer"}},"description":"Who left before the end, by reason (only the reasons that happened): `unsubscribed` (left the list), `removed` (deleted, or suppressed), `revision` (the step they were at was removed by an edit), `stopped`, `error`. Who finished is in `totals.finished`."}}}}},"security":[{"bearer":[]}]}