Creates a new bulk job for sending messages to multiple recipients.
Required: message.event (event ID or notification ID)
Optional (V2 format): message.template (notification ID) or message.content (Elemental content)
can be provided to override the notification associated with the event.
POST
/
bulk
JavaScript
import Courier from '@trycourier/courier';
const client = new Courier({
apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted
});
const response = await client.bulk.createJob({
message: {
event: 'welcome-series',
brand: 'bnd_01kx4mrd0pfzw8wt7pn7p2fzag',
data: { campaign: 'spring-2024' },
},
});
console.log(response.jobId);
import os
from courier import Courier
client = Courier(
api_key=os.environ.get("COURIER_API_KEY"), # This is the default and can be omitted
)
response = client.bulk.create_job(
message={
"event": "welcome-series",
"brand": "bnd_01kx4mrd0pfzw8wt7pn7p2fzag",
"data": {
"campaign": "spring-2024"
},
},
)
print(response.job_id)
import Courier from '@trycourier/courier';
const client = new Courier({
apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted
});
const response = await client.bulk.createJob({
message: {
event: 'welcome-series',
brand: 'bnd_01kx4mrd0pfzw8wt7pn7p2fzag',
data: { campaign: 'spring-2024' },
},
});
console.log(response.jobId);
import os
from courier import Courier
client = Courier(
api_key=os.environ.get("COURIER_API_KEY"), # This is the default and can be omitted
)
response = client.bulk.create_job(
message={
"event": "welcome-series",
"brand": "bnd_01kx4mrd0pfzw8wt7pn7p2fzag",
"data": {
"campaign": "spring-2024"
},
},
)
print(response.job_id)
{"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":"6af259e3532e8580a94e3fc7","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":169},{"language":"default","tag":"Docs","count":99},{"language":"default","tag":"Integrations","count":67},{"language":"default","tag":"Available integrations","count":65},{"language":"default","tag":"Guides","count":43},{"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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","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/bulk/create-a-bulk-job","slug":"/api-reference/bulk/create-a-bulk-job","pageMetadata":{"title":"Create a bulk job","description":"Creates a new bulk job for sending messages to multiple recipients.\n\n**Required**: `message.event` (event ID or notification ID)\n\n**Optional (V2 format)**: `message.template` (notification ID) or `message.content` (Elemental content) \ncan be provided to override the notification associated with the event.\n","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /bulk","href":"/api-reference/bulk/create-a-bulk-job","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 strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Creates a new bulk job for sending messages to multiple recipients.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Required\"\n }), \": \", _jsx(_components.code, {\n children: \"message.event\"\n }), \" (event ID or notification ID)\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Optional (V2 format)\"\n }), \": \", _jsx(_components.code, {\n children: \"message.template\"\n }), \" (notification ID) or \", _jsx(_components.code, {\n children: \"message.content\"\n }), \" (Elemental content)\\ncan be provided to override the notification associated with the event.\"]\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 a bulk job","description":"Creates a new bulk job for sending messages to multiple recipients.\n\n**Required**: `message.event` (event ID or notification ID)\n\n**Optional (V2 format)**: `message.template` (notification ID) or `message.content` (Elemental content) \ncan be provided to override the notification associated with the event.\n","deprecated":null,"version":null,"openapi":"/openapi-specs/openapi.documented.yml post /bulk","href":"/api-reference/bulk/create-a-bulk-job","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":{"operationId":"bulk_createJob","tags":["Bulk"],"description":"Creates a new bulk job for sending messages to multiple recipients.\n\n**Required**: `message.event` (event ID or notification ID)\n\n**Optional (V2 format)**: `message.template` (notification ID) or `message.content` (Elemental content) \ncan be provided to override the notification associated with the event.\n","parameters":[],"responses":{"200":"d0ebd5cb-818c-44ce-9642-f3bf4c9d95da","400":"89d3afd0-94d2-488a-92fb-68481b4be7c2"},"summary":"Create a bulk job","security":["586b99bf-c170-468d-be56-5e4d8d448915"],"requestBody":"64cba306-2917-4de1-802f-5e01eaf3a36c","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 response = await client.bulk.createJob({\n message: {\n event: 'welcome-series',\n brand: 'bnd_01kx4mrd0pfzw8wt7pn7p2fzag',\n data: { campaign: 'spring-2024' },\n },\n});\n\nconsole.log(response.jobId);"},{"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)\nresponse = client.bulk.create_job(\n message={\n \"event\": \"welcome-series\",\n \"brand\": \"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\",\n \"data\": {\n \"campaign\": \"spring-2024\"\n },\n },\n)\nprint(response.job_id)"},{"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)\n\nfunc main() {\n\tclient := courier.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.Bulk.NewJob(context.TODO(), courier.BulkNewJobParams{\n\t\tMessage: courier.InboundBulkMessageParam{\n\t\t\tEvent: \"welcome-series\",\n\t\t\tBrand: courier.String(\"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\"),\n\t\t\tData: map[string]any{\n\t\t\t\t\"campaign\": \"spring-2024\",\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\", response.JobID)\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.bulk.BulkCreateJobParams;\nimport com.courier.models.bulk.BulkCreateJobResponse;\nimport com.courier.models.bulk.InboundBulkMessage;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n CourierClient client = CourierOkHttpClient.fromEnv();\n\n BulkCreateJobParams params = BulkCreateJobParams.builder()\n .message(InboundBulkMessage.builder()\n .event(\"welcome-series\")\n .build())\n .build();\n BulkCreateJobResponse response = client.bulk().createJob(params);\n }\n}"},{"lang":"Ruby","source":"require \"courier\"\n\ncourier = Courier::Client.new(api_key: \"My API Key\")\n\nresponse = courier.bulk.create_job(message: {event: \"welcome-series\"})\n\nputs(response)"},{"lang":"PHP","source":"\u003c?php\n\nrequire_once dirname(__DIR__) . '/vendor/autoload.php';\n\nuse Courier\\Client;\nuse Courier\\Core\\Exceptions\\APIException;\n\n$client = new Client(apiKey: getenv('COURIER_API_KEY') ?: 'My API Key');\n\ntry {\n $response = $client->bulk->createJob(\n message: [\n 'event' => 'welcome-series',\n 'brand' => 'bnd_01kx4mrd0pfzw8wt7pn7p2fzag',\n 'content' => ['body' => 'body', 'title' => 'title'],\n 'data' => ['campaign' => 'bar'],\n 'locale' => ['foo' => ['foo' => 'bar']],\n 'override' => ['foo' => 'bar'],\n 'template' => 'template',\n ],\n );\n\n var_dump($response);\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 TryCourier.Models;\nusing TryCourier.Models.Bulk;\n\nCourierClient client = new();\n\nBulkCreateJobParams parameters = new()\n{\n Message = new()\n {\n Event = \"welcome-series\",\n Brand = \"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\",\n Content = new ElementalContentSugar()\n {\n Body = \"body\",\n Title = \"title\",\n },\n Data = new Dictionary\u003cstring, JsonElement>()\n {\n { \"campaign\", JsonSerializer.SerializeToElement(\"bar\") }\n },\n Locale = new Dictionary\u003cstring, IReadOnlyDictionary\u003cstring, JsonElement>>(\n\n )\n {\n { \"foo\", new Dictionary\u003cstring, JsonElement>()\n {\n { \"foo\", JsonSerializer.SerializeToElement(\"bar\") }\n } },\n },\n Override = new Dictionary\u003cstring, JsonElement>()\n {\n { \"foo\", JsonSerializer.SerializeToElement(\"bar\") }\n },\n Template = \"template\",\n },\n};\n\nvar response = await client.Bulk.CreateJob(parameters);\n\nConsole.WriteLine(response);"},{"lang":"CLI","source":"courier bulk create-job \\\n --api-key 'My API Key' \\\n --message '{event: welcome-series}'"}],"method":"post","type":"path","servers":["b69e2e0e-0a8c-454c-902d-7248307da054"],"path":"/bulk","baseUrlOptions":["https://api.courier.com"],"title":"Create a bulk job","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 response = await client.bulk.createJob({\n message: {\n event: 'welcome-series',\n brand: 'bnd_01kx4mrd0pfzw8wt7pn7p2fzag',\n data: { campaign: 'spring-2024' },\n },\n});\n\nconsole.log(response.jobId);"},{"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)\nresponse = client.bulk.create_job(\n message={\n \"event\": \"welcome-series\",\n \"brand\": \"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\",\n \"data\": {\n \"campaign\": \"spring-2024\"\n },\n },\n)\nprint(response.job_id)"},{"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)\n\nfunc main() {\n\tclient := courier.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.Bulk.NewJob(context.TODO(), courier.BulkNewJobParams{\n\t\tMessage: courier.InboundBulkMessageParam{\n\t\t\tEvent: \"welcome-series\",\n\t\t\tBrand: courier.String(\"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\"),\n\t\t\tData: map[string]any{\n\t\t\t\t\"campaign\": \"spring-2024\",\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\", response.JobID)\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.bulk.BulkCreateJobParams;\nimport com.courier.models.bulk.BulkCreateJobResponse;\nimport com.courier.models.bulk.InboundBulkMessage;\n\npublic final class Main {\n private Main() {}\n\n public static void main(String[] args) {\n CourierClient client = CourierOkHttpClient.fromEnv();\n\n BulkCreateJobParams params = BulkCreateJobParams.builder()\n .message(InboundBulkMessage.builder()\n .event(\"welcome-series\")\n .build())\n .build();\n BulkCreateJobResponse response = client.bulk().createJob(params);\n }\n}"},{"lang":"Ruby","source":"require \"courier\"\n\ncourier = Courier::Client.new(api_key: \"My API Key\")\n\nresponse = courier.bulk.create_job(message: {event: \"welcome-series\"})\n\nputs(response)"},{"lang":"PHP","source":"\u003c?php\n\nrequire_once dirname(__DIR__) . '/vendor/autoload.php';\n\nuse Courier\\Client;\nuse Courier\\Core\\Exceptions\\APIException;\n\n$client = new Client(apiKey: getenv('COURIER_API_KEY') ?: 'My API Key');\n\ntry {\n $response = $client->bulk->createJob(\n message: [\n 'event' => 'welcome-series',\n 'brand' => 'bnd_01kx4mrd0pfzw8wt7pn7p2fzag',\n 'content' => ['body' => 'body', 'title' => 'title'],\n 'data' => ['campaign' => 'bar'],\n 'locale' => ['foo' => ['foo' => 'bar']],\n 'override' => ['foo' => 'bar'],\n 'template' => 'template',\n ],\n );\n\n var_dump($response);\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 TryCourier.Models;\nusing TryCourier.Models.Bulk;\n\nCourierClient client = new();\n\nBulkCreateJobParams parameters = new()\n{\n Message = new()\n {\n Event = \"welcome-series\",\n Brand = \"bnd_01kx4mrd0pfzw8wt7pn7p2fzag\",\n Content = new ElementalContentSugar()\n {\n Body = \"body\",\n Title = \"title\",\n },\n Data = new Dictionary\u003cstring, JsonElement>()\n {\n { \"campaign\", JsonSerializer.SerializeToElement(\"bar\") }\n },\n Locale = new Dictionary\u003cstring, IReadOnlyDictionary\u003cstring, JsonElement>>(\n\n )\n {\n { \"foo\", new Dictionary\u003cstring, JsonElement>()\n {\n { \"foo\", JsonSerializer.SerializeToElement(\"bar\") }\n } },\n },\n Override = new Dictionary\u003cstring, JsonElement>()\n {\n { \"foo\", JsonSerializer.SerializeToElement(\"bar\") }\n },\n Template = \"template\",\n },\n};\n\nvar response = await client.Bulk.CreateJob(parameters);\n\nConsole.WriteLine(response);"},{"lang":"CLI","source":"courier bulk create-job \\\n --api-key 'My API Key' \\\n --message '{event: welcome-series}'"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"title":"InboundBulkMessage","type":"object","description":"Bulk message definition. Supports two formats:\n- V1 format: Requires `event` field (event ID or notification ID)\n- V2 format: Optionally use `template` (notification ID) or `content` (Elemental content) in addition to `event`\n","properties":{"event":{"type":"string","description":"Event ID or Notification ID (required). Can be either a \nNotification ID (e.g., \"FRH3QXM9E34W4RKP7MRC8NZ1T8V8\") or a custom Event ID \n(e.g., \"welcome-email\") mapped to a notification.\n","isRequired":true,"uniqueKey":"message.event","typeLabel":"string"},"brand":{"oneOf":[{"type":"string","uniqueKey":"message.brand.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.brand.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.brand","typeLabel":"string | null"},"data":{"oneOf":[{"type":"object","additionalProperties":true,"uniqueKey":"message.data.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"uniqueKey":"message.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.data","typeLabel":"object | null"},"template":{"oneOf":[{"type":"string","description":"Notification ID or template ID (optional, for V2 format). When provided, \nthis will be used instead of the notification associated with the `event` field.\n","uniqueKey":"message.template.oneOf.0","typeLabel":"string"},{"type":"null","description":"Notification ID or template ID (optional, for V2 format). When provided, \nthis will be used instead of the notification associated with the `event` field.\n","uniqueKey":"message.template.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.template","typeLabel":"string | null"},"content":{"oneOf":[{"type":"object","title":"ElementalContentSugar","description":"Syntactic sugar to provide a fast shorthand for Courier Elemental Blocks.","required":["title","body"],"properties":{"title":{"type":"string","description":"Title/subject displayed by supported channels.","isRequired":true,"uniqueKey":"message.content.oneOf.0.title","typeLabel":"string"},"body":{"type":"string","description":"The text content displayed in the notification.","isRequired":true,"uniqueKey":"message.content.oneOf.0.body","typeLabel":"string"}},"uniqueKey":"message.content.oneOf.0","typeLabel":"ElementalContentSugar · object"},{"type":"object","title":"ElementalContent","description":"Elemental content (optional, for V2 format). When provided, this will be used \ninstead of the notification associated with the `event` field.\n","required":["version","elements"],"properties":{"version":{"type":"string","description":"For example, \"2022-01-01\"","isRequired":true,"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.content","typeLabel":"string"},"align":{"title":"TextAlign","type":"string","enum":["left","center","right"],"description":"Text alignment.","uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.text_style.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.color","typeLabel":"string | null"},"bold":{"oneOf":[{"type":"string","description":"Apply bold to the text","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.bold.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply bold to the text","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.bold.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.bold","typeLabel":"string | null"},"italic":{"oneOf":[{"type":"string","description":"Apply italics to the text","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.italic.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply italics to the text","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.italic.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.italic","typeLabel":"string | null"},"strikethrough":{"oneOf":[{"type":"string","description":"Apply a strike through the text","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.strikethrough.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply a strike through the text","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.strikethrough.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.strikethrough","typeLabel":"string | null"},"underline":{"oneOf":[{"type":"string","description":"Apply an underline to the text","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.underline.oneOf.0","typeLabel":"string"},{"type":"null","description":"Apply an underline to the text","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.underline.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.locales","typeLabel":"Locales · object | null"},"format":{"oneOf":[{"type":"string","enum":["markdown"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.format.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["markdown"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.format.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.0.format","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.1.title","typeLabel":"string | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.channel","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.text_style.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.bold.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.italic.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.strikethrough.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.underline.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.locales","typeLabel":"Locales · object | null"},"format":{"oneOf":[{"type":"string","enum":["markdown"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.format.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["markdown"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.format.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.0.format","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.1.title","typeLabel":"string | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.src","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.href.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.alt_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.width.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.2.padding","typeLabel":"string | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.href","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.action_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.align.oneOf.0","typeLabel":"any"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.background_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_radius.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.disable_tracking.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.style.oneOf.0","typeLabel":"any"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.style.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.3.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.4.color","typeLabel":"string | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.5.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.0.items.[INDEX].oneOf.6","typeLabel":"ElementalHtmlNode · object"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.elements.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.raw.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.2.raw","typeLabel":"object | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"src":{"type":"string","description":"The source of the image.","isRequired":true,"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.src","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.href.oneOf.0","typeLabel":"string"},{"type":"null","description":"A URL to link to when the image is clicked.","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.href.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.align","typeLabel":"enum\u003cstring> | null"},"alt_text":{"oneOf":[{"type":"string","description":"Alternate text for the image.","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.alt_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Alternate text for the image.","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.alt_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.width.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.padding.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS padding applied around the image. For example, `10px`","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.3.padding","typeLabel":"string | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.content","typeLabel":"string"},"href":{"type":"string","description":"The target URL of the action.","isRequired":true,"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.href","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.action_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.align.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.align","typeLabel":"enum\u003cstring> | null"},"background_color":{"oneOf":[{"type":"string","description":"The background color of the action button.","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.background_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"The background color of the action button.","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.background_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.border_radius.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.border_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.padding.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.disable_tracking.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.style.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.style.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.4.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.color.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.5.color","typeLabel":"string | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"The text value of the quote.","isRequired":true,"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.align.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.align","typeLabel":"enum\u003cstring> | null"},"border_color":{"oneOf":[{"type":"string","description":"CSS border color property. For example, `#fff`","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.border_color.oneOf.0","typeLabel":"string"},{"type":"null","description":"CSS border color property. For example, `#fff`","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.border_color.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.border_color","typeLabel":"string | null"},"text_style":{"title":"TextStyle","type":"string","enum":["text","h1","h2","subtext"],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.font_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.line_height.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.6.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"content":{"type":"string","description":"Raw HTML string to render inside the notification.","isRequired":true,"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.content","typeLabel":"string"},"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.channels","typeLabel":"string[] | null"},"ref":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.ref.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.ref","typeLabel":"string | null"},"if":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.if.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.if.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.if","typeLabel":"string | null"},"loop":{"oneOf":[{"type":"string","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.loop.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.loop.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.locales.oneOf.0.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.locales.oneOf.0.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.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":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.locales.oneOf.1.additionalProperties.content","typeLabel":"string"}},"required":["content"],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.locales.oneOf.1.additionalProperties","typeLabel":"Locale · object"},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.locales.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7.locales","typeLabel":"Locales · object | null"}},"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX].oneOf.7","typeLabel":"ElementalHtmlNode · object"}],"uniqueKey":"message.content.oneOf.1.elements.items.[INDEX]","typeLabel":"ElementalTextNode · object | ElementalMetaNode · object | ElementalChannelNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object"},"isRequired":true,"uniqueKey":"message.content.oneOf.1.elements","typeLabel":"(ElementalTextNode · object | ElementalMetaNode · object | ElementalChannelNode · object | ElementalImageNode · object | ElementalActionNode · object | ElementalDividerNode · object | ElementalQuoteNode · object | ElementalHtmlNode · object)[]"}},"uniqueKey":"message.content.oneOf.1","typeLabel":"ElementalContent · object"},{"type":"null","uniqueKey":"message.content.oneOf.2","typeLabel":"null"}],"uniqueKey":"message.content","typeLabel":"ElementalContentSugar · object | ElementalContent · object | null"},"locale":{"oneOf":[{"type":"object","additionalProperties":{"type":"object","additionalProperties":true,"uniqueKey":"message.locale.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"message.locale.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"object","additionalProperties":true,"uniqueKey":"message.locale.oneOf.1.additionalProperties","typeLabel":"object"},"uniqueKey":"message.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.locale","typeLabel":"object | null"},"override":{"oneOf":[{"type":"object","additionalProperties":true,"uniqueKey":"message.override.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"uniqueKey":"message.override.oneOf.1","typeLabel":"null"}],"uniqueKey":"message.override","typeLabel":"object | null"}},"required":["event"],"isRequired":true,"uniqueKey":"message","typeLabel":"InboundBulkMessage · object"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":{"event":"welcome-series","brand":"bnd_01kx4mrd0pfzw8wt7pn7p2fzag","data":{"campaign":"spring-2024"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"d0ebd5cb-818c-44ce-9642-f3bf4c9d95da":{"description":"","content":{"application/json":{"schema":{"title":"BulkCreateJobResponse","type":"object","properties":{"jobId":{"type":"string","isRequired":true,"uniqueKey":"jobId","typeLabel":"string"}},"required":["jobId"],"uniqueKey":"","typeLabel":"BulkCreateJobResponse · object"},"examples":{"Example":{"title":"Example","value":{"jobId":"1-61e9f29c-c4a93e9c11dd83c690bb14f7"}}},"exampleType":"examples"}},"exampleType":"examples"},"89d3afd0-94d2-488a-92fb-68481b4be7c2":{"description":"","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":{"Example":{"title":"Example","value":{"message":"Example message text","type":"invalid_request_error"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"586b99bf-c170-468d-be56-5e4d8d448915":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"b69e2e0e-0a8c-454c-902d-7248307da054":{"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 a bulk job - Courier","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T23:40:28.608Z","originalFileLocation":"api-reference/bulk/create-a-bulk-job.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=\"Creates a new bulk job for sending messages to multiple recipients. Required: message.event (event ID or notification ID) Optional (V2 format): message.template (notification ID) or message.content (Elemental content) can be provided to override the notification associated with the event.\">\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 a bulk job - Courier\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new bulk job for sending messages to multiple recipients. Required: message.event (event ID or notification ID) Optional (V2 format): message.template (notification ID) or message.content (Elemental content) can be provided to override the notification associated with the event.\">\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/bulk/create-a-bulk-job\">\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=Bulk\u0026amp;title=Create+a+bulk+job\u0026amp;description=Creates+a+new+bulk+job+for+sending+messages+to+multiple+recipients.%0A%0A**Required**%3A+%60message.event%60+%28event+ID+or+notification+ID%29%0A%0A**Optional+%28V2+format%29**%3A+%60mes\u0026amp;theme=fa3857495e51528aa4594a8d\u0026amp;signature=58f268a338601beedc581af9ed9f4cdc5c1c53fea75d7efd002da192b4f52abf\">\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 a bulk job - Courier\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new bulk job for sending messages to multiple recipients. Required: message.event (event ID or notification ID) Optional (V2 format): message.template (notification ID) or message.content (Elemental content) can be provided to override the notification associated with the event.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://courier-4f1f25dc.mintlify.site/docs/_mintlify/api/og/v2?division=Bulk\u0026amp;title=Create+a+bulk+job\u0026amp;description=Creates+a+new+bulk+job+for+sending+messages+to+multiple+recipients.%0A%0A**Required**%3A+%60message.event%60+%28event+ID+or+notification+ID%29%0A%0A**Optional+%28V2+format%29**%3A+%60mes\u0026amp;theme=fa3857495e51528aa4594a8d\u0026amp;signature=58f268a338601beedc581af9ed9f4cdc5c1c53fea75d7efd002da192b4f52abf\">\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/bulk/create-a-bulk-job\">\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/bulk/create-a-bulk-job.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/bulk/create-a-bulk-job#webpage\",\"url\":\"https://www.courier.com/docs/api-reference/bulk/create-a-bulk-job\",\"name\":\"Create a bulk job\",\"description\":\"Creates a new bulk job for sending messages to multiple recipients. Required: message.event (event ID or notification ID) Optional (V2 format): message.template (notification ID) or message.content (Elemental content) can be provided to override the notification associated with the event.\",\"dateModified\":\"2026-11-09T23:40:28.608Z\",\"isPartOf\":{\"@id\":\"https://www.courier.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.courier.com/docs/api-reference/bulk/create-a-bulk-job#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.courier.com/docs/api-reference/bulk/create-a-bulk-job#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Courier\",\"item\":\"https://www.courier.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a bulk job\",\"item\":\"https://www.courier.com/docs/api-reference/bulk/create-a-bulk-job\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.courier.com/docs/api-reference/bulk/create-a-bulk-job#apireference\",\"headline\":\"Create a bulk job\",\"name\":\"Create a bulk job\",\"description\":\"Creates a new bulk job for sending messages to multiple recipients. Required: message.event (event ID or notification ID) Optional (V2 format): message.template (notification ID) or message.content (Elemental content) can be provided to override the notification associated with the event.\",\"url\":\"https://www.courier.com/docs/api-reference/bulk/create-a-bulk-job\",\"mainEntityOfPage\":{\"@id\":\"https://www.courier.com/docs/api-reference/bulk/create-a-bulk-job#webpage\"},\"dateModified\":\"2026-11-09T23:40:28.608Z\",\"publisher\":{\"@id\":\"https://www.courier.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.courier.com/docs#website\"}}]}\u003c/script>","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","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","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","description":"Lists a tenant's notification templates, each carrying its version and published timestamp. Paged.","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","description":"Returns a bulk job's message definition, its status — CREATED, PROCESSING, COMPLETED, or ERROR — and running counts of users received, messages enqueued, and failures. Poll it to follow a job through to completion.","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"}]}]},{"tab":"Build with AI","icon":"microchip-ai","pages":[{"title":"Build with AI","href":"/get-started/build-with-ai"}]}]},"basePath":"","title":"Create a bulk job - Courier","buildId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","deploymentId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CW3yP2DK.js","utils-BN0nty2W.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C8_MydSG.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bsl5xDMQ.js","snippetPresets-DYv9OBej.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-CBlOSKZG.js","ApiExamples-9OnYPrVf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-xr67xWGO.js","shallow-DO1aDdBF.js","getApiPlaygroundDisplay-o7cLzFL-.js","CodeSnippet-CGr2yOA8.js","CodeSnippets-CzBbqPNh.js","getPastedJson-dpi9sn5Y.js","icon-aIWHt8Pn.js","MethodPill-Bv2zLsGY.js","DuplicateIcon-DxFSz0J6.js","createIcon-uDNv6jwj.js","DynamicMarkdown-C91yhnNP.js","SectionHeading-DG_xjOLR.js","axios-vUo_bRtp.js","Markdown-B4M_Eo1P.js","clsx-DShopWo_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BX6wab7q.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-48h67xm_.js"]}