Create a notification template. Requires all fields in the notification object. Templates are created in draft state by default.
Content must place its elements inside a channel block — { "type": "channel", "channel": "email", "elements": [...] } — or the request returns 400. The template designer renders only the channel block matching the tab it draws, so content stored without one cannot be opened. An empty elements array is accepted, and the requirement applies to creation only: PUT /notifications/{id} still accepts unwrapped content. Note this endpoint takes versioned content only — the { title, body } shorthand accepted by /send is rejected here with an invalid_request_error on notification.content.version.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Idempotency-Key
string
A unique key that makes this request idempotent. If Courier receives another request with the same Idempotency-Key, it returns the stored response from the first request without performing the operation again (including the original status code and any error). Use it to safely retry POST requests after network failures without risking duplicate sends. The key is scoped to this endpoint.
x-idempotency-expiration
string
How long the idempotency key remains valid, as a Unix epoch timestamp in seconds or an ISO 8601 date string. Only applies when Idempotency-Key is provided. If omitted, the key is retained for 25 hours; the maximum is 1 year.
Body
application/json
Request body for creating a notification template.
notification
NotificationTemplateWritePayload · object
required
Template fields accepted in POST and PUT request bodies, nested under a notification key.
Show child attributes
state
enum<string>
default:DRAFT
Template state after creation. Case-insensitive input, normalized to uppercase in the response. Defaults to "DRAFT".
Available options:
DRAFT,
PUBLISHED
Response
Created
Response for GET /notifications/{id}, POST /notifications, and PUT /notifications/{id}. Returns all template fields at the top level.
name
string
required
Display name for the template.
tags
string[]
required
Tags for categorization. Send empty array for none.
brand
object | null
required
Brand reference, or null for no brand.
Show child attributes
subscription
object | null
required
Subscription topic reference, or null for none.
Show child attributes
routing
object | null
required
Routing strategy reference, or null for none.
Show child attributes
content
ElementalContent · object
required
Elemental content definition.
Show child attributes
id
string
required
The template ID.
state
enum<string>
required
The template state. Always uppercase.
Available options:
DRAFT,
PUBLISHED
created
integer<int64>
required
Epoch milliseconds when the template was created.
creator
string
required
User ID of the creator.
email
NotificationTemplateEmail · object | null
Email header fields for the template's email channel: the From, Reply-to, CC and BCC values set in the Studio email channel settings. Each value may use template variables, such as {{data.cc}}, which are resolved at send time.
Reads omit email when no header is set, and omit each unset field.
Writes treat it as optional, with three meanings. Omit it to keep the stored headers. Send null to clear all four. Send an object to replace all four: a field the object leaves out is cleared. Other email channel settings, such as the subject, are kept either way. Headers only apply while content has an email channel; with no email channel they are not stored.
Show child attributes
alias
stringstring[]
A template's send-time alias as returned by a read, omitted entirely when it has none. Usually a single string; an array for a template that resolves from several aliases, which writes through this API can no longer produce — only templates predating that restriction, or aliases attached outside this API, hold more than one.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Courier","description":"Courier is one API for email, SMS, push, chat, and in-app inbox, sending through the notification providers you already use. It adds templates, routing, preferences, and multi-step journeys, so your application makes one request instead of integrating each channel.","colors":{"primary":"#7C3AED","light":"#A78BFA","dark":"#5B21B6"},"logo":{"light":"https://mintcdn.com/courier-4f1f25dc/xDJPBS8EQ58X_0-v/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=xDJPBS8EQ58X_0-v\u0026q=85\u0026s=2da40366f40ee5623aeabb98e65c6295","dark":"https://mintcdn.com/courier-4f1f25dc/xDJPBS8EQ58X_0-v/assets/logo-dark.svg?fit=max\u0026auto=format\u0026n=xDJPBS8EQ58X_0-v\u0026q=85\u0026s=eb1071ffaff93617b67ff4a2778f81d0","href":"https://www.courier.com/docs/overview"},"favicon":"https://mintcdn.com/courier-4f1f25dc/0KoAxE2unzOHL3EV/favicon.ico?fit=max\u0026auto=format\u0026n=0KoAxE2unzOHL3EV\u0026q=85\u0026s=3081d4055f7ca229bdeaac300a92b39c","navbar":{"links":[{"href":"https://www.courier.com/request-demo","label":"Request demo"},{"href":"https://app.courier.com/login?_gl=1*29rs2q*_gcl_au*MTYxMjIwODg4NS4xNzI5NjU5MDE4","label":"Login"}],"primary":{"type":"button","label":"Sign Up","href":"https://app.courier.com/signup?_gl=1*1130zcw*_gcl_au*MTYxMjIwODg4NS4xNzI5NjU5MDE4"}},"footer":{"socials":{"github":"https://github.com/trycourier","linkedin":"https://www.linkedin.com/company/trycourier","x":"https://x.com/trycourier"}},"search":{"prompt":"Search or ask AI"},"seo":{"metatags":{"canonical":"https://www.courier.com/docs"}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"integrations":{"gtm":{"tagId":"GTM-5PCP3R6"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"markdown":{"instructions":["Install the Courier skill before writing code: `npx skills add trycourier/courier-skills`. It carries the verified SDK shapes and the rules you cannot get wrong.","Authenticate every request with `Authorization: Bearer \u003cAPI_KEY>`. A workspace has several environments and each has its own keys, which are plain `pk_` strings with no environment prefix. Start with Test.","Send with `client.send.message` from the Node SDK (`@trycourier/courier` v7 and later, where the client is the default import). Reference a template by its `nt_` id or its alias.","A send accepts a bare Elemental element list, but storing content on a template requires the top-level elements wrapped in a channel element.","To translate a template, write one locale at a time with `PUT /notifications/{id}/locales/{localeId}`, which merges into the existing translations. `PUT /notifications/{id}/content` and `PUT /notifications/{id}/elements/{elementId}` overwrite translations along with the content, so send each element's `id` and `locales` back, and first remove every `checksum` and any `locales` key that starts with an underscore.","Templates and journeys can be built in the Courier app or created through the API. Either way they live in the workspace and are referenced by ID when you send.","The hosted MCP server is https://mcp.courier.com. For a briefing on what Courier is and when to use it, read https://www.courier.com/llms.txt.","Prefer the Guides tab for how-do-I questions and the Docs tab for how-does-it-behave questions. The API reference lives under /api-reference."]},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"courier-4f1f25dc","hasAudioNarration":false,"actualSubdomain":"courier-4f1f25dc","customDomains":["www.courier.com"],"gitSource":{"type":"github","owner":"trycourier","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aff811c2fdff10ad8549413","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"API Reference","count":170},{"language":"default","tag":"Docs","count":101},{"language":"default","tag":"Integrations","count":67},{"language":"default","tag":"Available integrations","count":65},{"language":"default","tag":"Guides","count":47},{"language":"default","tag":"Journeys","count":36},{"language":"default","tag":"Design","count":33},{"language":"default","tag":"Templates","count":25},{"language":"default","tag":"Elemental","count":17},{"language":"default","tag":"SDKs","count":17}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"html{scroll-behavior:smooth}#navbar div:has(>a img.nav-logo){flex:0 0 256px!important}#navbar div:has(>div>div>.nav-tabs){flex:1 1 auto!important}#navbar div:has(>div>.nav-tabs){margin-left:0!important;justify-content:space-between!important}#content-area{max-width:50rem!important;margin-left:auto!important;margin-right:auto!important}#content-container{position:relative;isolation:isolate}#content-container::before{content:\"\";position:absolute;top:0;left:0;right:0;height:420px;z-index:-1;pointer-events:none;background-image:radial-gradient(\n 140% 100% at 50% 20%,\n rgba(139, 92, 246, 0.06),\n rgba(139, 92, 246, 0.015)\n );-webkit-mask-image:repeating-linear-gradient(to right, #000 0 3px, transparent 3px 4px),\n repeating-linear-gradient(to bottom, #000 0 3px, transparent 3px 4px),\n linear-gradient(\n to bottom,\n #000 0,\n #000 112px,\n rgba(0, 0, 0, 0.70) 176px,\n rgba(0, 0, 0, 0.45) 240px,\n rgba(0, 0, 0, 0.26) 300px,\n rgba(0, 0, 0, 0.12) 352px,\n rgba(0, 0, 0, 0.05) 392px,\n transparent 420px\n );-webkit-mask-composite:source-in, source-in;mask-image:repeating-linear-gradient(to right, #000 0 3px, transparent 3px 4px),\n repeating-linear-gradient(to bottom, #000 0 3px, transparent 3px 4px),\n linear-gradient(\n to bottom,\n #000 0,\n #000 112px,\n rgba(0, 0, 0, 0.70) 176px,\n rgba(0, 0, 0, 0.45) 240px,\n rgba(0, 0, 0, 0.26) 300px,\n rgba(0, 0, 0, 0.12) 352px,\n rgba(0, 0, 0, 0.05) 392px,\n transparent 420px\n );mask-composite:intersect, intersect, intersect}.dark #content-container::before{background-image:radial-gradient(\n 140% 100% at 50% 20%,\n rgba(139, 92, 246, 0.12),\n rgba(139, 92, 246, 0.03)\n )}#topbar-cta-button svg{display:inline-block!important;color:#fff!important}#topbar-cta-button a>div{gap:0.25rem!important}@media (min-width: 1024px){.sticky:has(>#chat-assistant-sheet){top:calc(var(--banner-height, 0px) + var(--cx-navbar-height, 56px))!important;margin-top:calc(var(--banner-height, 0px) + var(--cx-navbar-height, 56px))!important;height:calc(100vh - var(--banner-height, 0px) - var(--cx-navbar-height, 56px))!important;padding-top:0!important}}.chat-assistant-floating-input{visibility:hidden!important}@media (min-width: 1024px){#navbar{width:100%!important}}#navbar a.nav-tabs-item{white-space:nowrap}@media (min-width: 1024px) and (max-width: 1129px){#navbar li:has(>a[href*=\"courier.com/signup\"]){display:none!important}}@media (min-width: 1024px) and (max-width: 1199px){#navbar li:has(>a[href*=\"courier.com/login\"]){display:none!important}}@media (max-width: 1023px){#navbar div:has(>a img.nav-logo){flex:0 1 auto!important}#navbar .lg\\:hidden.items-center.gap-3{margin-left:auto!important}}.cx-mobile-demo{display:inline-flex;align-items:center;white-space:nowrap;font-size:13px;font-weight:500;line-height:1;text-decoration:none;padding:7px 11px;border-radius:8px;border:1px solid rgba(130, 130, 140, 0.35);color:inherit}div:has(>.sidebar-group-header)+div:has(>.sidebar-group-header){position:relative;margin-top:1rem!important;padding-top:1.375rem}div:has(>.sidebar-group-header)+div:has(>.sidebar-group-header)::before{content:\"\";position:absolute;top:0;left:0.5rem;right:0.5rem;border-top:1px solid rgba(17, 24, 39, 0.08)}.dark div:has(>.sidebar-group-header)+div:has(>.sidebar-group-header)::before{border-top-color:rgba(255, 255, 255, 0.1)}#content-area [data-component-part=\"card-icon\"]:has(>img[src*=\"/assets/provider-\"]),#content-area [data-component-part=\"card-icon\"]>img[src*=\"/assets/provider-\"]{width:2rem;height:2rem;object-fit:contain}.cx-provider-logo-slot{display:block;width:3.75rem;height:3.75rem;margin-bottom:0.75rem;font-size:0;line-height:0}.cx-provider-logo{width:100%;height:100%;object-fit:contain;object-position:left center}.dark img[src$=\"/provider-apple-push-notification.webp\"],.dark img[src$=\"/provider-beamer.svg\"],.dark img[src$=\"/provider-custom-provider.svg\"],.dark img[src$=\"/provider-expo.svg\"],.dark img[src$=\"/provider-pagerduty.svg\"],.dark img[src$=\"/provider-postmark.webp\"],.dark img[src$=\"/provider-resend.svg\"],.dark img[src$=\"/provider-splunk-on-call.svg\"],.dark img[src$=\"/provider-vonage.svg\"]{filter:invert(1)}.cx-tags{display:flex;flex-wrap:wrap;align-items:center;gap:0.375rem;margin:0 0 1.5em}.cx-tag{display:inline-flex;align-items:center;gap:0.375rem;padding:0.25rem 0.5rem;border:0;border-radius:0.5rem;background-color:var(--cx-tag-bg);color:var(--cx-tag-fg);font-size:0.875rem;font-weight:600;line-height:1.25;white-space:nowrap;text-decoration:none!important;transition:background-color 120ms ease, color 120ms ease;--cx-tag-fg: #584f69;--cx-tag-bg: #f5f3f8}.cx-tag[data-icon]::before{content:\"\";flex:none;width:0.875em;height:0.875em;background-color:currentColor;-webkit-mask-image:var(--cx-tag-icon);mask-image:var(--cx-tag-icon);-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.dark .cx-tag{--cx-tag-fg: #cdc4dc;--cx-tag-bg: rgba(167, 139, 250, 0.10)}a.cx-tag:hover{--cx-tag-fg: #443c52;--cx-tag-bg: #ece9f1}.dark a.cx-tag:hover{--cx-tag-fg: #ded7e8;--cx-tag-bg: rgba(167, 139, 250, 0.18)}a.cx-tag:focus-visible{outline:2px solid rgba(124, 58, 237, 0.5);outline-offset:2px}.code-scroll [data-component-part=\"scroll-area-viewport\"]{max-height:30rem}"},{"filePath":"photo-shoot/index.css","content":"@font-face{font-family:'Poppins';src:url('/Poppins-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}:root{font-family:system-ui, Avenir, Helvetica, Arial, sans-serif;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px}"}]}
{"page":{"pagePath":"api-reference/templates/create-notification-template","slug":"/api-reference/templates/create-notification-template","pageMetadata":{"title":"Create Notification Template","description":"Create a notification template. Requires all fields in the notification object. Templates are created in draft state by default.\n\nContent must place its elements inside a channel block — `{ \"type\": \"channel\", \"channel\": \"email\", \"elements\": [...] }` — or the request returns `400`. The template designer renders only the channel block matching the tab it draws, so content stored without one cannot be opened. An empty `elements` array is accepted, and the requirement applies to creation only: `PUT /notifications/{id}` still accepts unwrapped content. Note this endpoint takes versioned content only — the `{ title, body }` shorthand accepted by `/send` is rejected here with an `invalid_request_error` on `notification.content.version`.","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /notifications","href":"/api-reference/templates/create-notification-template","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Create a notification template. Requires all fields in the notification object. Templates are created in draft state by default.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Content must place its elements inside a channel block — \", _jsx(_components.code, {\n children: \"{ \\\"type\\\": \\\"channel\\\", \\\"channel\\\": \\\"email\\\", \\\"elements\\\": [...] }\"\n }), \" — or the request returns \", _jsx(_components.code, {\n children: \"400\"\n }), \". The template designer renders only the channel block matching the tab it draws, so content stored without one cannot be opened. An empty \", _jsx(_components.code, {\n children: \"elements\"\n }), \" array is accepted, and the requirement applies to creation only: \", _jsx(_components.code, {\n children: \"PUT /notifications/{id}\"\n }), \" still accepts unwrapped content. Note this endpoint takes versioned content only — the \", _jsx(_components.code, {\n children: \"{ title, body }\"\n }), \" shorthand accepted by \", _jsx(_components.code, {\n children: \"/send\"\n }), \" is rejected here with an \", _jsx(_components.code, {\n children: \"invalid_request_error\"\n }), \" on \", _jsx(_components.code, {\n children: \"notification.content.version\"\n }), \".\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Notification Template","description":"Create a notification template. Requires all fields in the notification object. Templates are created in draft state by default.\n\nContent must place its elements inside a channel block — `{ \"type\": \"channel\", \"channel\": \"email\", \"elements\": [...] }` — or the request returns `400`. The template designer renders only the channel block matching the tab it draws, so content stored without one cannot be opened. An empty `elements` array is accepted, and the requirement applies to creation only: `PUT /notifications/{id}` still accepts unwrapped content. Note this endpoint takes versioned content only — the `{ title, body }` shorthand accepted by `/send` is rejected here with an `invalid_request_error` on `notification.content.version`.","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /notifications","href":"/api-reference/templates/create-notification-template","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/courier-4f1f25dc/57421be0d4eec0e0/content/favicons.js","/docs/_mintlify/custom/courier-4f1f25dc/05bb41119f2419fd/scripts.js"],"openApiReferenceData":{"operation":{"description":"Create a notification template. Requires all fields in the notification object. Templates are created in draft state by default.\n\nContent must place its elements inside a channel block — `{ \"type\": \"channel\", \"channel\": \"email\", \"elements\": [...] }` — or the request returns `400`. The template designer renders only the channel block matching the tab it draws, so content stored without one cannot be opened. An empty `elements` array is accepted, and the requirement applies to creation only: `PUT /notifications/{id}` still accepts unwrapped content. Note this endpoint takes versioned content only — the `{ title, body }` shorthand accepted by `/send` is rejected here with an `invalid_request_error` on `notification.content.version`.","operationId":"notifications_create","tags":["Templates"],"parameters":["989fdd71-7e81-48f8-97f8-7e26694a2e2e","0d5dc6c1-aa74-4e1f-85a5-8a3928961420"],"responses":{"201":"1d648554-325a-489a-9908-51d3c4ad0fb3","400":"3c8f8707-fd7d-40f2-a816-e357cdd4c514","409":"8ef700bb-29cb-49b4-9440-bc0679b5667f"},"summary":"Create Notification Template","security":["eacbc552-5794-4592-8cf7-5a5e6bf4f5cc"],"requestBody":"981b4d38-7519-4aaa-b1e6-a0f36438d550","x-codeSamples":[{"lang":"JavaScript","source":"import Courier from '@trycourier/courier';\n\nconst client = new Courier({\n apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted\n});\n\nconst notificationTemplateResponse = await client.notifications.create({\n notification: {\n name: 'Welcome Email',\n tags: ['onboarding', 'welcome'],\n brand: { id: 'bnd_01kx4mrd0pfzw8wt7pn7p2fzag' },\n subscription: { topic_id: 'pt_01kx4h2jdafq8bk9a26x0kvd1t' },\n routing: { strategy_id: 'rs_01kx4h2jdafq8bk9amzvy6hbv0' },\n content: {\n version: '2022-01-01',\n elements: [\n {\n type: 'channel',\n channel: 'email',\n elements: [\n { type: 'meta', title: 'Welcome!' },\n { type: 'text', content: 'Hello {{data.name}}.' },\n ],\n },\n ],\n },\n alias: 'welcome',\n },\n state: 'DRAFT',\n});\n\nconsole.log(notificationTemplateResponse);"},{"lang":"Python","source":"import os\nfrom courier import Courier\n\nclient = Courier(\n api_key=os.environ.get(\"COURIER_API_KEY\"), # This is the default and can be omitted\n)\nnotification_template_response = client.notifications.create(\n notification={\n \"name\": \"Welcome Email\",\n \"tags\": [\"onboarding\", \"welcome\"],\n \"brand\": {\n \"id\": \"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\"\n },\n \"subscription\": {\n \"topic_id\": \"pt_01kx4h2jdafq8bk9a26x0kvd1t\"\n },\n \"routing\": {\n \"strategy_id\": \"rs_01kx4h2jdafq8bk9amzvy6hbv0\"\n },\n \"content\": {\n \"version\": \"2022-01-01\",\n \"elements\": [{\n \"type\": \"channel\",\n \"channel\": \"email\",\n \"elements\": [{\n \"type\": \"meta\",\n \"title\": \"Welcome!\",\n }, {\n \"type\": \"text\",\n \"content\": \"Hello {{data.name}}.\",\n }],\n }],\n },\n \"alias\": \"welcome\",\n },\n state=\"DRAFT\",\n)\nprint(notification_template_response)"},{"lang":"Go","source":"package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/trycourier/courier-go/v4\"\n\t\"github.com/trycourier/courier-go/v4/option\"\n\t\"github.com/trycourier/courier-go/v4/shared\"\n)\n\nfunc main() {\n\tclient := courier.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tnotificationTemplateResponse, err := client.Notifications.New(context.TODO(), courier.NotificationNewParams{\n\t\tNotificationTemplateCreateRequest: courier.NotificationTemplateCreateRequestParam{\n\t\t\tNotification: courier.NotificationTemplateWritePayloadParam{\n\t\t\t\tNotificationTemplatePayloadParam: courier.NotificationTemplatePayloadParam{\n\t\t\t\t\tBrand: courier.NotificationTemplatePayloadBrandParam{\n\t\t\t\t\t\tID: \"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\",\n\t\t\t\t\t},\n\t\t\t\t\tContent: shared.ElementalContentParam{\n\t\t\t\t\t\tElements: []shared.ElementalNodeUnionParam{{\n\t\t\t\t\t\t\tOfElementalTextNodeWithType: \u0026shared.ElementalTextNodeWithTypeParam{\n\t\t\t\t\t\t\t\tElementalTextNodeParam: shared.ElementalTextNodeParam{\n\t\t\t\t\t\t\t\t\tElementalBaseNodeParam: shared.ElementalBaseNodeParam{},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}},\n\t\t\t\t\t\tVersion: \"2022-01-01\",\n\t\t\t\t\t},\n\t\t\t\t\tName: \"Welcome Email\",\n\t\t\t\t\tRouting: courier.NotificationTemplatePayloadRoutingParam{\n\t\t\t\t\t\tStrategyID: \"rs_01kx4h2jdafq8bk9amzvy6hbv0\",\n\t\t\t\t\t},\n\t\t\t\t\tSubscription: courier.NotificationTemplatePayloadSubscriptionParam{\n\t\t\t\t\t\tTopicID: \"pt_01kx4h2jdafq8bk9a26x0kvd1t\",\n\t\t\t\t\t},\n\t\t\t\t\tTags: []string{\"onboarding\", \"welcome\"},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", notificationTemplateResponse)\n}\n"},{"lang":"Java","source":"package com.courier.example;\n\nimport com.courier.client.CourierClient;\nimport com.courier.client.okhttp.CourierOkHttpClient;\nimport com.courier.models.ElementalContent;\nimport com.courier.models.ElementalTextNodeWithType;\nimport com.courier.models.notifications.NotificationTemplateCreateRequest;\nimport com.courier.models.notifications.NotificationTemplatePayload;\nimport com.courier.models.notifications.NotificationTemplateResponse;\nimport com.courier.models.notifications.NotificationTemplateWritePayload;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n CourierClient client = CourierOkHttpClient.fromEnv();\n\n NotificationTemplateCreateRequest params = NotificationTemplateCreateRequest.builder()\n .notification(NotificationTemplateWritePayload.builder()\n .brand(NotificationTemplatePayload.Brand.builder()\n .id(\"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\")\n .build())\n .content(ElementalContent.builder()\n .addElement(ElementalTextNodeWithType.builder().build())\n .version(\"2022-01-01\")\n .build())\n .name(\"Welcome Email\")\n .routing(NotificationTemplatePayload.Routing.builder()\n .strategyId(\"rs_01kx4h2jdafq8bk9amzvy6hbv0\")\n .build())\n .subscription(NotificationTemplatePayload.Subscription.builder()\n .topicId(\"pt_01kx4h2jdafq8bk9a26x0kvd1t\")\n .build())\n .addTag(\"onboarding\")\n .addTag(\"welcome\")\n .build())\n .build();\n NotificationTemplateResponse notificationTemplateResponse = client.notifications().create(params);\n }\n}"},{"lang":"Ruby","source":"require \"courier\"\n\ncourier = Courier::Client.new(api_key: \"My API Key\")\n\nnotification_template_response = courier.notifications.create(\n notification: {\n brand: {id: \"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\"},\n content: {elements: [{}], version: \"2022-01-01\"},\n name: \"Welcome Email\",\n routing: {strategy_id: \"rs_01kx4h2jdafq8bk9amzvy6hbv0\"},\n subscription: {topic_id: \"pt_01kx4h2jdafq8bk9a26x0kvd1t\"},\n tags: [\"onboarding\", \"welcome\"]\n }\n)\n\nputs(notification_template_response)"},{"lang":"PHP","source":"\u003c?php\n\nrequire_once dirname(__DIR__) . '/vendor/autoload.php';\n\nuse Courier\\Client;\nuse Courier\\TextStyle;\nuse Courier\\Core\\Exceptions\\APIException;\n\n$client = new Client(apiKey: getenv('COURIER_API_KEY') ?: 'My API Key');\n\ntry {\n $notificationTemplateResponse = $client->notifications->create(\n notification: [\n 'brand' => ['id' => 'bnd_01kx4mrd0pfzw8wt7pn7p2fzag'],\n 'content' => [\n 'elements' => [\n [\n 'channels' => ['string'],\n 'if' => 'if',\n 'loop' => 'loop',\n 'ref' => 'ref',\n 'channel' => 'email',\n 'elements' => [\n [\n 'channels' => ['string'],\n 'if' => 'if',\n 'loop' => 'loop',\n 'ref' => 'ref',\n 'title' => 'Welcome!',\n 'type' => 'meta',\n ],\n [\n 'channels' => ['string'],\n 'if' => 'if',\n 'loop' => 'loop',\n 'ref' => 'ref',\n 'align' => 'left',\n 'bold' => 'bold',\n 'color' => 'color',\n 'content' => 'Hello {{data.name}}.',\n 'fontSize' => 'font_size',\n 'format' => 'markdown',\n 'italic' => 'italic',\n 'lineHeight' => 'line_height',\n 'locales' => ['foo' => ['content' => 'content']],\n 'strikethrough' => 'strikethrough',\n 'textStyle' => TextStyle::TEXT,\n 'underline' => 'underline',\n 'type' => 'text',\n ],\n ],\n 'fontSize' => 'font_size',\n 'lineHeight' => 'line_height',\n 'padding' => 'padding',\n 'raw' => ['foo' => 'bar'],\n 'type' => 'channel',\n ],\n ],\n 'version' => '2022-01-01',\n ],\n 'name' => 'Welcome Email',\n 'routing' => ['strategyID' => 'rs_01kx4h2jdafq8bk9amzvy6hbv0'],\n 'subscription' => ['topicID' => 'pt_01kx4h2jdafq8bk9a26x0kvd1t'],\n 'tags' => ['onboarding', 'welcome'],\n 'email' => [\n 'bcc' => ['string'],\n 'cc' => ['string'],\n 'from' => 'from',\n 'replyTo' => 'reply_to',\n ],\n 'alias' => 'welcome',\n ],\n state: 'DRAFT',\n idempotencyKey: 'order-ORD-456-user-123',\n xIdempotencyExpiration: '1785312000',\n );\n\n var_dump($notificationTemplateResponse);\n} catch (APIException $e) {\n echo $e->getMessage();\n}"},{"lang":"C#","source":"using System;\nusing System.Collections.Generic;\nusing System.Text.Json;\nusing TryCourier;\nusing Models = TryCourier.Models;\nusing TryCourier.Models.Notifications;\n\nCourierClient client = new();\n\nNotificationCreateParams parameters = new()\n{\n Notification = new()\n {\n Brand = new(\"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\"),\n Content = new()\n {\n Elements =\n [\n new Models::ElementalChannelNodeWithType()\n {\n Channels =\n [\n \"string\"\n ],\n If = \"if\",\n Loop = \"loop\",\n Ref = \"ref\",\n Channel = \"email\",\n Elements =\n [\n new Models::UnionMember1()\n {\n Channels =\n [\n \"string\"\n ],\n If = \"if\",\n Loop = \"loop\",\n Ref = \"ref\",\n Title = \"Welcome!\",\n Type = Models::UnionMember1IntersectionMember1Type.Meta,\n },\n new Models::UnionMember0()\n {\n Channels =\n [\n \"string\"\n ],\n If = \"if\",\n Loop = \"loop\",\n Ref = \"ref\",\n Align = Models::Align.Left,\n Bold = \"bold\",\n Color = \"color\",\n Content = \"Hello {{data.name}}.\",\n FontSize = \"font_size\",\n Format = Models::Format.Markdown,\n Italic = \"italic\",\n LineHeight = \"line_height\",\n Locales = new Dictionary\u003cstring, Models::LocalesItem>(\n\n )\n {\n { \"foo\", new(\"content\") }\n },\n Strikethrough = \"strikethrough\",\n TextStyle = Models::TextStyle.Text,\n Underline = \"underline\",\n Type = Models::UnionMember0IntersectionMember1Type.Text,\n },\n ],\n FontSize = \"font_size\",\n LineHeight = \"line_height\",\n Padding = \"padding\",\n Raw = new Dictionary\u003cstring, JsonElement>()\n {\n { \"foo\", JsonSerializer.SerializeToElement(\"bar\") }\n },\n Type = Models::ElementalChannelNodeWithTypeIntersectionMember1Type.Channel,\n },\n ],\n Version = \"2022-01-01\",\n },\n Name = \"Welcome Email\",\n Routing = new(\"rs_01kx4h2jdafq8bk9amzvy6hbv0\"),\n Subscription = new(\"pt_01kx4h2jdafq8bk9a26x0kvd1t\"),\n Tags =\n [\n \"onboarding\", \"welcome\"\n ],\n Email = new()\n {\n Bcc =\n [\n \"string\"\n ],\n Cc =\n [\n \"string\"\n ],\n From = \"from\",\n ReplyTo = \"reply_to\",\n },\n Alias = \"welcome\",\n },\n};\n\nvar notificationTemplateResponse = await client.Notifications.Create(parameters);\n\nConsole.WriteLine(notificationTemplateResponse);"},{"lang":"CLI","source":"courier notifications create \\\n --api-key 'My API Key' \\\n --notification \"{brand: {id: bnd_01kx4mrd0pfzw8wt7pn7p2fzag}, content: {elements: [{}], version: '2022-01-01'}, name: Welcome Email, routing: {strategy_id: rs_01kx4h2jdafq8bk9amzvy6hbv0}, subscription: {topic_id: pt_01kx4h2jdafq8bk9a26x0kvd1t}, tags: [onboarding, welcome]}\""}],"method":"post","type":"path","servers":["75d6c353-d9bb-441e-9206-713f2d372aa2"],"path":"/notifications","baseUrlOptions":["https://api.courier.com"],"title":"Create Notification Template","codeSamples":[{"lang":"JavaScript","source":"import Courier from '@trycourier/courier';\n\nconst client = new Courier({\n apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted\n});\n\nconst notificationTemplateResponse = await client.notifications.create({\n notification: {\n name: 'Welcome Email',\n tags: ['onboarding', 'welcome'],\n brand: { id: 'bnd_01kx4mrd0pfzw8wt7pn7p2fzag' },\n subscription: { topic_id: 'pt_01kx4h2jdafq8bk9a26x0kvd1t' },\n routing: { strategy_id: 'rs_01kx4h2jdafq8bk9amzvy6hbv0' },\n content: {\n version: '2022-01-01',\n elements: [\n {\n type: 'channel',\n channel: 'email',\n elements: [\n { type: 'meta', title: 'Welcome!' },\n { type: 'text', content: 'Hello {{data.name}}.' },\n ],\n },\n ],\n },\n alias: 'welcome',\n },\n state: 'DRAFT',\n});\n\nconsole.log(notificationTemplateResponse);"},{"lang":"Python","source":"import os\nfrom courier import Courier\n\nclient = Courier(\n api_key=os.environ.get(\"COURIER_API_KEY\"), # This is the default and can be omitted\n)\nnotification_template_response = client.notifications.create(\n notification={\n \"name\": \"Welcome Email\",\n \"tags\": [\"onboarding\", \"welcome\"],\n \"brand\": {\n \"id\": \"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\"\n },\n \"subscription\": {\n \"topic_id\": \"pt_01kx4h2jdafq8bk9a26x0kvd1t\"\n },\n \"routing\": {\n \"strategy_id\": \"rs_01kx4h2jdafq8bk9amzvy6hbv0\"\n },\n \"content\": {\n \"version\": \"2022-01-01\",\n \"elements\": [{\n \"type\": \"channel\",\n \"channel\": \"email\",\n \"elements\": [{\n \"type\": \"meta\",\n \"title\": \"Welcome!\",\n }, {\n \"type\": \"text\",\n \"content\": \"Hello {{data.name}}.\",\n }],\n }],\n },\n \"alias\": \"welcome\",\n },\n state=\"DRAFT\",\n)\nprint(notification_template_response)"},{"lang":"Go","source":"package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/trycourier/courier-go/v4\"\n\t\"github.com/trycourier/courier-go/v4/option\"\n\t\"github.com/trycourier/courier-go/v4/shared\"\n)\n\nfunc main() {\n\tclient := courier.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tnotificationTemplateResponse, err := client.Notifications.New(context.TODO(), courier.NotificationNewParams{\n\t\tNotificationTemplateCreateRequest: courier.NotificationTemplateCreateRequestParam{\n\t\t\tNotification: courier.NotificationTemplateWritePayloadParam{\n\t\t\t\tNotificationTemplatePayloadParam: courier.NotificationTemplatePayloadParam{\n\t\t\t\t\tBrand: courier.NotificationTemplatePayloadBrandParam{\n\t\t\t\t\t\tID: \"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\",\n\t\t\t\t\t},\n\t\t\t\t\tContent: shared.ElementalContentParam{\n\t\t\t\t\t\tElements: []shared.ElementalNodeUnionParam{{\n\t\t\t\t\t\t\tOfElementalTextNodeWithType: \u0026shared.ElementalTextNodeWithTypeParam{\n\t\t\t\t\t\t\t\tElementalTextNodeParam: shared.ElementalTextNodeParam{\n\t\t\t\t\t\t\t\t\tElementalBaseNodeParam: shared.ElementalBaseNodeParam{},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}},\n\t\t\t\t\t\tVersion: \"2022-01-01\",\n\t\t\t\t\t},\n\t\t\t\t\tName: \"Welcome Email\",\n\t\t\t\t\tRouting: courier.NotificationTemplatePayloadRoutingParam{\n\t\t\t\t\t\tStrategyID: \"rs_01kx4h2jdafq8bk9amzvy6hbv0\",\n\t\t\t\t\t},\n\t\t\t\t\tSubscription: courier.NotificationTemplatePayloadSubscriptionParam{\n\t\t\t\t\t\tTopicID: \"pt_01kx4h2jdafq8bk9a26x0kvd1t\",\n\t\t\t\t\t},\n\t\t\t\t\tTags: []string{\"onboarding\", \"welcome\"},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", notificationTemplateResponse)\n}\n"},{"lang":"Java","source":"package com.courier.example;\n\nimport com.courier.client.CourierClient;\nimport com.courier.client.okhttp.CourierOkHttpClient;\nimport com.courier.models.ElementalContent;\nimport com.courier.models.ElementalTextNodeWithType;\nimport com.courier.models.notifications.NotificationTemplateCreateRequest;\nimport com.courier.models.notifications.NotificationTemplatePayload;\nimport com.courier.models.notifications.NotificationTemplateResponse;\nimport com.courier.models.notifications.NotificationTemplateWritePayload;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n CourierClient client = CourierOkHttpClient.fromEnv();\n\n NotificationTemplateCreateRequest params = NotificationTemplateCreateRequest.builder()\n .notification(NotificationTemplateWritePayload.builder()\n .brand(NotificationTemplatePayload.Brand.builder()\n .id(\"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\")\n .build())\n .content(ElementalContent.builder()\n .addElement(ElementalTextNodeWithType.builder().build())\n .version(\"2022-01-01\")\n .build())\n .name(\"Welcome Email\")\n .routing(NotificationTemplatePayload.Routing.builder()\n .strategyId(\"rs_01kx4h2jdafq8bk9amzvy6hbv0\")\n .build())\n .subscription(NotificationTemplatePayload.Subscription.builder()\n .topicId(\"pt_01kx4h2jdafq8bk9a26x0kvd1t\")\n .build())\n .addTag(\"onboarding\")\n .addTag(\"welcome\")\n .build())\n .build();\n NotificationTemplateResponse notificationTemplateResponse = client.notifications().create(params);\n }\n}"},{"lang":"Ruby","source":"require \"courier\"\n\ncourier = Courier::Client.new(api_key: \"My API Key\")\n\nnotification_template_response = courier.notifications.create(\n notification: {\n brand: {id: \"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\"},\n content: {elements: [{}], version: \"2022-01-01\"},\n name: \"Welcome Email\",\n routing: {strategy_id: \"rs_01kx4h2jdafq8bk9amzvy6hbv0\"},\n subscription: {topic_id: \"pt_01kx4h2jdafq8bk9a26x0kvd1t\"},\n tags: [\"onboarding\", \"welcome\"]\n }\n)\n\nputs(notification_template_response)"},{"lang":"PHP","source":"\u003c?php\n\nrequire_once dirname(__DIR__) . '/vendor/autoload.php';\n\nuse Courier\\Client;\nuse Courier\\TextStyle;\nuse Courier\\Core\\Exceptions\\APIException;\n\n$client = new Client(apiKey: getenv('COURIER_API_KEY') ?: 'My API Key');\n\ntry {\n $notificationTemplateResponse = $client->notifications->create(\n notification: [\n 'brand' => ['id' => 'bnd_01kx4mrd0pfzw8wt7pn7p2fzag'],\n 'content' => [\n 'elements' => [\n [\n 'channels' => ['string'],\n 'if' => 'if',\n 'loop' => 'loop',\n 'ref' => 'ref',\n 'channel' => 'email',\n 'elements' => [\n [\n 'channels' => ['string'],\n 'if' => 'if',\n 'loop' => 'loop',\n 'ref' => 'ref',\n 'title' => 'Welcome!',\n 'type' => 'meta',\n ],\n [\n 'channels' => ['string'],\n 'if' => 'if',\n 'loop' => 'loop',\n 'ref' => 'ref',\n 'align' => 'left',\n 'bold' => 'bold',\n 'color' => 'color',\n 'content' => 'Hello {{data.name}}.',\n 'fontSize' => 'font_size',\n 'format' => 'markdown',\n 'italic' => 'italic',\n 'lineHeight' => 'line_height',\n 'locales' => ['foo' => ['content' => 'content']],\n 'strikethrough' => 'strikethrough',\n 'textStyle' => TextStyle::TEXT,\n 'underline' => 'underline',\n 'type' => 'text',\n ],\n ],\n 'fontSize' => 'font_size',\n 'lineHeight' => 'line_height',\n 'padding' => 'padding',\n 'raw' => ['foo' => 'bar'],\n 'type' => 'channel',\n ],\n ],\n 'version' => '2022-01-01',\n ],\n 'name' => 'Welcome Email',\n 'routing' => ['strategyID' => 'rs_01kx4h2jdafq8bk9amzvy6hbv0'],\n 'subscription' => ['topicID' => 'pt_01kx4h2jdafq8bk9a26x0kvd1t'],\n 'tags' => ['onboarding', 'welcome'],\n 'email' => [\n 'bcc' => ['string'],\n 'cc' => ['string'],\n 'from' => 'from',\n 'replyTo' => 'reply_to',\n ],\n 'alias' => 'welcome',\n ],\n state: 'DRAFT',\n idempotencyKey: 'order-ORD-456-user-123',\n xIdempotencyExpiration: '1785312000',\n );\n\n var_dump($notificationTemplateResponse);\n} catch (APIException $e) {\n echo $e->getMessage();\n}"},{"lang":"C#","source":"using System;\nusing System.Collections.Generic;\nusing System.Text.Json;\nusing TryCourier;\nusing Models = TryCourier.Models;\nusing TryCourier.Models.Notifications;\n\nCourierClient client = new();\n\nNotificationCreateParams parameters = new()\n{\n Notification = new()\n {\n Brand = new(\"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\"),\n Content = new()\n {\n Elements =\n [\n new Models::ElementalChannelNodeWithType()\n {\n Channels =\n [\n \"string\"\n ],\n If = \"if\",\n Loop = \"loop\",\n Ref = \"ref\",\n Channel = \"email\",\n Elements =\n [\n new Models::UnionMember1()\n {\n Channels =\n [\n \"string\"\n ],\n If = \"if\",\n Loop = \"loop\",\n Ref = \"ref\",\n Title = \"Welcome!\",\n Type = Models::UnionMember1IntersectionMember1Type.Meta,\n },\n new Models::UnionMember0()\n {\n Channels =\n [\n \"string\"\n ],\n If = \"if\",\n Loop = \"loop\",\n Ref = \"ref\",\n Align = Models::Align.Left,\n Bold = \"bold\",\n Color = \"color\",\n Content = \"Hello {{data.name}}.\",\n FontSize = \"font_size\",\n Format = Models::Format.Markdown,\n Italic = \"italic\",\n LineHeight = \"line_height\",\n Locales = new Dictionary\u003cstring, Models::LocalesItem>(\n\n )\n {\n { \"foo\", new(\"content\") }\n },\n Strikethrough = \"strikethrough\",\n TextStyle = Models::TextStyle.Text,\n Underline = \"underline\",\n Type = Models::UnionMember0IntersectionMember1Type.Text,\n },\n ],\n FontSize = \"font_size\",\n LineHeight = \"line_height\",\n Padding = \"padding\",\n Raw = new Dictionary\u003cstring, JsonElement>()\n {\n { \"foo\", JsonSerializer.SerializeToElement(\"bar\") }\n },\n Type = Models::ElementalChannelNodeWithTypeIntersectionMember1Type.Channel,\n },\n ],\n Version = \"2022-01-01\",\n },\n Name = \"Welcome Email\",\n Routing = new(\"rs_01kx4h2jdafq8bk9amzvy6hbv0\"),\n Subscription = new(\"pt_01kx4h2jdafq8bk9a26x0kvd1t\"),\n Tags =\n [\n \"onboarding\", \"welcome\"\n ],\n Email = new()\n {\n Bcc =\n [\n \"string\"\n ],\n Cc =\n [\n \"string\"\n ],\n From = \"from\",\n ReplyTo = \"reply_to\",\n },\n Alias = \"welcome\",\n },\n};\n\nvar notificationTemplateResponse = await client.Notifications.Create(parameters);\n\nConsole.WriteLine(notificationTemplateResponse);"},{"lang":"CLI","source":"courier notifications create \\\n --api-key 'My API Key' \\\n --notification \"{brand: {id: bnd_01kx4mrd0pfzw8wt7pn7p2fzag}, content: {elements: [{}], version: '2022-01-01'}, name: Welcome Email, routing: {strategy_id: rs_01kx4h2jdafq8bk9amzvy6hbv0}, subscription: {topic_id: pt_01kx4h2jdafq8bk9a26x0kvd1t}, tags: [onboarding, welcome]}\""}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"989fdd71-7e81-48f8-97f8-7e26694a2e2e":{"name":"Idempotency-Key","in":"header","required":false,"description":"A unique key that makes this request idempotent. If Courier receives another request with the same `Idempotency-Key`, it returns the stored response from the first request without performing the operation again (including the original status code and any error). Use it to safely retry `POST` requests after network failures without risking duplicate sends. The key is scoped to this endpoint.","schema":{"type":"string","isRequired":false,"description":"A unique key that makes this request idempotent. If Courier receives another request with the same `Idempotency-Key`, it returns the stored response from the first request without performing the operation again (including the original status code and any error). Use it to safely retry `POST` requests after network failures without risking duplicate sends. The key is scoped to this endpoint.","uniqueKey":"","typeLabel":"string"},"example":"order-ORD-456-user-123"},"0d5dc6c1-aa74-4e1f-85a5-8a3928961420":{"name":"x-idempotency-expiration","in":"header","required":false,"description":"How long the idempotency key remains valid, as a Unix epoch timestamp in seconds or an ISO 8601 date string. Only applies when `Idempotency-Key` is provided. If omitted, the key is retained for 25 hours; the maximum is 1 year.","schema":{"type":"string","isRequired":false,"description":"How long the idempotency key remains valid, as a Unix epoch timestamp in seconds or an ISO 8601 date string. Only applies when `Idempotency-Key` is provided. If omitted, the key is retained for 25 hours; the maximum is 1 year.","uniqueKey":"","typeLabel":"string"},"example":"1785312000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"NotificationTemplateCreateRequest","type":"object","description":"Request body for creating a notification template.","properties":{"notification":{"type":"object","title":"NotificationTemplateWritePayload","description":"Template fields accepted in POST and PUT request bodies, nested under a `notification` key.","required":["name","tags","brand","subscription","routing","content"],"properties":{"name":{"type":"string","description":"Display name for the template.","isRequired":true,"uniqueKey":"notification.name","typeLabel":"string"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"notification.tags.items.[INDEX]","typeLabel":"string"},"description":"Tags for categorization. Send empty array for none.","isRequired":true,"uniqueKey":"notification.tags","typeLabel":"string[]"},"brand":{"oneOf":[{"type":"object","description":"Brand reference, or null for no brand.","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"notification.brand.oneOf.0.id","typeLabel":"string"}},"required":["id"],"isRequired":true,"uniqueKey":"notification.brand.oneOf.0","typeLabel":"object"},{"type":"null","description":"Brand reference, or null for no brand.","properties":{"id":{"type":"string"}},"required":["id"],"isRequired":true,"uniqueKey":"notification.brand.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"notification.brand","typeLabel":"object | null"},"subscription":{"oneOf":[{"type":"object","description":"Subscription topic reference, or null for none.","properties":{"topic_id":{"type":"string","isRequired":true,"uniqueKey":"notification.subscription.oneOf.0.topic_id","typeLabel":"string"}},"required":["topic_id"],"isRequired":true,"uniqueKey":"notification.subscription.oneOf.0","typeLabel":"object"},{"type":"null","description":"Subscription topic reference, or null for none.","properties":{"topic_id":{"type":"string"}},"required":["topic_id"],"isRequired":true,"uniqueKey":"notification.subscription.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"notification.subscription","typeLabel":"object | null"},"routing":{"oneOf":[{"type":"object","description":"Routing strategy reference, or null for none.","properties":{"strategy_id":{"type":"string","isRequired":true,"uniqueKey":"notification.routing.oneOf.0.strategy_id","typeLabel":"string"}},"required":["strategy_id"],"isRequired":true,"uniqueKey":"notification.routing.oneOf.0","typeLabel":"object"},{"type":"null","description":"Routing strategy reference, or null for none.","properties":{"strategy_id":{"type":"string"}},"required":["strategy_id"],"isRequired":true,"uniqueKey":"notification.routing.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"notification.routing","typeLabel":"object | null"},"content":{"title":"ElementalContent","type":"object","properties":{"version":{"type":"string","description":"For example, \"2022-01-01\"","isRequired":true,"uniqueKey":"notification.content.version","typeLabel":"string"},"elements":{"type":"array","items":{"oneOf":[{"type":"object","title":"ElementalTextNode","description":"Represents a body of text to be rendered inside of the notification.","required":["type"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.loop","typeLabel":"string | null"},"content":{"type":"string","description":"The text content displayed in the notification. Either this\nfield must be specified, or the elements field","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.content","typeLabel":"string"},"align":{"title":"TextAlign","type":"string","enum":["left","center","right"],"description":"Text alignment.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.align","typeLabel":"enum\u003cstring>"},"text_style":{"oneOf":[{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.text_style.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"TextStyle","type":"null","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.text_style.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.text_style","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","description":"Specifies the color of text. Can be any valid css color value","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"Specifies the color of text. Can be any valid css color value","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.color","typeLabel":"string | null"},"bold":{"oneOf":[{"type":"string","description":"Apply bold to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.bold.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply bold to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.bold.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.bold","typeLabel":"string | null"},"italic":{"oneOf":[{"type":"string","description":"Apply italics to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.italic.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply italics to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.italic.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.italic","typeLabel":"string | null"},"strikethrough":{"oneOf":[{"type":"string","description":"Apply a strike through the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.strikethrough.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply a strike through the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.strikethrough.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.strikethrough","typeLabel":"string | null"},"underline":{"oneOf":[{"type":"string","description":"Apply an underline to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.underline.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply an underline to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.underline.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.underline","typeLabel":"string | null"},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.font_size","typeLabel":"string | null"},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.line_height.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.line_height","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.locales","typeLabel":"Locales · object | null"},"format":{"oneOf":[{"type":"string","enum":["markdown"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.format.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["markdown"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.format.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0.format","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.0","typeLabel":"ElementalTextNode · object"},{"type":"object","title":"ElementalMetaNode","description":"The meta element contains information describing the notification that may be used by a particular channel or provider. One important field is the title field which will be used as the title for channels that support it.","required":["type"],"properties":{"type":{"type":"string","enum":["meta"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.loop","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"The title to be displayed by supported channels. For example, the email subject.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"The title to be displayed by supported channels. For example, the email subject.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1.title","typeLabel":"string | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.1","typeLabel":"ElementalMetaNode · object"},{"type":"object","title":"ElementalChannelNode","description":"The channel element allows a notification to be customized based on which channel it is sent through. For example, you may want to display a detailed message when the notification is sent through email, and a more concise message in a push notification. Channel elements are only valid as top-level elements; you cannot nest channel elements. If there is a channel element specified at the top-level of the document, all sibling elements must be channel elements. Note: As an alternative, most elements support a `channel` property. Which allows you to selectively display an individual element on a per channel basis. See the [control flow docs](https://www.courier.com/docs/platform/content/elemental/control-flow/) for more details.","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"channel":{"type":"string","example":"email","description":"The channel the contents of this element should be applied to. Can be `email`, `push`, `direct_message`, `sms` or a provider such as slack","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.channel","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.loop","typeLabel":"string | null"},"padding":{"oneOf":[{"type":"string","description":"Email only. Document-level body padding applied once around the email body, as a CSS px shorthand (1–4 values), e.g. `48px 64px`.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.padding.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email only. Document-level body padding applied once around the email body, as a CSS px shorthand (1–4 values), e.g. `48px 64px`.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.padding","typeLabel":"string | null"},"font_size":{"oneOf":[{"type":"string","description":"Email only. Document-level base font size (CSS px, e.g. `16px`) for body content — text, quote, list and action button labels. Heading styles (`h1`/`h2`/`h3`) and `subtext` keep their preset sizes.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email only. Document-level base font size (CSS px, e.g. `16px`) for body content — text, quote, list and action button labels. Heading styles (`h1`/`h2`/`h3`) and `subtext` keep their preset sizes.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.font_size","typeLabel":"string | null"},"line_height":{"oneOf":[{"type":"string","description":"Email only. Document-level line height (CSS px or unitless multiplier, e.g. `24px` or `1.5`) applied to all body content unless overridden per block.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.line_height.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email only. Document-level line height (CSS px or unitless multiplier, e.g. `24px` or `1.5`) applied to all body content unless overridden per block.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.line_height","typeLabel":"string | null"},"elements":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","title":"ElementalTextNode","description":"Represents a body of text to be rendered inside of the notification.","required":["type"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.loop","typeLabel":"string | null"},"content":{"type":"string","description":"The text content displayed in the notification. Either this\nfield must be specified, or the elements field","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.content","typeLabel":"string"},"align":{"title":"TextAlign","type":"string","enum":["left","center","right"],"description":"Text alignment.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.align","typeLabel":"enum\u003cstring>"},"text_style":{"oneOf":[{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.text_style.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"TextStyle","type":"null","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.text_style.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.text_style","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","description":"Specifies the color of text. Can be any valid css color value","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"Specifies the color of text. Can be any valid css color value","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.color","typeLabel":"string | null"},"bold":{"oneOf":[{"type":"string","description":"Apply bold to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.bold.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply bold to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.bold.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.bold","typeLabel":"string | null"},"italic":{"oneOf":[{"type":"string","description":"Apply italics to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.italic.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply italics to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.italic.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.italic","typeLabel":"string | null"},"strikethrough":{"oneOf":[{"type":"string","description":"Apply a strike through the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.strikethrough.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply a strike through the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.strikethrough.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.strikethrough","typeLabel":"string | null"},"underline":{"oneOf":[{"type":"string","description":"Apply an underline to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.underline.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply an underline to the text","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.underline.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.underline","typeLabel":"string | null"},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.font_size","typeLabel":"string | null"},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.line_height.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.line_height","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales","typeLabel":"Locales · object | null"},"format":{"oneOf":[{"type":"string","enum":["markdown"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.format.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["markdown"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.format.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.format","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"ElementalTextNode · object"},{"type":"object","title":"ElementalMetaNode","description":"The meta element contains information describing the notification that may be used by a particular channel or provider. One important field is the title field which will be used as the title for channels that support it.","required":["type"],"properties":{"type":{"type":"string","enum":["meta"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.loop","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"The title to be displayed by supported channels. For example, the email subject.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"The title to be displayed by supported channels. For example, the email subject.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.title","typeLabel":"string | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"ElementalMetaNode · object"},{"type":"object","title":"ElementalImageNode","description":"Used to embed an image into the notification.","required":["type","src"],"properties":{"type":{"type":"string","enum":["image"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"src":{"type":"string","description":"The source of the image.","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.src","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.loop","typeLabel":"string | null"},"href":{"oneOf":[{"type":"string","description":"A URL to link to when the image is clicked.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.href.oneOf.0","typeLabel":"string"},{"type":"null","description":"A URL to link to when the image is clicked.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.href.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.href","typeLabel":"string | null"},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"The alignment of the image.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.align.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"The alignment of the image.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.align","typeLabel":"enum\u003cstring> | null"},"alt_text":{"oneOf":[{"type":"string","description":"Alternate text for the image.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.alt_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Alternate text for the image.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.alt_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.alt_text","typeLabel":"string | null"},"width":{"oneOf":[{"type":"string","description":"CSS width properties to apply to the image. For example, 50px","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.width.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS width properties to apply to the image. For example, 50px","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.width.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.width","typeLabel":"string | null"},"border_color":{"oneOf":[{"type":"string","description":"CSS border color applied to the image. For example, `#ccc`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border color applied to the image. For example, `#ccc`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_color","typeLabel":"string | null"},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the image. For example, `1px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border width applied to the image. For example, `1px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_size","typeLabel":"string | null"},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied around the image. For example, `10px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.padding.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS padding applied around the image. For example, `10px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.padding","typeLabel":"string | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"ElementalImageNode · object"},{"type":"object","title":"ElementalActionNode","description":"Allows the user to execute an action. Can be a button or a link.","required":["type","content","href"],"properties":{"type":{"type":"string","enum":["action"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"The text content of the action shown to the user.","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.content","typeLabel":"string"},"href":{"type":"string","description":"The target URL of the action.","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.href","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.loop","typeLabel":"string | null"},"action_id":{"oneOf":[{"type":"string","description":"A unique id used to identify the action when it is executed.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.action_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"A unique id used to identify the action when it is executed.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.action_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.action_id","typeLabel":"string | null"},"align":{"oneOf":[{"type":"any","description":"The alignment of the action button. Defaults to \"center\".","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.align.oneOf.0","typeLabel":"any"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.align","typeLabel":"any | null"},"background_color":{"oneOf":[{"type":"string","description":"The background color of the action button.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.background_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"The background color of the action button.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.background_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.background_color","typeLabel":"string | null"},"border_radius":{"oneOf":[{"type":"string","description":"CSS border-radius applied to the action button. For example, `4px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_radius.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border-radius applied to the action button. For example, `4px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_radius.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_radius","typeLabel":"string | null"},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the action button. For example, `1px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border width applied to the action button. For example, `1px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_size","typeLabel":"string | null"},"font_size":{"oneOf":[{"type":"string","description":"CSS font-size applied to the action button label. For example, `14px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS font-size applied to the action button label. For example, `14px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.font_size","typeLabel":"string | null"},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied to the action button. For example, `8px 16px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.padding.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS padding applied to the action button. For example, `8px 16px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.padding","typeLabel":"string | null"},"disable_tracking":{"oneOf":[{"type":"boolean","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.disable_tracking.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.disable_tracking.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.disable_tracking","typeLabel":"boolean | null"},"style":{"oneOf":[{"type":"any","description":"Defaults to `button`.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.style.oneOf.0","typeLabel":"any"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.style.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.style","typeLabel":"any | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3","typeLabel":"ElementalActionNode · object"},{"type":"object","title":"ElementalDividerNode","description":"Renders a dividing line between elements.","required":["type"],"properties":{"type":{"type":"string","enum":["divider"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.loop","typeLabel":"string | null"},"color":{"oneOf":[{"type":"string","description":"The CSS color to render the line with. For example, `#fff`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"The CSS color to render the line with. For example, `#fff`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.color","typeLabel":"string | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4","typeLabel":"ElementalDividerNode · object"},{"type":"object","title":"ElementalQuoteNode","description":"Renders a quote block.","required":["type","content"],"properties":{"type":{"type":"string","enum":["quote"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"The text value of the quote.","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.loop","typeLabel":"string | null"},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"Alignment of the quote.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.align.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"Alignment of the quote.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.align","typeLabel":"enum\u003cstring> | null"},"border_color":{"oneOf":[{"type":"string","description":"CSS border color property. For example, `#fff`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.border_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border color property. For example, `#fff`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.border_color","typeLabel":"string | null"},"text_style":{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.text_style","typeLabel":"enum\u003cstring>"},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.font_size","typeLabel":"string | null"},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.line_height.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.line_height","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5","typeLabel":"ElementalQuoteNode · object"},{"type":"object","title":"ElementalHtmlNode","description":"Raw HTML string inside an Elemental document. When rendering a message, this node is turned into output only for the email channel; for other channels it produces no blocks.","required":["type","content"],"properties":{"type":{"type":"string","enum":["html"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Raw HTML string to render inside the notification.","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.loop","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6","typeLabel":"ElementalHtmlNode · object"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX]","typeLabel":"ElementalTextNode · object | ElementalMetaNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object"},"description":"An array of elements to apply to the channel. If `raw` has not been\nspecified, `elements` is `required`. Channel elements cannot nest, so\nthese are any node except another channel block.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.0","typeLabel":"(ElementalTextNode · object | ElementalMetaNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object)[]"},{"type":"null","items":{"oneOf":[{"type":"object","title":"ElementalTextNode","description":"Represents a body of text to be rendered inside of the notification.","required":["type"],"properties":{"type":{"type":"string","enum":["text"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"content":{"type":"string","description":"The text content displayed in the notification. Either this\nfield must be specified, or the elements field"},"align":{"title":"TextAlign","type":"string","enum":["left","center","right"],"description":"Text alignment."},"text_style":{"oneOf":[{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level."},{"title":"TextStyle","type":"null","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level."}]},"color":{"oneOf":[{"type":"string","description":"Specifies the color of text. Can be any valid css color value"},{"type":"null","description":"Specifies the color of text. Can be any valid css color value"}]},"bold":{"oneOf":[{"type":"string","description":"Apply bold to the text"},{"type":"null","description":"Apply bold to the text"}]},"italic":{"oneOf":[{"type":"string","description":"Apply italics to the text"},{"type":"null","description":"Apply italics to the text"}]},"strikethrough":{"oneOf":[{"type":"string","description":"Apply a strike through the text"},{"type":"null","description":"Apply a strike through the text"}]},"underline":{"oneOf":[{"type":"string","description":"Apply an underline to the text"},{"type":"null","description":"Apply an underline to the text"}]},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only."},{"type":"null","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only."}]},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only."},{"type":"null","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only."}]},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}}]},"format":{"oneOf":[{"type":"string","enum":["markdown"]},{"type":"null","enum":["markdown"]}]}}},{"type":"object","title":"ElementalMetaNode","description":"The meta element contains information describing the notification that may be used by a particular channel or provider. One important field is the title field which will be used as the title for channels that support it.","required":["type"],"properties":{"type":{"type":"string","enum":["meta"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"title":{"oneOf":[{"type":"string","description":"The title to be displayed by supported channels. For example, the email subject."},{"type":"null","description":"The title to be displayed by supported channels. For example, the email subject."}]}}},{"type":"object","title":"ElementalImageNode","description":"Used to embed an image into the notification.","required":["type","src"],"properties":{"type":{"type":"string","enum":["image"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"src":{"type":"string","description":"The source of the image."},"href":{"oneOf":[{"type":"string","description":"A URL to link to when the image is clicked."},{"type":"null","description":"A URL to link to when the image is clicked."}]},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"The alignment of the image."},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"The alignment of the image."}]},"alt_text":{"oneOf":[{"type":"string","description":"Alternate text for the image."},{"type":"null","description":"Alternate text for the image."}]},"width":{"oneOf":[{"type":"string","description":"CSS width properties to apply to the image. For example, 50px"},{"type":"null","description":"CSS width properties to apply to the image. For example, 50px"}]},"border_color":{"oneOf":[{"type":"string","description":"CSS border color applied to the image. For example, `#ccc`"},{"type":"null","description":"CSS border color applied to the image. For example, `#ccc`"}]},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the image. For example, `1px`"},{"type":"null","description":"CSS border width applied to the image. For example, `1px`"}]},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied around the image. For example, `10px`"},{"type":"null","description":"CSS padding applied around the image. For example, `10px`"}]}}},{"type":"object","title":"ElementalActionNode","description":"Allows the user to execute an action. Can be a button or a link.","required":["type","content","href"],"properties":{"type":{"type":"string","enum":["action"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"content":{"type":"string","description":"The text content of the action shown to the user."},"href":{"type":"string","description":"The target URL of the action."},"action_id":{"oneOf":[{"type":"string","description":"A unique id used to identify the action when it is executed."},{"type":"null","description":"A unique id used to identify the action when it is executed."}]},"align":{"oneOf":[{"type":"any","description":"The alignment of the action button. Defaults to \"center\"."},{"type":"null"}]},"background_color":{"oneOf":[{"type":"string","description":"The background color of the action button."},{"type":"null","description":"The background color of the action button."}]},"border_radius":{"oneOf":[{"type":"string","description":"CSS border-radius applied to the action button. For example, `4px`"},{"type":"null","description":"CSS border-radius applied to the action button. For example, `4px`"}]},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the action button. For example, `1px`"},{"type":"null","description":"CSS border width applied to the action button. For example, `1px`"}]},"font_size":{"oneOf":[{"type":"string","description":"CSS font-size applied to the action button label. For example, `14px`"},{"type":"null","description":"CSS font-size applied to the action button label. For example, `14px`"}]},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied to the action button. For example, `8px 16px`"},{"type":"null","description":"CSS padding applied to the action button. For example, `8px 16px`"}]},"disable_tracking":{"oneOf":[{"type":"boolean","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace."},{"type":"null","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace."}]},"style":{"oneOf":[{"type":"any","description":"Defaults to `button`."},{"type":"null"}]},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}}]}}},{"type":"object","title":"ElementalDividerNode","description":"Renders a dividing line between elements.","required":["type"],"properties":{"type":{"type":"string","enum":["divider"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"color":{"oneOf":[{"type":"string","description":"The CSS color to render the line with. For example, `#fff`"},{"type":"null","description":"The CSS color to render the line with. For example, `#fff`"}]}}},{"type":"object","title":"ElementalQuoteNode","description":"Renders a quote block.","required":["type","content"],"properties":{"type":{"type":"string","enum":["quote"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"content":{"type":"string","description":"The text value of the quote."},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"Alignment of the quote."},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"Alignment of the quote."}]},"border_color":{"oneOf":[{"type":"string","description":"CSS border color property. For example, `#fff`"},{"type":"null","description":"CSS border color property. For example, `#fff`"}]},"text_style":{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"]},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only."},{"type":"null","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only."}]},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only."},{"type":"null","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only."}]},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}}]}}},{"type":"object","title":"ElementalHtmlNode","description":"Raw HTML string inside an Elemental document. When rendering a message, this node is turned into output only for the email channel; for other channels it produces no blocks.","required":["type","content"],"properties":{"type":{"type":"string","enum":["html"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"content":{"type":"string","description":"Raw HTML string to render inside the notification."},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}}]}}}]},"description":"An array of elements to apply to the channel. If `raw` has not been\nspecified, `elements` is `required`. Channel elements cannot nest, so\nthese are any node except another channel block.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.elements","typeLabel":"(ElementalTextNode · object | ElementalMetaNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object)[] | null"},"raw":{"oneOf":[{"type":"object","additionalProperties":true,"description":"Raw data to apply to the channel. If `elements` has not been specified, `raw` is required.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.raw.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"Raw data to apply to the channel. If `elements` has not been specified, `raw` is required.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.raw.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2.raw","typeLabel":"object | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.2","typeLabel":"ElementalChannelNode · object"},{"type":"object","title":"ElementalImageNode","description":"Used to embed an image into the notification.","required":["type","src"],"properties":{"type":{"type":"string","enum":["image"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"src":{"type":"string","description":"The source of the image.","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.src","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.loop","typeLabel":"string | null"},"href":{"oneOf":[{"type":"string","description":"A URL to link to when the image is clicked.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.href.oneOf.0","typeLabel":"string"},{"type":"null","description":"A URL to link to when the image is clicked.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.href.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.href","typeLabel":"string | null"},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"The alignment of the image.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.align.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"The alignment of the image.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.align","typeLabel":"enum\u003cstring> | null"},"alt_text":{"oneOf":[{"type":"string","description":"Alternate text for the image.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.alt_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Alternate text for the image.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.alt_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.alt_text","typeLabel":"string | null"},"width":{"oneOf":[{"type":"string","description":"CSS width properties to apply to the image. For example, 50px","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.width.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS width properties to apply to the image. For example, 50px","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.width.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.width","typeLabel":"string | null"},"border_color":{"oneOf":[{"type":"string","description":"CSS border color applied to the image. For example, `#ccc`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.border_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border color applied to the image. For example, `#ccc`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.border_color","typeLabel":"string | null"},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the image. For example, `1px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.border_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border width applied to the image. For example, `1px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.border_size","typeLabel":"string | null"},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied around the image. For example, `10px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.padding.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS padding applied around the image. For example, `10px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3.padding","typeLabel":"string | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.3","typeLabel":"ElementalImageNode · object"},{"type":"object","title":"ElementalActionNode","description":"Allows the user to execute an action. Can be a button or a link.","required":["type","content","href"],"properties":{"type":{"type":"string","enum":["action"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"The text content of the action shown to the user.","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.content","typeLabel":"string"},"href":{"type":"string","description":"The target URL of the action.","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.href","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.loop","typeLabel":"string | null"},"action_id":{"oneOf":[{"type":"string","description":"A unique id used to identify the action when it is executed.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.action_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"A unique id used to identify the action when it is executed.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.action_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.action_id","typeLabel":"string | null"},"align":{"oneOf":[{"type":"string","title":"IAlignment","description":"The alignment of the action button. Defaults to \"center\".","enum":["center","left","right","full"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.align.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.align","typeLabel":"enum\u003cstring> | null"},"background_color":{"oneOf":[{"type":"string","description":"The background color of the action button.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.background_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"The background color of the action button.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.background_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.background_color","typeLabel":"string | null"},"border_radius":{"oneOf":[{"type":"string","description":"CSS border-radius applied to the action button. For example, `4px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.border_radius.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border-radius applied to the action button. For example, `4px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.border_radius.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.border_radius","typeLabel":"string | null"},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the action button. For example, `1px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.border_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border width applied to the action button. For example, `1px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.border_size","typeLabel":"string | null"},"font_size":{"oneOf":[{"type":"string","description":"CSS font-size applied to the action button label. For example, `14px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS font-size applied to the action button label. For example, `14px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.font_size","typeLabel":"string | null"},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied to the action button. For example, `8px 16px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.padding.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS padding applied to the action button. For example, `8px 16px`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.padding","typeLabel":"string | null"},"disable_tracking":{"oneOf":[{"type":"boolean","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.disable_tracking.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.disable_tracking.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.disable_tracking","typeLabel":"boolean | null"},"style":{"oneOf":[{"type":"string","title":"IActionButtonStyle","description":"Defaults to `button`.","enum":["button","secondary","tertiary","link"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.style.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.style.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.style","typeLabel":"enum\u003cstring> | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.4","typeLabel":"ElementalActionNode · object"},{"type":"object","title":"ElementalDividerNode","description":"Renders a dividing line between elements.","required":["type"],"properties":{"type":{"type":"string","enum":["divider"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.loop","typeLabel":"string | null"},"color":{"oneOf":[{"type":"string","description":"The CSS color to render the line with. For example, `#fff`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"The CSS color to render the line with. For example, `#fff`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5.color","typeLabel":"string | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.5","typeLabel":"ElementalDividerNode · object"},{"type":"object","title":"ElementalQuoteNode","description":"Renders a quote block.","required":["type","content"],"properties":{"type":{"type":"string","enum":["quote"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"The text value of the quote.","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.loop","typeLabel":"string | null"},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"Alignment of the quote.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.align.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"Alignment of the quote.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.align","typeLabel":"enum\u003cstring> | null"},"border_color":{"oneOf":[{"type":"string","description":"CSS border color property. For example, `#fff`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.border_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border color property. For example, `#fff`","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.border_color","typeLabel":"string | null"},"text_style":{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.text_style","typeLabel":"enum\u003cstring>"},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.font_size","typeLabel":"string | null"},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.line_height.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.line_height","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.6","typeLabel":"ElementalQuoteNode · object"},{"type":"object","title":"ElementalHtmlNode","description":"Raw HTML string inside an Elemental document. When rendering a message, this node is turned into output only for the email channel; for other channels it produces no blocks.","required":["type","content"],"properties":{"type":{"type":"string","enum":["html"],"isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Raw HTML string to render inside the notification.","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.loop","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"notification.content.elements.items.[INDEX].oneOf.7","typeLabel":"ElementalHtmlNode · object"}],"uniqueKey":"notification.content.elements.items.[INDEX]","typeLabel":"ElementalTextNode · object | ElementalMetaNode · object | ElementalChannelNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object"},"isRequired":true,"uniqueKey":"notification.content.elements","typeLabel":"(ElementalTextNode · object | ElementalMetaNode · object | ElementalChannelNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object)[]"}},"required":["version","elements"],"description":"Elemental content definition.","isRequired":true,"uniqueKey":"notification.content","typeLabel":"ElementalContent · object"},"email":{"oneOf":[{"title":"NotificationTemplateEmail","type":"object","description":"Email header fields for the template's email channel: the From, Reply-to, CC and BCC values set in the Studio email channel settings. Each value may use template variables, such as `{{data.cc}}`, which are resolved at send time.\nReads omit `email` when no header is set, and omit each unset field.\nWrites treat it as optional, with three meanings. Omit it to keep the stored headers. Send null to clear all four. Send an object to replace all four: a field the object leaves out is cleared. Other email channel settings, such as the subject, are kept either way. Headers only apply while `content` has an email channel; with no email channel they are not stored.","properties":{"from":{"type":"string","description":"The From address.","uniqueKey":"notification.email.oneOf.0.from","typeLabel":"string"},"reply_to":{"type":"string","description":"The Reply-to address.","uniqueKey":"notification.email.oneOf.0.reply_to","typeLabel":"string"},"cc":{"type":"array","items":{"type":"string","uniqueKey":"notification.email.oneOf.0.cc.items.[INDEX]","typeLabel":"string"},"description":"CC addresses.","uniqueKey":"notification.email.oneOf.0.cc","typeLabel":"string[]"},"bcc":{"type":"array","items":{"type":"string","uniqueKey":"notification.email.oneOf.0.bcc.items.[INDEX]","typeLabel":"string"},"description":"BCC addresses.","uniqueKey":"notification.email.oneOf.0.bcc","typeLabel":"string[]"}},"uniqueKey":"notification.email.oneOf.0","typeLabel":"NotificationTemplateEmail · object"},{"title":"NotificationTemplateEmail","type":"null","description":"Email header fields for the template's email channel: the From, Reply-to, CC and BCC values set in the Studio email channel settings. Each value may use template variables, such as `{{data.cc}}`, which are resolved at send time.\nReads omit `email` when no header is set, and omit each unset field.\nWrites treat it as optional, with three meanings. Omit it to keep the stored headers. Send null to clear all four. Send an object to replace all four: a field the object leaves out is cleared. Other email channel settings, such as the subject, are kept either way. Headers only apply while `content` has an email channel; with no email channel they are not stored.","properties":{"from":{"type":"string","description":"The From address."},"reply_to":{"type":"string","description":"The Reply-to address."},"cc":{"type":"array","items":{"type":"string"},"description":"CC addresses."},"bcc":{"type":"array","items":{"type":"string"},"description":"BCC addresses."}},"uniqueKey":"notification.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.email","typeLabel":"NotificationTemplateEmail · object | null"},"alias":{"oneOf":[{"type":"string","description":"Send-time alias for this template — the value you pass as `event` to POST /send. Writes accept a single alias only.\nOptional, with three distinct meanings. Omit it to leave any existing aliases untouched. Send a string to make this the template's only alias — a template that already resolved from several aliases keeps just this one and the rest are detached. Send null to remove every alias from the template.\nAn alias may not be claimed by another template — doing so returns 409 — and may not begin with \"tenant/\".","uniqueKey":"notification.alias.oneOf.0","typeLabel":"string"},{"type":"null","description":"Send-time alias for this template — the value you pass as `event` to POST /send. Writes accept a single alias only.\nOptional, with three distinct meanings. Omit it to leave any existing aliases untouched. Send a string to make this the template's only alias — a template that already resolved from several aliases keeps just this one and the rest are detached. Send null to remove every alias from the template.\nAn alias may not be claimed by another template — doing so returns 409 — and may not begin with \"tenant/\".","uniqueKey":"notification.alias.oneOf.1","typeLabel":"null"}],"uniqueKey":"notification.alias","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"notification","typeLabel":"NotificationTemplateWritePayload · object"},"state":{"type":"string","description":"Template state after creation. Case-insensitive input, normalized to uppercase in the response. Defaults to \"DRAFT\".","enum":["DRAFT","PUBLISHED"],"default":"DRAFT","uniqueKey":"state","typeLabel":"enum\u003cstring>"}},"required":["notification"],"uniqueKey":"","typeLabel":"NotificationTemplateCreateRequest · object"},"examples":{"DraftWithAllFields":{"title":"DraftWithAllFields","summary":"Create a draft template with all fields populated","value":{"notification":{"name":"Welcome Email","tags":["onboarding","welcome"],"brand":{"id":"bnd_01kx4mrd0pfzw8wt7pn7p2fzag"},"subscription":{"topic_id":"pt_01kx4h2jdafq8bk9a26x0kvd1t"},"routing":{"strategy_id":"rs_01kx4h2jdafq8bk9amzvy6hbv0"},"content":{"version":"2022-01-01","elements":[{"type":"channel","channel":"email","elements":[{"type":"meta","title":"Welcome!"},{"type":"text","content":"Hello {{data.name}}."}]}]},"alias":"welcome"},"state":"DRAFT"}},"MinimalDraft":{"title":"MinimalDraft","summary":"Create a minimal draft template","value":{"notification":{"name":"Bare Minimum","tags":[],"brand":null,"subscription":null,"routing":null,"content":{"version":"2022-01-01","elements":[]}}}},"AutoPublish":{"title":"AutoPublish","summary":"Create and immediately publish","value":{"notification":{"name":"Auto-Published Template","tags":["alerts"],"brand":null,"subscription":null,"routing":null,"content":{"version":"2022-01-01","elements":[{"type":"channel","channel":"email","elements":[{"type":"meta","title":"Alert"},{"type":"text","content":"You have a new alert."}]}]}},"state":"PUBLISHED"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"1d648554-325a-489a-9908-51d3c4ad0fb3":{"description":"Created","content":{"application/json":{"schema":{"type":"object","title":"NotificationTemplateResponse","description":"Response for GET /notifications/{id}, POST /notifications, and PUT /notifications/{id}. Returns all template fields at the top level.","required":["id","state","created","creator","name","tags","brand","subscription","routing","content"],"properties":{"name":{"type":"string","description":"Display name for the template.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"description":"Tags for categorization. Send empty array for none.","isRequired":true,"uniqueKey":"tags","typeLabel":"string[]"},"brand":{"oneOf":[{"type":"object","description":"Brand reference, or null for no brand.","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"brand.oneOf.0.id","typeLabel":"string"}},"required":["id"],"isRequired":true,"uniqueKey":"brand.oneOf.0","typeLabel":"object"},{"type":"null","description":"Brand reference, or null for no brand.","properties":{"id":{"type":"string"}},"required":["id"],"isRequired":true,"uniqueKey":"brand.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"brand","typeLabel":"object | null"},"subscription":{"oneOf":[{"type":"object","description":"Subscription topic reference, or null for none.","properties":{"topic_id":{"type":"string","isRequired":true,"uniqueKey":"subscription.oneOf.0.topic_id","typeLabel":"string"}},"required":["topic_id"],"isRequired":true,"uniqueKey":"subscription.oneOf.0","typeLabel":"object"},{"type":"null","description":"Subscription topic reference, or null for none.","properties":{"topic_id":{"type":"string"}},"required":["topic_id"],"isRequired":true,"uniqueKey":"subscription.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"subscription","typeLabel":"object | null"},"routing":{"oneOf":[{"type":"object","description":"Routing strategy reference, or null for none.","properties":{"strategy_id":{"type":"string","isRequired":true,"uniqueKey":"routing.oneOf.0.strategy_id","typeLabel":"string"}},"required":["strategy_id"],"isRequired":true,"uniqueKey":"routing.oneOf.0","typeLabel":"object"},{"type":"null","description":"Routing strategy reference, or null for none.","properties":{"strategy_id":{"type":"string"}},"required":["strategy_id"],"isRequired":true,"uniqueKey":"routing.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"routing","typeLabel":"object | null"},"content":{"title":"ElementalContent","type":"object","properties":{"version":{"type":"string","description":"For example, \"2022-01-01\"","isRequired":true,"uniqueKey":"content.version","typeLabel":"string"},"elements":{"type":"array","items":{"oneOf":[{"type":"object","title":"ElementalTextNode","description":"Represents a body of text to be rendered inside of the notification.","required":["type"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.0.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.0.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.0.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.0.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.0.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.0.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.0.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.0.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.0.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.loop","typeLabel":"string | null"},"content":{"type":"string","description":"The text content displayed in the notification. Either this\nfield must be specified, or the elements field","uniqueKey":"content.elements.items.[INDEX].oneOf.0.content","typeLabel":"string"},"align":{"title":"TextAlign","type":"string","enum":["left","center","right"],"description":"Text alignment.","uniqueKey":"content.elements.items.[INDEX].oneOf.0.align","typeLabel":"enum\u003cstring>"},"text_style":{"oneOf":[{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level.","uniqueKey":"content.elements.items.[INDEX].oneOf.0.text_style.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"TextStyle","type":"null","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level.","uniqueKey":"content.elements.items.[INDEX].oneOf.0.text_style.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.text_style","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","description":"Specifies the color of text. Can be any valid css color value","uniqueKey":"content.elements.items.[INDEX].oneOf.0.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"Specifies the color of text. Can be any valid css color value","uniqueKey":"content.elements.items.[INDEX].oneOf.0.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.color","typeLabel":"string | null"},"bold":{"oneOf":[{"type":"string","description":"Apply bold to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.0.bold.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply bold to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.0.bold.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.bold","typeLabel":"string | null"},"italic":{"oneOf":[{"type":"string","description":"Apply italics to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.0.italic.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply italics to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.0.italic.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.italic","typeLabel":"string | null"},"strikethrough":{"oneOf":[{"type":"string","description":"Apply a strike through the text","uniqueKey":"content.elements.items.[INDEX].oneOf.0.strikethrough.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply a strike through the text","uniqueKey":"content.elements.items.[INDEX].oneOf.0.strikethrough.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.strikethrough","typeLabel":"string | null"},"underline":{"oneOf":[{"type":"string","description":"Apply an underline to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.0.underline.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply an underline to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.0.underline.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.underline","typeLabel":"string | null"},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.0.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.0.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.font_size","typeLabel":"string | null"},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.0.line_height.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.0.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.line_height","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.0.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.0.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.locales","typeLabel":"Locales · object | null"},"format":{"oneOf":[{"type":"string","enum":["markdown"],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.format.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["markdown"],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.format.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.0.format","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.0","typeLabel":"ElementalTextNode · object"},{"type":"object","title":"ElementalMetaNode","description":"The meta element contains information describing the notification that may be used by a particular channel or provider. One important field is the title field which will be used as the title for channels that support it.","required":["type"],"properties":{"type":{"type":"string","enum":["meta"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.1.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.1.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.1.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.1.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.1.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.1.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.1.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.1.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.1.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.1.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.1.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.1.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.1.loop","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"The title to be displayed by supported channels. For example, the email subject.","uniqueKey":"content.elements.items.[INDEX].oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"The title to be displayed by supported channels. For example, the email subject.","uniqueKey":"content.elements.items.[INDEX].oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.1.title","typeLabel":"string | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.1","typeLabel":"ElementalMetaNode · object"},{"type":"object","title":"ElementalChannelNode","description":"The channel element allows a notification to be customized based on which channel it is sent through. For example, you may want to display a detailed message when the notification is sent through email, and a more concise message in a push notification. Channel elements are only valid as top-level elements; you cannot nest channel elements. If there is a channel element specified at the top-level of the document, all sibling elements must be channel elements. Note: As an alternative, most elements support a `channel` property. Which allows you to selectively display an individual element on a per channel basis. See the [control flow docs](https://www.courier.com/docs/platform/content/elemental/control-flow/) for more details.","required":["type","channel"],"properties":{"type":{"type":"string","enum":["channel"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"channel":{"type":"string","example":"email","description":"The channel the contents of this element should be applied to. Can be `email`, `push`, `direct_message`, `sms` or a provider such as slack","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.channel","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.loop","typeLabel":"string | null"},"padding":{"oneOf":[{"type":"string","description":"Email only. Document-level body padding applied once around the email body, as a CSS px shorthand (1–4 values), e.g. `48px 64px`.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.padding.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email only. Document-level body padding applied once around the email body, as a CSS px shorthand (1–4 values), e.g. `48px 64px`.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.padding","typeLabel":"string | null"},"font_size":{"oneOf":[{"type":"string","description":"Email only. Document-level base font size (CSS px, e.g. `16px`) for body content — text, quote, list and action button labels. Heading styles (`h1`/`h2`/`h3`) and `subtext` keep their preset sizes.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email only. Document-level base font size (CSS px, e.g. `16px`) for body content — text, quote, list and action button labels. Heading styles (`h1`/`h2`/`h3`) and `subtext` keep their preset sizes.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.font_size","typeLabel":"string | null"},"line_height":{"oneOf":[{"type":"string","description":"Email only. Document-level line height (CSS px or unitless multiplier, e.g. `24px` or `1.5`) applied to all body content unless overridden per block.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.line_height.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email only. Document-level line height (CSS px or unitless multiplier, e.g. `24px` or `1.5`) applied to all body content unless overridden per block.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.line_height","typeLabel":"string | null"},"elements":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","title":"ElementalTextNode","description":"Represents a body of text to be rendered inside of the notification.","required":["type"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.loop","typeLabel":"string | null"},"content":{"type":"string","description":"The text content displayed in the notification. Either this\nfield must be specified, or the elements field","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.content","typeLabel":"string"},"align":{"title":"TextAlign","type":"string","enum":["left","center","right"],"description":"Text alignment.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.align","typeLabel":"enum\u003cstring>"},"text_style":{"oneOf":[{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.text_style.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"TextStyle","type":"null","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.text_style.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.text_style","typeLabel":"enum\u003cstring> | null"},"color":{"oneOf":[{"type":"string","description":"Specifies the color of text. Can be any valid css color value","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"Specifies the color of text. Can be any valid css color value","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.color","typeLabel":"string | null"},"bold":{"oneOf":[{"type":"string","description":"Apply bold to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.bold.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply bold to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.bold.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.bold","typeLabel":"string | null"},"italic":{"oneOf":[{"type":"string","description":"Apply italics to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.italic.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply italics to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.italic.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.italic","typeLabel":"string | null"},"strikethrough":{"oneOf":[{"type":"string","description":"Apply a strike through the text","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.strikethrough.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply a strike through the text","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.strikethrough.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.strikethrough","typeLabel":"string | null"},"underline":{"oneOf":[{"type":"string","description":"Apply an underline to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.underline.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply an underline to the text","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.underline.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.underline","typeLabel":"string | null"},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.font_size","typeLabel":"string | null"},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.line_height.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.line_height","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales","typeLabel":"Locales · object | null"},"format":{"oneOf":[{"type":"string","enum":["markdown"],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.format.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["markdown"],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.format.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.format","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"ElementalTextNode · object"},{"type":"object","title":"ElementalMetaNode","description":"The meta element contains information describing the notification that may be used by a particular channel or provider. One important field is the title field which will be used as the title for channels that support it.","required":["type"],"properties":{"type":{"type":"string","enum":["meta"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.loop","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","description":"The title to be displayed by supported channels. For example, the email subject.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"The title to be displayed by supported channels. For example, the email subject.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.title","typeLabel":"string | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"ElementalMetaNode · object"},{"type":"object","title":"ElementalImageNode","description":"Used to embed an image into the notification.","required":["type","src"],"properties":{"type":{"type":"string","enum":["image"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"src":{"type":"string","description":"The source of the image.","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.src","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.loop","typeLabel":"string | null"},"href":{"oneOf":[{"type":"string","description":"A URL to link to when the image is clicked.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.href.oneOf.0","typeLabel":"string"},{"type":"null","description":"A URL to link to when the image is clicked.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.href.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.href","typeLabel":"string | null"},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"The alignment of the image.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.align.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"The alignment of the image.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.align","typeLabel":"enum\u003cstring> | null"},"alt_text":{"oneOf":[{"type":"string","description":"Alternate text for the image.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.alt_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Alternate text for the image.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.alt_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.alt_text","typeLabel":"string | null"},"width":{"oneOf":[{"type":"string","description":"CSS width properties to apply to the image. For example, 50px","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.width.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS width properties to apply to the image. For example, 50px","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.width.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.width","typeLabel":"string | null"},"border_color":{"oneOf":[{"type":"string","description":"CSS border color applied to the image. For example, `#ccc`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border color applied to the image. For example, `#ccc`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_color","typeLabel":"string | null"},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the image. For example, `1px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border width applied to the image. For example, `1px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_size","typeLabel":"string | null"},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied around the image. For example, `10px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.padding.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS padding applied around the image. For example, `10px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.padding","typeLabel":"string | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2","typeLabel":"ElementalImageNode · object"},{"type":"object","title":"ElementalActionNode","description":"Allows the user to execute an action. Can be a button or a link.","required":["type","content","href"],"properties":{"type":{"type":"string","enum":["action"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"The text content of the action shown to the user.","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.content","typeLabel":"string"},"href":{"type":"string","description":"The target URL of the action.","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.href","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.loop","typeLabel":"string | null"},"action_id":{"oneOf":[{"type":"string","description":"A unique id used to identify the action when it is executed.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.action_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"A unique id used to identify the action when it is executed.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.action_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.action_id","typeLabel":"string | null"},"align":{"oneOf":[{"type":"any","description":"The alignment of the action button. Defaults to \"center\".","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.align.oneOf.0","typeLabel":"any"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.align","typeLabel":"any | null"},"background_color":{"oneOf":[{"type":"string","description":"The background color of the action button.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.background_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"The background color of the action button.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.background_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.background_color","typeLabel":"string | null"},"border_radius":{"oneOf":[{"type":"string","description":"CSS border-radius applied to the action button. For example, `4px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_radius.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border-radius applied to the action button. For example, `4px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_radius.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_radius","typeLabel":"string | null"},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the action button. For example, `1px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border width applied to the action button. For example, `1px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_size","typeLabel":"string | null"},"font_size":{"oneOf":[{"type":"string","description":"CSS font-size applied to the action button label. For example, `14px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS font-size applied to the action button label. For example, `14px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.font_size","typeLabel":"string | null"},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied to the action button. For example, `8px 16px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.padding.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS padding applied to the action button. For example, `8px 16px`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.padding","typeLabel":"string | null"},"disable_tracking":{"oneOf":[{"type":"boolean","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.disable_tracking.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.disable_tracking.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.disable_tracking","typeLabel":"boolean | null"},"style":{"oneOf":[{"type":"any","description":"Defaults to `button`.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.style.oneOf.0","typeLabel":"any"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.style.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.style","typeLabel":"any | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3","typeLabel":"ElementalActionNode · object"},{"type":"object","title":"ElementalDividerNode","description":"Renders a dividing line between elements.","required":["type"],"properties":{"type":{"type":"string","enum":["divider"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.loop","typeLabel":"string | null"},"color":{"oneOf":[{"type":"string","description":"The CSS color to render the line with. For example, `#fff`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"The CSS color to render the line with. For example, `#fff`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.color","typeLabel":"string | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4","typeLabel":"ElementalDividerNode · object"},{"type":"object","title":"ElementalQuoteNode","description":"Renders a quote block.","required":["type","content"],"properties":{"type":{"type":"string","enum":["quote"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"The text value of the quote.","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.loop","typeLabel":"string | null"},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"Alignment of the quote.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.align.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"Alignment of the quote.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.align","typeLabel":"enum\u003cstring> | null"},"border_color":{"oneOf":[{"type":"string","description":"CSS border color property. For example, `#fff`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.border_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border color property. For example, `#fff`","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.border_color","typeLabel":"string | null"},"text_style":{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.text_style","typeLabel":"enum\u003cstring>"},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.font_size","typeLabel":"string | null"},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.line_height.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.line_height","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5","typeLabel":"ElementalQuoteNode · object"},{"type":"object","title":"ElementalHtmlNode","description":"Raw HTML string inside an Elemental document. When rendering a message, this node is turned into output only for the email channel; for other channels it produces no blocks.","required":["type","content"],"properties":{"type":{"type":"string","enum":["html"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Raw HTML string to render inside the notification.","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.loop","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6","typeLabel":"ElementalHtmlNode · object"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX]","typeLabel":"ElementalTextNode · object | ElementalMetaNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object"},"description":"An array of elements to apply to the channel. If `raw` has not been\nspecified, `elements` is `required`. Channel elements cannot nest, so\nthese are any node except another channel block.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.0","typeLabel":"(ElementalTextNode · object | ElementalMetaNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object)[]"},{"type":"null","items":{"oneOf":[{"type":"object","title":"ElementalTextNode","description":"Represents a body of text to be rendered inside of the notification.","required":["type"],"properties":{"type":{"type":"string","enum":["text"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"content":{"type":"string","description":"The text content displayed in the notification. Either this\nfield must be specified, or the elements field"},"align":{"title":"TextAlign","type":"string","enum":["left","center","right"],"description":"Text alignment."},"text_style":{"oneOf":[{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level."},{"title":"TextStyle","type":"null","enum":["text","h1","h2","subtext"],"description":"Allows the text to be rendered as a heading level."}]},"color":{"oneOf":[{"type":"string","description":"Specifies the color of text. Can be any valid css color value"},{"type":"null","description":"Specifies the color of text. Can be any valid css color value"}]},"bold":{"oneOf":[{"type":"string","description":"Apply bold to the text"},{"type":"null","description":"Apply bold to the text"}]},"italic":{"oneOf":[{"type":"string","description":"Apply italics to the text"},{"type":"null","description":"Apply italics to the text"}]},"strikethrough":{"oneOf":[{"type":"string","description":"Apply a strike through the text"},{"type":"null","description":"Apply a strike through the text"}]},"underline":{"oneOf":[{"type":"string","description":"Apply an underline to the text"},{"type":"null","description":"Apply an underline to the text"}]},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only."},{"type":"null","description":"CSS px font size for this text block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only."}]},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only."},{"type":"null","description":"CSS line height for this text block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only."}]},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}}]},"format":{"oneOf":[{"type":"string","enum":["markdown"]},{"type":"null","enum":["markdown"]}]}}},{"type":"object","title":"ElementalMetaNode","description":"The meta element contains information describing the notification that may be used by a particular channel or provider. One important field is the title field which will be used as the title for channels that support it.","required":["type"],"properties":{"type":{"type":"string","enum":["meta"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"title":{"oneOf":[{"type":"string","description":"The title to be displayed by supported channels. For example, the email subject."},{"type":"null","description":"The title to be displayed by supported channels. For example, the email subject."}]}}},{"type":"object","title":"ElementalImageNode","description":"Used to embed an image into the notification.","required":["type","src"],"properties":{"type":{"type":"string","enum":["image"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"src":{"type":"string","description":"The source of the image."},"href":{"oneOf":[{"type":"string","description":"A URL to link to when the image is clicked."},{"type":"null","description":"A URL to link to when the image is clicked."}]},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"The alignment of the image."},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"The alignment of the image."}]},"alt_text":{"oneOf":[{"type":"string","description":"Alternate text for the image."},{"type":"null","description":"Alternate text for the image."}]},"width":{"oneOf":[{"type":"string","description":"CSS width properties to apply to the image. For example, 50px"},{"type":"null","description":"CSS width properties to apply to the image. For example, 50px"}]},"border_color":{"oneOf":[{"type":"string","description":"CSS border color applied to the image. For example, `#ccc`"},{"type":"null","description":"CSS border color applied to the image. For example, `#ccc`"}]},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the image. For example, `1px`"},{"type":"null","description":"CSS border width applied to the image. For example, `1px`"}]},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied around the image. For example, `10px`"},{"type":"null","description":"CSS padding applied around the image. For example, `10px`"}]}}},{"type":"object","title":"ElementalActionNode","description":"Allows the user to execute an action. Can be a button or a link.","required":["type","content","href"],"properties":{"type":{"type":"string","enum":["action"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"content":{"type":"string","description":"The text content of the action shown to the user."},"href":{"type":"string","description":"The target URL of the action."},"action_id":{"oneOf":[{"type":"string","description":"A unique id used to identify the action when it is executed."},{"type":"null","description":"A unique id used to identify the action when it is executed."}]},"align":{"oneOf":[{"type":"any","description":"The alignment of the action button. Defaults to \"center\"."},{"type":"null"}]},"background_color":{"oneOf":[{"type":"string","description":"The background color of the action button."},{"type":"null","description":"The background color of the action button."}]},"border_radius":{"oneOf":[{"type":"string","description":"CSS border-radius applied to the action button. For example, `4px`"},{"type":"null","description":"CSS border-radius applied to the action button. For example, `4px`"}]},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the action button. For example, `1px`"},{"type":"null","description":"CSS border width applied to the action button. For example, `1px`"}]},"font_size":{"oneOf":[{"type":"string","description":"CSS font-size applied to the action button label. For example, `14px`"},{"type":"null","description":"CSS font-size applied to the action button label. For example, `14px`"}]},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied to the action button. For example, `8px 16px`"},{"type":"null","description":"CSS padding applied to the action button. For example, `8px 16px`"}]},"disable_tracking":{"oneOf":[{"type":"boolean","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace."},{"type":"null","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace."}]},"style":{"oneOf":[{"type":"any","description":"Defaults to `button`."},{"type":"null"}]},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}}]}}},{"type":"object","title":"ElementalDividerNode","description":"Renders a dividing line between elements.","required":["type"],"properties":{"type":{"type":"string","enum":["divider"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"color":{"oneOf":[{"type":"string","description":"The CSS color to render the line with. For example, `#fff`"},{"type":"null","description":"The CSS color to render the line with. For example, `#fff`"}]}}},{"type":"object","title":"ElementalQuoteNode","description":"Renders a quote block.","required":["type","content"],"properties":{"type":{"type":"string","enum":["quote"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"content":{"type":"string","description":"The text value of the quote."},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"Alignment of the quote."},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"Alignment of the quote."}]},"border_color":{"oneOf":[{"type":"string","description":"CSS border color property. For example, `#fff`"},{"type":"null","description":"CSS border color property. For example, `#fff`"}]},"text_style":{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"]},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only."},{"type":"null","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only."}]},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only."},{"type":"null","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only."}]},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}}]}}},{"type":"object","title":"ElementalHtmlNode","description":"Raw HTML string inside an Elemental document. When rendering a message, this node is turned into output only for the email channel; for other channels it produces no blocks.","required":["type","content"],"properties":{"type":{"type":"string","enum":["html"]},"channels":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"null","items":{"type":"string"}}]},"ref":{"oneOf":[{"type":"string"},{"type":"null"}]},"if":{"oneOf":[{"type":"string"},{"type":"null"}]},"loop":{"oneOf":[{"type":"string"},{"type":"null"}]},"content":{"type":"string","description":"Raw HTML string to render inside the notification."},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string"}},"required":["content"]}}]}}}]},"description":"An array of elements to apply to the channel. If `raw` has not been\nspecified, `elements` is `required`. Channel elements cannot nest, so\nthese are any node except another channel block.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.elements","typeLabel":"(ElementalTextNode · object | ElementalMetaNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object)[] | null"},"raw":{"oneOf":[{"type":"object","additionalProperties":true,"description":"Raw data to apply to the channel. If `elements` has not been specified, `raw` is required.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.raw.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"Raw data to apply to the channel. If `elements` has not been specified, `raw` is required.","uniqueKey":"content.elements.items.[INDEX].oneOf.2.raw.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.2.raw","typeLabel":"object | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.2","typeLabel":"ElementalChannelNode · object"},{"type":"object","title":"ElementalImageNode","description":"Used to embed an image into the notification.","required":["type","src"],"properties":{"type":{"type":"string","enum":["image"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"src":{"type":"string","description":"The source of the image.","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.3.src","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.3.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.3.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.3.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.3.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.3.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.3.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.3.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.3.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.3.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.3.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.3.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.3.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.3.loop","typeLabel":"string | null"},"href":{"oneOf":[{"type":"string","description":"A URL to link to when the image is clicked.","uniqueKey":"content.elements.items.[INDEX].oneOf.3.href.oneOf.0","typeLabel":"string"},{"type":"null","description":"A URL to link to when the image is clicked.","uniqueKey":"content.elements.items.[INDEX].oneOf.3.href.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.3.href","typeLabel":"string | null"},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"The alignment of the image.","uniqueKey":"content.elements.items.[INDEX].oneOf.3.align.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"The alignment of the image.","uniqueKey":"content.elements.items.[INDEX].oneOf.3.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.3.align","typeLabel":"enum\u003cstring> | null"},"alt_text":{"oneOf":[{"type":"string","description":"Alternate text for the image.","uniqueKey":"content.elements.items.[INDEX].oneOf.3.alt_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Alternate text for the image.","uniqueKey":"content.elements.items.[INDEX].oneOf.3.alt_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.3.alt_text","typeLabel":"string | null"},"width":{"oneOf":[{"type":"string","description":"CSS width properties to apply to the image. For example, 50px","uniqueKey":"content.elements.items.[INDEX].oneOf.3.width.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS width properties to apply to the image. For example, 50px","uniqueKey":"content.elements.items.[INDEX].oneOf.3.width.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.3.width","typeLabel":"string | null"},"border_color":{"oneOf":[{"type":"string","description":"CSS border color applied to the image. For example, `#ccc`","uniqueKey":"content.elements.items.[INDEX].oneOf.3.border_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border color applied to the image. For example, `#ccc`","uniqueKey":"content.elements.items.[INDEX].oneOf.3.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.3.border_color","typeLabel":"string | null"},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the image. For example, `1px`","uniqueKey":"content.elements.items.[INDEX].oneOf.3.border_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border width applied to the image. For example, `1px`","uniqueKey":"content.elements.items.[INDEX].oneOf.3.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.3.border_size","typeLabel":"string | null"},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied around the image. For example, `10px`","uniqueKey":"content.elements.items.[INDEX].oneOf.3.padding.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS padding applied around the image. For example, `10px`","uniqueKey":"content.elements.items.[INDEX].oneOf.3.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.3.padding","typeLabel":"string | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.3","typeLabel":"ElementalImageNode · object"},{"type":"object","title":"ElementalActionNode","description":"Allows the user to execute an action. Can be a button or a link.","required":["type","content","href"],"properties":{"type":{"type":"string","enum":["action"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"The text content of the action shown to the user.","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.4.content","typeLabel":"string"},"href":{"type":"string","description":"The target URL of the action.","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.4.href","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.4.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.4.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.4.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.4.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.4.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.4.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.4.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.4.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.4.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.loop","typeLabel":"string | null"},"action_id":{"oneOf":[{"type":"string","description":"A unique id used to identify the action when it is executed.","uniqueKey":"content.elements.items.[INDEX].oneOf.4.action_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"A unique id used to identify the action when it is executed.","uniqueKey":"content.elements.items.[INDEX].oneOf.4.action_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.action_id","typeLabel":"string | null"},"align":{"oneOf":[{"type":"string","title":"IAlignment","description":"The alignment of the action button. Defaults to \"center\".","enum":["center","left","right","full"],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.align.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.4.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.align","typeLabel":"enum\u003cstring> | null"},"background_color":{"oneOf":[{"type":"string","description":"The background color of the action button.","uniqueKey":"content.elements.items.[INDEX].oneOf.4.background_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"The background color of the action button.","uniqueKey":"content.elements.items.[INDEX].oneOf.4.background_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.background_color","typeLabel":"string | null"},"border_radius":{"oneOf":[{"type":"string","description":"CSS border-radius applied to the action button. For example, `4px`","uniqueKey":"content.elements.items.[INDEX].oneOf.4.border_radius.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border-radius applied to the action button. For example, `4px`","uniqueKey":"content.elements.items.[INDEX].oneOf.4.border_radius.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.border_radius","typeLabel":"string | null"},"border_size":{"oneOf":[{"type":"string","description":"CSS border width applied to the action button. For example, `1px`","uniqueKey":"content.elements.items.[INDEX].oneOf.4.border_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border width applied to the action button. For example, `1px`","uniqueKey":"content.elements.items.[INDEX].oneOf.4.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.border_size","typeLabel":"string | null"},"font_size":{"oneOf":[{"type":"string","description":"CSS font-size applied to the action button label. For example, `14px`","uniqueKey":"content.elements.items.[INDEX].oneOf.4.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS font-size applied to the action button label. For example, `14px`","uniqueKey":"content.elements.items.[INDEX].oneOf.4.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.font_size","typeLabel":"string | null"},"padding":{"oneOf":[{"type":"string","description":"CSS padding applied to the action button. For example, `8px 16px`","uniqueKey":"content.elements.items.[INDEX].oneOf.4.padding.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS padding applied to the action button. For example, `8px 16px`","uniqueKey":"content.elements.items.[INDEX].oneOf.4.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.padding","typeLabel":"string | null"},"disable_tracking":{"oneOf":[{"type":"boolean","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace.","uniqueKey":"content.elements.items.[INDEX].oneOf.4.disable_tracking.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true, the action's href is not rewritten for click-through tracking, even when click-through tracking is enabled for the workspace.","uniqueKey":"content.elements.items.[INDEX].oneOf.4.disable_tracking.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.disable_tracking","typeLabel":"boolean | null"},"style":{"oneOf":[{"type":"string","title":"IActionButtonStyle","description":"Defaults to `button`.","enum":["button","secondary","tertiary","link"],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.style.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.4.style.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.style","typeLabel":"enum\u003cstring> | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.4.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.4.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.4.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.4.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.4.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.4","typeLabel":"ElementalActionNode · object"},{"type":"object","title":"ElementalDividerNode","description":"Renders a dividing line between elements.","required":["type"],"properties":{"type":{"type":"string","enum":["divider"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.5.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.5.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.5.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.5.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.5.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.5.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.5.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.5.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.5.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.5.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.5.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.5.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.5.loop","typeLabel":"string | null"},"color":{"oneOf":[{"type":"string","description":"The CSS color to render the line with. For example, `#fff`","uniqueKey":"content.elements.items.[INDEX].oneOf.5.color.oneOf.0","typeLabel":"string"},{"type":"null","description":"The CSS color to render the line with. For example, `#fff`","uniqueKey":"content.elements.items.[INDEX].oneOf.5.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.5.color","typeLabel":"string | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.5","typeLabel":"ElementalDividerNode · object"},{"type":"object","title":"ElementalQuoteNode","description":"Renders a quote block.","required":["type","content"],"properties":{"type":{"type":"string","enum":["quote"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"The text value of the quote.","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.6.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.6.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.6.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.6.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.6.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.6.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.6.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.6.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.6.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.6.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.loop","typeLabel":"string | null"},"align":{"oneOf":[{"title":"IAlignment","type":"string","enum":["center","left","right","full"],"description":"Alignment of the quote.","uniqueKey":"content.elements.items.[INDEX].oneOf.6.align.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"IAlignment","type":"null","enum":["center","left","right","full"],"description":"Alignment of the quote.","uniqueKey":"content.elements.items.[INDEX].oneOf.6.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.align","typeLabel":"enum\u003cstring> | null"},"border_color":{"oneOf":[{"type":"string","description":"CSS border color property. For example, `#fff`","uniqueKey":"content.elements.items.[INDEX].oneOf.6.border_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border color property. For example, `#fff`","uniqueKey":"content.elements.items.[INDEX].oneOf.6.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.border_color","typeLabel":"string | null"},"text_style":{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.text_style","typeLabel":"enum\u003cstring>"},"font_size":{"oneOf":[{"type":"string","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.6.font_size.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS px font size for this quote block, e.g. `16px`. Overrides the size of the `text_style` preset. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.6.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.font_size","typeLabel":"string | null"},"line_height":{"oneOf":[{"type":"string","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.6.line_height.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS line height for this quote block, as a px value or a unitless multiplier, e.g. `24px` or `1.5`. Email only.","uniqueKey":"content.elements.items.[INDEX].oneOf.6.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.line_height","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.6.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.6.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.6.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.6","typeLabel":"ElementalQuoteNode · object"},{"type":"object","title":"ElementalHtmlNode","description":"Raw HTML string inside an Elemental document. When rendering a message, this node is turned into output only for the email channel; for other channels it produces no blocks.","required":["type","content"],"properties":{"type":{"type":"string","enum":["html"],"isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Raw HTML string to render inside the notification.","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.7.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.7.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.7.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"content.elements.items.[INDEX].oneOf.7.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.7.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.7.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.7.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.7.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.7.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.7.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.7.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.7.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"content.elements.items.[INDEX].oneOf.7.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.7.loop","typeLabel":"string | null"},"locales":{"oneOf":[{"title":"Locales","type":"object","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"content.elements.items.[INDEX].oneOf.7.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.7.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.7.locales.oneOf.0","typeLabel":"Locales · object"},{"title":"Locales","type":"null","description":"Region specific content. See [locales docs](https://www.courier.com/docs/platform/content/elemental/locales/) for more details.","additionalProperties":{"title":"Locale","type":"object","properties":{"content":{"type":"string","uniqueKey":"content.elements.items.[INDEX].oneOf.7.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"content.elements.items.[INDEX].oneOf.7.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"content.elements.items.[INDEX].oneOf.7.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"content.elements.items.[INDEX].oneOf.7.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"content.elements.items.[INDEX].oneOf.7","typeLabel":"ElementalHtmlNode · object"}],"uniqueKey":"content.elements.items.[INDEX]","typeLabel":"ElementalTextNode · object | ElementalMetaNode · object | ElementalChannelNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object"},"isRequired":true,"uniqueKey":"content.elements","typeLabel":"(ElementalTextNode · object | ElementalMetaNode · object | ElementalChannelNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object)[]"}},"required":["version","elements"],"description":"Elemental content definition.","isRequired":true,"uniqueKey":"content","typeLabel":"ElementalContent · object"},"id":{"type":"string","description":"The template ID.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"state":{"type":"string","description":"The template state. Always uppercase.","enum":["DRAFT","PUBLISHED"],"isRequired":true,"uniqueKey":"state","typeLabel":"enum\u003cstring>"},"created":{"type":"integer","format":"int64","description":"Epoch milliseconds when the template was created.","isRequired":true,"uniqueKey":"created","typeLabel":"integer\u003cint64>"},"creator":{"type":"string","description":"User ID of the creator.","isRequired":true,"uniqueKey":"creator","typeLabel":"string"},"email":{"oneOf":[{"title":"NotificationTemplateEmail","type":"object","description":"Email header fields for the template's email channel: the From, Reply-to, CC and BCC values set in the Studio email channel settings. Each value may use template variables, such as `{{data.cc}}`, which are resolved at send time.\nReads omit `email` when no header is set, and omit each unset field.\nWrites treat it as optional, with three meanings. Omit it to keep the stored headers. Send null to clear all four. Send an object to replace all four: a field the object leaves out is cleared. Other email channel settings, such as the subject, are kept either way. Headers only apply while `content` has an email channel; with no email channel they are not stored.","properties":{"from":{"type":"string","description":"The From address.","uniqueKey":"email.oneOf.0.from","typeLabel":"string"},"reply_to":{"type":"string","description":"The Reply-to address.","uniqueKey":"email.oneOf.0.reply_to","typeLabel":"string"},"cc":{"type":"array","items":{"type":"string","uniqueKey":"email.oneOf.0.cc.items.[INDEX]","typeLabel":"string"},"description":"CC addresses.","uniqueKey":"email.oneOf.0.cc","typeLabel":"string[]"},"bcc":{"type":"array","items":{"type":"string","uniqueKey":"email.oneOf.0.bcc.items.[INDEX]","typeLabel":"string"},"description":"BCC addresses.","uniqueKey":"email.oneOf.0.bcc","typeLabel":"string[]"}},"uniqueKey":"email.oneOf.0","typeLabel":"NotificationTemplateEmail · object"},{"title":"NotificationTemplateEmail","type":"null","description":"Email header fields for the template's email channel: the From, Reply-to, CC and BCC values set in the Studio email channel settings. Each value may use template variables, such as `{{data.cc}}`, which are resolved at send time.\nReads omit `email` when no header is set, and omit each unset field.\nWrites treat it as optional, with three meanings. Omit it to keep the stored headers. Send null to clear all four. Send an object to replace all four: a field the object leaves out is cleared. Other email channel settings, such as the subject, are kept either way. Headers only apply while `content` has an email channel; with no email channel they are not stored.","properties":{"from":{"type":"string","description":"The From address."},"reply_to":{"type":"string","description":"The Reply-to address."},"cc":{"type":"array","items":{"type":"string"},"description":"CC addresses."},"bcc":{"type":"array","items":{"type":"string"},"description":"BCC addresses."}},"uniqueKey":"email.oneOf.1","typeLabel":"null"}],"uniqueKey":"email","typeLabel":"NotificationTemplateEmail · object | null"},"alias":{"oneOf":[{"type":"string","title":"NotificationTemplateAlias","description":"A template's send-time alias as returned by a read, omitted entirely when it has none. Usually a single string; an array for a template that resolves from several aliases, which writes through this API can no longer produce — only templates predating that restriction, or aliases attached outside this API, hold more than one.","uniqueKey":"alias.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"alias.oneOf.1.items.[INDEX]","typeLabel":"string"},"title":"NotificationTemplateAlias","description":"A template's send-time alias as returned by a read, omitted entirely when it has none. Usually a single string; an array for a template that resolves from several aliases, which writes through this API can no longer produce — only templates predating that restriction, or aliases attached outside this API, hold more than one.","uniqueKey":"alias.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"alias","typeLabel":"string | string[]"},"updated":{"type":"integer","format":"int64","description":"Epoch milliseconds of last update.","uniqueKey":"updated","typeLabel":"integer\u003cint64>"},"updater":{"type":"string","description":"User ID of the last updater.","uniqueKey":"updater","typeLabel":"string"}},"uniqueKey":"","typeLabel":"NotificationTemplateResponse · object"},"examples":{"DraftCreated":{"title":"DraftCreated","value":{"id":"nt_01kx4h2jdafq8bk9aftxak4b40","name":"Welcome Email","tags":["onboarding","welcome"],"brand":{"id":"bnd_01kx4mrd0pfzw8wt7pn7p2fzag"},"subscription":{"topic_id":"pt_01kx4h2jdafq8bk9a26x0kvd1t"},"routing":{"strategy_id":"rs_01kx4h2jdafq8bk9amzvy6hbv0"},"content":{"version":"2022-01-01","elements":[{"type":"channel","channel":"email","elements":[{"type":"meta","title":"Welcome!"},{"type":"text","content":"Hello {{data.name}}."}]}]},"alias":"welcome","state":"DRAFT","created":1710000000000,"creator":"user_abc","updated":1710000000000,"updater":"user_abc"}}},"exampleType":"examples"}},"exampleType":"examples"},"3c8f8707-fd7d-40f2-a816-e357cdd4c514":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","title":"BadRequest","required":["type","message"],"properties":{"message":{"type":"string","description":"A message describing the error that occurred.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"BadRequest · object"},"examples":{"ValidationError":{"title":"ValidationError","value":{"type":"invalid_request_error","message":"notification.name: Required; notification.content: Required"}},"RoutingStrategyNotFound":{"title":"RoutingStrategyNotFound","value":{"type":"invalid_request_error","message":"Routing strategy rs_01kx4kepxgfq9ty3rersxgwk8x not found"}},"AliasReservedPrefix":{"title":"AliasReservedPrefix","value":{"type":"invalid_request_error","message":"alias 'tenant/welcome' cannot start with 'tenant/'"}},"ChannelWrapperRequired":{"title":"ChannelWrapperRequired","value":{"type":"invalid_request_error","message":"notification.content.elements: Template content must place its elements inside a channel block, e.g. { \"type\": \"channel\", \"channel\": \"inbox\", \"elements\": [...] }. Content without one is stored but cannot be opened in the template designer."}}},"exampleType":"examples"}},"exampleType":"examples"},"8ef700bb-29cb-49b4-9440-bc0679b5667f":{"description":"Conflict — the requested alias is already assigned to a different notification template. No template is created.","content":{"application/json":{"schema":{"type":"object","title":"Conflict","required":["type","message"],"properties":{"message":{"type":"string","description":"A message describing the error that occurred.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"Conflict · object"},"examples":{"AliasAlreadyAssigned":{"title":"AliasAlreadyAssigned","value":{"type":"invalid_request_error","message":"Alias 'welcome' is already assigned to notification template nt_01kx4h2jdafq8bk9aftxak4b40"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"eacbc552-5794-4592-8cf7-5a5e6bf4f5cc":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"75d6c353-d9bb-441e-9206-713f2d372aa2":{"url":"https://api.courier.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"openapi-specs/openapi.documented.yml"},"subdomain":"courier-4f1f25dc","siteName":"Courier","title":"Create Notification Template - Courier","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-19T23:07:16.105Z","originalFileLocation":"api-reference/templates/create-notification-template.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a notification template. Requires all fields in the notification object. Templates are created in draft state by default. Content must place its elements inside a channel block — { \u0026quot;type\u0026quot;: \u0026quot;channel\u0026quot;, \u0026quot;channel\u0026quot;: \u0026quot;email\u0026quot;, \u0026quot;elements\u0026quot;: [...] } — or the request returns 400. The template designer renders only the channel block matching the tab it draws, so content stored without one cannot be opened. An empty elements array is accepted, and the requirement applies to creation only: PUT /notifications/{id} still accepts unwrapped content. Note this endpoint takes versioned content only — the { title, body } shorthand accepted by /send is rejected here with an invalid_request_error on notification.content.version.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Courier\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/courier-4f1f25dc/dyGkQZT6Sxn7ts5C/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/courier-4f1f25dc/dyGkQZT6Sxn7ts5C/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/courier-4f1f25dc/dyGkQZT6Sxn7ts5C/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/courier-4f1f25dc/dyGkQZT6Sxn7ts5C/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/courier-4f1f25dc/dyGkQZT6Sxn7ts5C/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/courier-4f1f25dc/dyGkQZT6Sxn7ts5C/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/courier-4f1f25dc/dyGkQZT6Sxn7ts5C/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/courier-4f1f25dc/dyGkQZT6Sxn7ts5C/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/courier-4f1f25dc/dyGkQZT6Sxn7ts5C/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Notification Template - Courier\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a notification template. Requires all fields in the notification object. Templates are created in draft state by default. Content must place its elements inside a channel block — { \u0026quot;type\u0026quot;: \u0026quot;channel\u0026quot;, \u0026quot;channel\u0026quot;: \u0026quot;email\u0026quot;, \u0026quot;elements\u0026quot;: [...] } — or the request returns 400. The template designer renders only the channel block matching the tab it draws, so content stored without one cannot be opened. An empty elements array is accepted, and the requirement applies to creation only: PUT /notifications/{id} still accepts unwrapped content. Note this endpoint takes versioned content only — the { title, body } shorthand accepted by /send is rejected here with an invalid_request_error on notification.content.version.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Courier\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.courier.com/docs/api-reference/templates/create-notification-template\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://courier-4f1f25dc.mintlify.site/docs/_mintlify/api/og/v2?division=Templates\u0026amp;title=Create+Notification+Template\u0026amp;description=Create+a+notification+template.+Requires+all+fields+in+the+notification+object.+Templates+are+created+in+draft+state+by+default.%0A%0AContent+must+place+its+element\u0026amp;theme=fa3857495e51528aa4594a8d\u0026amp;signature=41a0229fb58860078a328cd0f3f4a5a11b45553f595114c8c104d6e788ab8343\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Notification Template - Courier\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a notification template. Requires all fields in the notification object. Templates are created in draft state by default. Content must place its elements inside a channel block — { \u0026quot;type\u0026quot;: \u0026quot;channel\u0026quot;, \u0026quot;channel\u0026quot;: \u0026quot;email\u0026quot;, \u0026quot;elements\u0026quot;: [...] } — or the request returns 400. The template designer renders only the channel block matching the tab it draws, so content stored without one cannot be opened. An empty elements array is accepted, and the requirement applies to creation only: PUT /notifications/{id} still accepts unwrapped content. Note this endpoint takes versioned content only — the { title, body } shorthand accepted by /send is rejected here with an invalid_request_error on notification.content.version.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://courier-4f1f25dc.mintlify.site/docs/_mintlify/api/og/v2?division=Templates\u0026amp;title=Create+Notification+Template\u0026amp;description=Create+a+notification+template.+Requires+all+fields+in+the+notification+object.+Templates+are+created+in+draft+state+by+default.%0A%0AContent+must+place+its+element\u0026amp;theme=fa3857495e51528aa4594a8d\u0026amp;signature=41a0229fb58860078a328cd0f3f4a5a11b45553f595114c8c104d6e788ab8343\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/courier-4f1f25dc/dyGkQZT6Sxn7ts5C/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Courier\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C3AED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.courier.com/docs/api-reference/templates/create-notification-template\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/templates/create-notification-template.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.courier.com/#organization\",\"name\":\"Courier\",\"url\":\"https://www.courier.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/courier-4f1f25dc/xDJPBS8EQ58X_0-v/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=xDJPBS8EQ58X_0-v\u0026q=85\u0026s=2da40366f40ee5623aeabb98e65c6295\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.courier.com/docs#website\",\"name\":\"Courier\",\"url\":\"https://www.courier.com/docs\",\"publisher\":{\"@id\":\"https://www.courier.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.courier.com/docs/api-reference/templates/create-notification-template#webpage\",\"url\":\"https://www.courier.com/docs/api-reference/templates/create-notification-template\",\"name\":\"Create Notification Template\",\"description\":\"Create a notification template. Requires all fields in the notification object. Templates are created in draft state by default. Content must place its elements inside a channel block — { \\\"type\\\": \\\"channel\\\", \\\"channel\\\": \\\"email\\\", \\\"elements\\\": [...] } — or the request returns 400. The template designer renders only the channel block matching the tab it draws, so content stored without one cannot be opened. An empty elements array is accepted, and the requirement applies to creation only: PUT /notifications/{id} still accepts unwrapped content. Note this endpoint takes versioned content only — the { title, body } shorthand accepted by /send is rejected here with an invalid_request_error on notification.content.version.\",\"dateModified\":\"2026-11-19T23:07:16.105Z\",\"isPartOf\":{\"@id\":\"https://www.courier.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.courier.com/docs/api-reference/templates/create-notification-template#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.courier.com/docs/api-reference/templates/create-notification-template#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Templates\",\"item\":\"https://www.courier.com/docs/api-reference/templates/list-notification-templates\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Notification Template\",\"item\":\"https://www.courier.com/docs/api-reference/templates/create-notification-template\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.courier.com/docs/api-reference/templates/create-notification-template#apireference\",\"headline\":\"Create Notification Template\",\"name\":\"Create Notification Template\",\"description\":\"Create a notification template. Requires all fields in the notification object. Templates are created in draft state by default. Content must place its elements inside a channel block — { \\\"type\\\": \\\"channel\\\", \\\"channel\\\": \\\"email\\\", \\\"elements\\\": [...] } — or the request returns 400. The template designer renders only the channel block matching the tab it draws, so content stored without one cannot be opened. An empty elements array is accepted, and the requirement applies to creation only: PUT /notifications/{id} still accepts unwrapped content. Note this endpoint takes versioned content only — the { title, body } shorthand accepted by /send is rejected here with an invalid_request_error on notification.content.version.\",\"url\":\"https://www.courier.com/docs/api-reference/templates/create-notification-template\",\"mainEntityOfPage\":{\"@id\":\"https://www.courier.com/docs/api-reference/templates/create-notification-template#webpage\"},\"dateModified\":\"2026-11-19T23:07:16.105Z\",\"publisher\":{\"@id\":\"https://www.courier.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.courier.com/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/api-reference/templates/create-notification-template.md","siteName":"Courier","nav":{"global":null,"tabs":[{"tab":"Docs","icon":"book","pages":[{"title":"Docs","href":"/overview"}]},{"tab":"Guides","icon":"list-check","pages":[{"title":"Guides","href":"/guides/overview"}]},{"tab":"Integrations","icon":"puzzle-piece","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"In-App","icon":"inbox","pages":[{"title":"In-App","href":"/in-app/overview"}]},{"tab":"SDKs","icon":"cube","pages":[{"title":"SDKs","href":"/sdk-libraries/sdks-overview"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Courier API reference","sidebarTitle":"API reference","mode":"wide","href":"/reference/api-overview"}]},{"group":"Send","pages":[{"title":"Send a message","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /send","href":"/api-reference/send/send-a-message"}]},{"group":"Templates","pages":[{"title":"List Notification Templates","description":"Lists the workspace's notification templates. Each carries a name, tags, brand, routing, and its draft or published state.","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /notifications","href":"/api-reference/templates/list-notification-templates"},{"title":"Create Notification Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /notifications","href":"/api-reference/templates/create-notification-template"},{"title":"Get Notification Template","description":"Retrieve a notification template by ID. Returns the published version by default. Pass version=draft to retrieve an unpublished template.","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /notifications/{id}","href":"/api-reference/templates/get-notification-template"},{"title":"Replace Notification Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /notifications/{id}","href":"/api-reference/templates/replace-notification-template"},{"title":"Archive Notification Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /notifications/{id}","href":"/api-reference/templates/archive-notification-template"},{"title":"List Notification Template Versions","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /notifications/{id}/versions","href":"/api-reference/templates/list-notification-template-versions"},{"title":"Publish Notification Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /notifications/{id}/publish","href":"/api-reference/templates/publish-notification-template"},{"title":"Get Notification Content","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /notifications/{id}/content","href":"/api-reference/templates/get-notification-content"},{"title":"Replace Notification Content","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /notifications/{id}/content","href":"/api-reference/templates/replace-notification-content"},{"title":"Replace Notification Element","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /notifications/{id}/elements/{elementId}","href":"/api-reference/templates/replace-notification-element"},{"title":"Replace Notification Locale","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /notifications/{id}/locales/{localeId}","href":"/api-reference/templates/replace-notification-locale"},{"title":"Get submission checks","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /notifications/{id}/{submissionId}/checks","href":"/api-reference/templates/get-submission-checks"},{"title":"Replace submission checks","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /notifications/{id}/{submissionId}/checks","href":"/api-reference/templates/replace-submission-checks"},{"title":"Cancel submission","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /notifications/{id}/{submissionId}/checks","href":"/api-reference/templates/cancel-submission"},{"title":"Get Notification Template Metrics","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /notifications/{id}/metrics","href":"/api-reference/templates/get-notification-template-metrics"}]},{"group":"Brands","pages":[{"title":"List Brands","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /brands","href":"/api-reference/brands/list-brands"},{"title":"Create a new Brand","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /brands","href":"/api-reference/brands/create-a-new-brand"},{"title":"Get a Brand","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /brands/{brand_id}","href":"/api-reference/brands/get-a-brand"},{"title":"Replace a Brand","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /brands/{brand_id}","href":"/api-reference/brands/replace-a-brand"},{"title":"Delete a Brand","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /brands/{brand_id}","href":"/api-reference/brands/delete-a-brand"}]},{"group":"Routing Strategies","pages":[{"title":"List Routing Strategies","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /routing-strategies","href":"/api-reference/routing-strategies/list-routing-strategies"},{"title":"Create Routing Strategy","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /routing-strategies","href":"/api-reference/routing-strategies/create-routing-strategy"},{"title":"Get Routing Strategy","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /routing-strategies/{id}","href":"/api-reference/routing-strategies/get-routing-strategy"},{"title":"Replace Routing Strategy","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /routing-strategies/{id}","href":"/api-reference/routing-strategies/replace-routing-strategy"},{"title":"Archive Routing Strategy","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /routing-strategies/{id}","href":"/api-reference/routing-strategies/archive-routing-strategy"},{"title":"List notifications for a Routing Strategy","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /routing-strategies/{id}/notifications","href":"/api-reference/routing-strategies/list-notifications-for-a-routing-strategy"}]},{"group":"Journeys","pages":[{"title":"List Journeys","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /journeys","href":"/api-reference/journeys/list-journeys"},{"title":"Create a Journey","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /journeys","href":"/api-reference/journeys/create-a-journey"},{"title":"Cancel Journey runs","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /journeys/cancel","href":"/api-reference/journeys/cancel-journey-runs"},{"title":"List Journey runs","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /journeys/runs","href":"/api-reference/journeys/list-journey-runs"},{"title":"Fetch a Journey run","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /journeys/runs/{run_id}","href":"/api-reference/journeys/fetch-a-journey-run"},{"title":"List steps for a Journey run","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /journeys/runs/{run_id}/steps","href":"/api-reference/journeys/list-steps-for-a-journey-run"},{"title":"Invoke a Journey","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /journeys/{templateId}/invoke","href":"/api-reference/journeys/invoke-a-journey"},{"title":"Fetch a Journey by id","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /journeys/{templateId}","href":"/api-reference/journeys/fetch-a-journey-by-id"},{"title":"Replace a Journey","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /journeys/{templateId}","href":"/api-reference/journeys/replace-a-journey"},{"title":"Archive a Journey","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /journeys/{templateId}","href":"/api-reference/journeys/archive-a-journey"},{"title":"List versions of a Journey","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /journeys/{templateId}/versions","href":"/api-reference/journeys/list-versions-of-a-journey"},{"title":"Publish a Journey","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /journeys/{templateId}/publish","href":"/api-reference/journeys/publish-a-journey"},{"title":"List Notification Templates scoped to a Journey","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /journeys/{templateId}/templates","href":"/api-reference/journeys/list-notification-templates-scoped-to-a-journey"},{"title":"Create a Notification Template scoped to a Journey","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /journeys/{templateId}/templates","href":"/api-reference/journeys/create-a-notification-template-scoped-to-a-journey"},{"title":"Fetch a Journey-scoped Notification Template by id","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /journeys/{templateId}/templates/{notificationId}","href":"/api-reference/journeys/fetch-a-journey-scoped-notification-template-by-id"},{"title":"Replace a Journey-scoped Notification Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /journeys/{templateId}/templates/{notificationId}","href":"/api-reference/journeys/replace-a-journey-scoped-notification-template"},{"title":"Archive a Journey-scoped Notification Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /journeys/{templateId}/templates/{notificationId}","href":"/api-reference/journeys/archive-a-journey-scoped-notification-template"},{"title":"Publish a Journey-scoped Notification Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /journeys/{templateId}/templates/{notificationId}/publish","href":"/api-reference/journeys/publish-a-journey-scoped-notification-template"},{"title":"List versions of a Journey-scoped Notification Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /journeys/{templateId}/templates/{notificationId}/versions","href":"/api-reference/journeys/list-versions-of-a-journey-scoped-notification-template"},{"title":"Fetch the content of a Journey-scoped Notification Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /journeys/{templateId}/templates/{notificationId}/content","href":"/api-reference/journeys/fetch-the-content-of-a-journey-scoped-notification-template"},{"title":"Replace the content of a Journey-scoped Notification Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /journeys/{templateId}/templates/{notificationId}/content","href":"/api-reference/journeys/replace-the-content-of-a-journey-scoped-notification-template"},{"title":"Replace a locale of a Journey-scoped Notification Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /journeys/{templateId}/templates/{notificationId}/locales/{localeId}","href":"/api-reference/journeys/replace-a-locale-of-a-journey-scoped-notification-template"}]},{"group":"Broadcasts","pages":[{"title":"List Broadcasts","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /broadcasts","href":"/api-reference/broadcasts/list-broadcasts"},{"title":"Create Broadcast","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /broadcasts","href":"/api-reference/broadcasts/create-broadcast"},{"title":"Get Broadcast","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /broadcasts/{broadcastId}","href":"/api-reference/broadcasts/get-broadcast"},{"title":"Update Broadcast","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /broadcasts/{broadcastId}","href":"/api-reference/broadcasts/update-broadcast"},{"title":"Archive Broadcast","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /broadcasts/{broadcastId}","href":"/api-reference/broadcasts/archive-broadcast"},{"title":"Duplicate Broadcast","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /broadcasts/{broadcastId}/duplicate","href":"/api-reference/broadcasts/duplicate-broadcast"},{"title":"Send Broadcast","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /broadcasts/{broadcastId}/send","href":"/api-reference/broadcasts/send-broadcast"},{"title":"Schedule Broadcast","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /broadcasts/{broadcastId}/schedule","href":"/api-reference/broadcasts/schedule-broadcast"},{"title":"Cancel Broadcast schedule","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /broadcasts/{broadcastId}/cancel","href":"/api-reference/broadcasts/cancel-broadcast-schedule"},{"title":"Get Broadcast content","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /broadcasts/{broadcastId}/content","href":"/api-reference/broadcasts/get-broadcast-content"},{"title":"Update Broadcast content","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /broadcasts/{broadcastId}/content","href":"/api-reference/broadcasts/update-broadcast-content"}]},{"group":"Previews","pages":[{"title":"List Preview Devices","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /previews/devices","href":"/api-reference/previews/list-preview-devices"},{"title":"List Device Sets","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /previews/device-sets","href":"/api-reference/previews/list-device-sets"},{"title":"Create Device Set","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /previews/device-sets","href":"/api-reference/previews/create-device-set"},{"title":"Get Device Set","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /previews/device-sets/{deviceSetId}","href":"/api-reference/previews/get-device-set"},{"title":"Update Device Set","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /previews/device-sets/{deviceSetId}","href":"/api-reference/previews/update-device-set"},{"title":"Archive Device Set","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /previews/device-sets/{deviceSetId}","href":"/api-reference/previews/archive-device-set"},{"title":"List Preview Runs","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /notifications/{id}/previews/runs","href":"/api-reference/previews/list-preview-runs"},{"title":"Create Preview Run","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /notifications/{id}/previews/runs","href":"/api-reference/previews/create-preview-run"},{"title":"Get Preview Run","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /notifications/{id}/previews/runs/{previewRunId}","href":"/api-reference/previews/get-preview-run"}]},{"group":"User Profiles","pages":[{"title":"Get a Profile","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /profiles/{user_id}","href":"/api-reference/user-profiles/get-a-profile"},{"title":"Replace a Profile","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /profiles/{user_id}","href":"/api-reference/user-profiles/replace-a-profile"},{"title":"Create a Profile","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /profiles/{user_id}","href":"/api-reference/user-profiles/create-a-profile"},{"title":"Delete a Profile","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /profiles/{user_id}","href":"/api-reference/user-profiles/delete-a-profile"},{"title":"Update a Profile","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml patch /profiles/{user_id}","href":"/api-reference/user-profiles/update-a-profile"},{"title":"Get List subscriptions","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /profiles/{user_id}/lists","href":"/api-reference/user-profiles/get-list-subscriptions"},{"title":"Subscribe to one or more Lists","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /profiles/{user_id}/lists","href":"/api-reference/user-profiles/subscribe-to-one-or-more-lists"},{"title":"Delete List subscriptions","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /profiles/{user_id}/lists","href":"/api-reference/user-profiles/delete-list-subscriptions"}]},{"group":"Tenants","pages":[{"title":"Get a Tenant","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /tenants/{tenant_id}","href":"/api-reference/tenants/get-a-tenant"},{"title":"Create or replace a Tenant","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /tenants/{tenant_id}","href":"/api-reference/tenants/create-or-replace-a-tenant"},{"title":"Delete a Tenant","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /tenants/{tenant_id}","href":"/api-reference/tenants/delete-a-tenant"},{"title":"List Tenants","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /tenants","href":"/api-reference/tenants/list-tenants"},{"title":"Get users in Tenant","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /tenants/{tenant_id}/users","href":"/api-reference/tenants/get-users-in-tenant"},{"title":"Create or replace default Preferences for Topic","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /tenants/{tenant_id}/default_preferences/items/{topic_id}","href":"/api-reference/tenants/create-or-replace-default-preferences-for-topic"},{"title":"Remove default Preferences for Topic","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /tenants/{tenant_id}/default_preferences/items/{topic_id}","href":"/api-reference/tenants/remove-default-preferences-for-topic"}]},{"group":"Audiences","pages":[{"title":"Get an Audience","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /audiences/{audience_id}","href":"/api-reference/audiences/get-an-audience"},{"title":"Update an Audience","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /audiences/{audience_id}","href":"/api-reference/audiences/update-an-audience"},{"title":"Delete an Audience","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /audiences/{audience_id}","href":"/api-reference/audiences/delete-an-audience"},{"title":"List Audience members","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /audiences/{audience_id}/members","href":"/api-reference/audiences/list-audience-members"},{"title":"List all Audiences","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /audiences","href":"/api-reference/audiences/list-all-audiences"}]},{"group":"Lists","pages":[{"title":"List Lists","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /lists","href":"/api-reference/lists/list-lists"},{"title":"Get a List","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /lists/{list_id}","href":"/api-reference/lists/get-a-list"},{"title":"Update a List","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /lists/{list_id}","href":"/api-reference/lists/update-a-list"},{"title":"Delete a List","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /lists/{list_id}","href":"/api-reference/lists/delete-a-list"},{"title":"Restore a List","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /lists/{list_id}/restore","href":"/api-reference/lists/restore-a-list"},{"title":"List subscriptions for a List","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /lists/{list_id}/subscriptions","href":"/api-reference/lists/list-subscriptions-for-a-list"},{"title":"Subscribe users to a List","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /lists/{list_id}/subscriptions","href":"/api-reference/lists/subscribe-users-to-a-list"},{"title":"Add subscribers to a List","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /lists/{list_id}/subscriptions","href":"/api-reference/lists/add-subscribers-to-a-list"},{"title":"Subscribe a user Profile to a List","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /lists/{list_id}/subscriptions/{user_id}","href":"/api-reference/lists/subscribe-a-user-profile-to-a-list"},{"title":"Unsubscribe a user Profile from a List","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /lists/{list_id}/subscriptions/{user_id}","href":"/api-reference/lists/unsubscribe-a-user-profile-from-a-list"}]},{"group":"Providers","pages":[{"title":"List Providers","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /providers","href":"/api-reference/providers/list-providers"},{"title":"Create a Provider","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /providers","href":"/api-reference/providers/create-a-provider"},{"title":"List available Provider types","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /providers/catalog","href":"/api-reference/providers/list-available-provider-types"},{"title":"Get a Provider","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /providers/{id}","href":"/api-reference/providers/get-a-provider"},{"title":"Update a Provider","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /providers/{id}","href":"/api-reference/providers/update-a-provider"},{"title":"Delete a Provider","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /providers/{id}","href":"/api-reference/providers/delete-a-provider"},{"title":"Patch a Provider","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml patch /providers/{id}","href":"/api-reference/providers/patch-a-provider"}]},{"group":"Preference Topics","pages":[{"title":"List preference changes","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /preferences/logs","href":"/api-reference/preference-topics/list-preference-changes"},{"title":"Publish Preferences page","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /preferences/publish","href":"/api-reference/preference-topics/publish-preferences-page"},{"title":"List Preference Sections","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /preferences/sections","href":"/api-reference/preference-topics/list-preference-sections"},{"title":"Create a Preference Section","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /preferences/sections","href":"/api-reference/preference-topics/create-a-preference-section"},{"title":"Get a Preference Section","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /preferences/sections/{section_id}","href":"/api-reference/preference-topics/get-a-preference-section"},{"title":"Replace a Preference Section","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /preferences/sections/{section_id}","href":"/api-reference/preference-topics/replace-a-preference-section"},{"title":"Archive a Preference Section","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /preferences/sections/{section_id}","href":"/api-reference/preference-topics/archive-a-preference-section"},{"title":"List Topics in Section","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /preferences/sections/{section_id}/topics","href":"/api-reference/preference-topics/list-topics-in-section"},{"title":"Create Topic in Section","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /preferences/sections/{section_id}/topics","href":"/api-reference/preference-topics/create-topic-in-section"},{"title":"Get Topic in Section","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /preferences/sections/{section_id}/topics/{topic_id}","href":"/api-reference/preference-topics/get-topic-in-section"},{"title":"Replace Topic in Section","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /preferences/sections/{section_id}/topics/{topic_id}","href":"/api-reference/preference-topics/replace-topic-in-section"},{"title":"Archive Topic in Section","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /preferences/sections/{section_id}/topics/{topic_id}","href":"/api-reference/preference-topics/archive-topic-in-section"}]},{"group":"Digests","pages":[{"title":"Delete a topic's digest","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /preferences/sections/{section_id}/topics/{topic_id}/digest","href":"/api-reference/digests/delete-a-topics-digest"},{"title":"Release a recipient's digest","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /preferences/sections/{section_id}/topics/{topic_id}/digest/release","href":"/api-reference/digests/release-a-recipients-digest"},{"title":"Release a digest early","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /digests/schedules/{schedule_id}/trigger","href":"/api-reference/digests/release-a-digest-early"},{"title":"List digest instances","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /digests/schedules/{schedule_id}/instances","href":"/api-reference/digests/list-digest-instances"}]},{"group":"User Preferences","pages":[{"title":"Get user's Preferences","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /users/{user_id}/preferences","href":"/api-reference/user-preferences/get-users-preferences"},{"title":"Replace user Preferences in bulk","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /users/{user_id}/preferences","href":"/api-reference/user-preferences/replace-user-preferences-in-bulk"},{"title":"Update user Preferences in bulk","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /users/{user_id}/preferences","href":"/api-reference/user-preferences/update-user-preferences-in-bulk"},{"title":"Get user Subscription Topic","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /users/{user_id}/preferences/{topic_id}","href":"/api-reference/user-preferences/get-user-subscription-topic"},{"title":"Update or create user Preferences for a Subscription Topic","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /users/{user_id}/preferences/{topic_id}","href":"/api-reference/user-preferences/update-or-create-user-preferences-for-a-subscription-topic"},{"title":"Delete user Subscription Topic","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /users/{user_id}/preferences/{topic_id}","href":"/api-reference/user-preferences/delete-user-subscription-topic"}]},{"group":"Messages","pages":[{"title":"List messages","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /messages","href":"/api-reference/messages/list-messages"},{"title":"Get message","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /messages/{message_id}","href":"/api-reference/messages/get-message"},{"title":"Cancel message","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /messages/{message_id}/cancel","href":"/api-reference/messages/cancel-message"},{"title":"Resend message","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /messages/{message_id}/resend","href":"/api-reference/messages/resend-message"},{"title":"Get message history","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /messages/{message_id}/history","href":"/api-reference/messages/get-message-history"},{"title":"Get message content","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /messages/{message_id}/output","href":"/api-reference/messages/get-message-content"},{"title":"Archive message","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /requests/{request_id}/archive","href":"/api-reference/messages/archive-message"}]},{"group":"Device Tokens","pages":[{"title":"List tokens","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /users/{user_id}/tokens","href":"/api-reference/device-tokens/list-tokens"},{"title":"Add multiple tokens to user","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /users/{user_id}/tokens","href":"/api-reference/device-tokens/add-multiple-tokens-to-user"},{"title":"Get a token","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /users/{user_id}/tokens/{token}","href":"/api-reference/device-tokens/get-a-token"},{"title":"Add a token to a user","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /users/{user_id}/tokens/{token}","href":"/api-reference/device-tokens/add-a-token-to-a-user"},{"title":"Delete user token","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /users/{user_id}/tokens/{token}","href":"/api-reference/device-tokens/delete-user-token"},{"title":"Update a token","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml patch /users/{user_id}/tokens/{token}","href":"/api-reference/device-tokens/update-a-token"}]},{"group":"Tenant Memberships","pages":[{"title":"List a user's Tenants","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /users/{user_id}/tenants","href":"/api-reference/tenant-memberships/list-a-users-tenants"},{"title":"Add a user to multiple Tenants","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /users/{user_id}/tenants","href":"/api-reference/tenant-memberships/add-a-user-to-multiple-tenants"},{"title":"Remove a user from all Tenants","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /users/{user_id}/tenants","href":"/api-reference/tenant-memberships/remove-a-user-from-all-tenants"},{"title":"Add a user to a Tenant","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /users/{user_id}/tenants/{tenant_id}","href":"/api-reference/tenant-memberships/add-a-user-to-a-tenant"},{"title":"Remove user from a Tenant","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /users/{user_id}/tenants/{tenant_id}","href":"/api-reference/tenant-memberships/remove-user-from-a-tenant"}]},{"group":"Tenant Templates","pages":[{"title":"Get a Template in Tenant","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /tenants/{tenant_id}/templates/{template_id}","href":"/api-reference/tenant-templates/get-a-template-in-tenant"},{"title":"Create or update a Tenant Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /tenants/{tenant_id}/templates/{template_id}","href":"/api-reference/tenant-templates/create-or-update-a-tenant-template"},{"title":"Delete a Tenant Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml delete /tenants/{tenant_id}/templates/{template_id}","href":"/api-reference/tenant-templates/delete-a-tenant-template"},{"title":"Publish a Tenant Template","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /tenants/{tenant_id}/templates/{template_id}/publish","href":"/api-reference/tenant-templates/publish-a-tenant-template"},{"title":"Get a Template version","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /tenants/{tenant_id}/templates/{template_id}/versions/{version}","href":"/api-reference/tenant-templates/get-a-template-version"},{"title":"List Templates in Tenant","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /tenants/{tenant_id}/templates","href":"/api-reference/tenant-templates/list-templates-in-tenant"}]},{"group":"Bulk","pages":[{"title":"Create a bulk job","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /bulk","href":"/api-reference/bulk/create-a-bulk-job"},{"title":"Get a job","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /bulk/{job_id}","href":"/api-reference/bulk/get-a-job"},{"title":"Add users","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /bulk/{job_id}","href":"/api-reference/bulk/add-users"},{"title":"Run a job","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /bulk/{job_id}/run","href":"/api-reference/bulk/run-a-job"},{"title":"Get users","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /bulk/{job_id}/users","href":"/api-reference/bulk/get-users"}]},{"group":"Automations","pages":[{"title":"List Automations","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /automations","href":"/api-reference/automations/list-automations"},{"title":"Invoke an Automation","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /automations/{templateId}/invoke","href":"/api-reference/automations/invoke-an-automation"},{"title":"Invoke an ad hoc Automation","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /automations/invoke","href":"/api-reference/automations/invoke-an-ad-hoc-automation"},{"title":"List Automation runs","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /automations/runs","href":"/api-reference/automations/list-automation-runs"},{"title":"List steps for an Automation run","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /automations/runs/{id}/steps","href":"/api-reference/automations/list-steps-for-an-automation-run"}]},{"group":"Translations","pages":[{"title":"Get a Translation","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /translations/{domain}/{locale}","href":"/api-reference/translations/get-a-translation"},{"title":"Update Translations by locale","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml put /translations/{domain}/{locale}","href":"/api-reference/translations/update-translations-by-locale"}]},{"group":"Track Events","pages":[{"title":"Track an event","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /inbound/courier","href":"/api-reference/track-events/track-an-event"}]},{"group":"Audit Events","pages":[{"title":"List Audit Events","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /audit-events","href":"/api-reference/audit-events/list-audit-events"},{"title":"Get an Audit Event","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml get /audit-events/{audit-event-id}","href":"/api-reference/audit-events/get-an-audit-event"}]},{"group":"Authentication","pages":[{"title":"Create a JWT","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /auth/issue-token","href":"/api-reference/authentication/create-a-jwt"}]},{"group":"Feedback","pages":[{"title":"Submit feedback","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /feedback","href":"/api-reference/feedback/submit-feedback"}]}]},{"tab":"Build with AI","icon":"microchip-ai","pages":[{"title":"Build with AI","href":"/get-started/build-with-ai"}]}]},"basePath":"","title":"Create Notification Template - Courier","deploymentId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","buildId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DyP0AOE1.js","snippetPresets-CuYPAUIG.js","utils-ez5j6NBT.js","style-to-object-BY3JEAdk.js","utils-DG4aeUOF.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DFhcMUrP.js","conditional-requirements-CFM0id0Q.js","cloneDeep-ByDTqllG.js","_Uint8Array-CJ2WjX_H.js","isObject-FP1Yky1u.js","Page-CInwEL5w.js","CodeSnippet-CCk6UVRR.js","DynamicMarkdown-CU5QIokU.js","SectionHeading-BoT1NwPU.js","icon-MsvNhD56.js","ApiExamples-fyn9sMD9.js","usePlaygroundInputsStore-Bf0N_Y6L.js","shallow-CnU26VTn.js","isEqual-OWIKZzop.js","CodeSnippets-CZ9-M31v.js","getApiPlaygroundDisplay-BUw5JwZB.js","MethodPill-CC7p0-fp.js","getPastedJson-BOWYR2ND.js","DuplicateIcon-DOWJyC1b.js","createIcon-BsNyCaLY.js","axios-CsQoIw0U.js","Markdown-L0uigQE0.js","AssistantPageLink-Cur5OU4v.js","dist-CLdzWocy.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}