{ "version": 1, "subject": "Your order 1042 has shipped", "html": "<p>Hi Thandi <script>,</p><p>Order <b>1042</b> arrives by {{eta}}.</p>", "text": "Hi Thandi <script>, order 1042 arrives by {{eta}}.", "missing": [ "eta" ]}
{
"error": {
"code": "not_found",
"message": "No email with id em_x.",
"docs": "https://docs.sendbaze.com/errors#not_found"
}
}
Templates
Preview a render
The subject, html and text a send with these variables would produce. Placeholders you leave out are listed
under missing and left in place, so partial previews still render. Requires read.
Placeholders the variables did not cover; left as {{name}} in the output.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sendbaze","description":"Transactional email and SMS API for Africa. Send from your own domain, from servers on the continent, with webhooks, templates, suppressions and a dashboard.","colors":{"primary":"#4D7CFF","light":"#8FD6FF","dark":"#4D7CFF"},"logo":{"light":"https://mintcdn.com/sendbaze-e4685166/qQClJyyt7LIRtxE9/logo/light.svg?fit=max\u0026auto=format\u0026n=qQClJyyt7LIRtxE9\u0026q=85\u0026s=ad3774129b02e31998cf4d4b68faa6c4","dark":"https://mintcdn.com/sendbaze-e4685166/qQClJyyt7LIRtxE9/logo/dark.svg?fit=max\u0026auto=format\u0026n=qQClJyyt7LIRtxE9\u0026q=85\u0026s=996553666d3645f8510736df07dfd91b","href":"https://www.sendbaze.com"},"favicon":"https://mintcdn.com/sendbaze-e4685166/qQClJyyt7LIRtxE9/favicon.svg?fit=max\u0026auto=format\u0026n=qQClJyyt7LIRtxE9\u0026q=85\u0026s=6cbee94d357b57a8ce76524cdffd13bc","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python","ruby","php","go"]}},"appearance":{"default":"dark","strict":false},"background":{"decoration":"gradient","color":{"light":"#F5F7FF","dark":"#04060D"}},"navbar":{"links":[{"href":"https://dashboard.sendbaze.com","label":"Sign in"}],"primary":{"type":"button","label":"Get started","href":"https://www.sendbaze.com/sign-up"}},"footer":{"socials":{"github":"https://github.com/sendbaze","website":"https://www.sendbaze.com"}},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Inter"}},"styling":{"codeblocks":"dark","latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dashboard.sendbaze.com"},{"anchor":"Status","icon":"signal","href":"https://www.sendbaze.com/status"},{"anchor":"Support","icon":"envelope","href":"mailto:support@sendbaze.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sendbaze-e4685166","hasAudioNarration":false,"actualSubdomain":"sendbaze-e4685166","customDomains":["docs.sendbaze.com"],"gitSource":{"type":"github","owner":"leossaini","repo":"sendbaze","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ae371adcacd1c86dbd6e99f","collectionId":"e4644757-a9be-4bcc-959f-aa0bfd3eddce","liveDeploymentHistoryId":"6ae371adcacd1c86dbd6e99f","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae371adcacd1c86dbd6e99f","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API reference","count":40},{"language":"default","tag":"Documentation","count":36},{"language":"default","tag":"Learn","count":19},{"language":"default","tag":"Get started","count":12},{"language":"default","tag":"Webhooks","count":12},{"language":"default","tag":"Domains","count":8},{"language":"default","tag":"Sending","count":8},{"language":"default","tag":"Sending examples","count":7},{"language":"default","tag":"Templates","count":7},{"language":"default","tag":"Resources","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":true},"customCss":[],"page":{"pagePath":"api-reference/templates/preview-a-render","slug":"/api-reference/templates/preview-a-render","pageMetadata":{"title":"Preview a render","description":"The subject, html and text a send with these variables would produce. Placeholders you leave out are listed\nunder `missing` and left in place, so partial previews still render. Requires `read`.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/templates/{id}/render","href":"/api-reference/templates/preview-a-render","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"The subject, html and text a send with these variables would produce. Placeholders you leave out are listed\\nunder \", _jsx(_components.code, {\n children: \"missing\"\n }), \" and left in place, so partial previews still render. Requires \", _jsx(_components.code, {\n children: \"read\"\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":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Preview a render","description":"The subject, html and text a send with these variables would produce. Placeholders you leave out are listed\nunder `missing` and left in place, so partial previews still render. Requires `read`.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/templates/{id}/render","href":"/api-reference/templates/preview-a-render","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Templates"],"summary":"Preview a render","operationId":"renderTemplate","description":"The subject, html and text a send with these variables would produce. Placeholders you leave out are listed\nunder `missing` and left in place, so partial previews still render. Requires `read`.\n","parameters":["b3d1e040-51f9-4ff8-97f9-f092bd836d3d"],"requestBody":"fa38164e-ebb3-4720-bd6c-847846a226d3","responses":{"200":"3ae5579c-8077-4a34-8656-ce1f45d4ff61","404":"942c86b2-22b0-44ab-9bb8-6124a1043edd"},"method":"post","type":"path","servers":["99d1150c-abf8-43d0-8330-83dbd0837882"],"security":["ff7b157a-6930-432d-86e5-ece197dd1fbb"],"path":"/v1/templates/{id}/render","baseUrlOptions":["https://api.sendbaze.com"],"title":"Preview a render","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","ruby","php","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"b3d1e040-51f9-4ff8-97f9-f092bd836d3d":{"name":"id","in":"path","required":true,"schema":{"type":"string","example":"tpl_01j9x7k2r4m8q3v5n6b7c8d9e0","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"variables":{"type":"object","description":"String, number or boolean values keyed by placeholder name.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"variables.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"variables.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"variables.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"variables.additionalProperties","typeLabel":"string | number | boolean"},"uniqueKey":"variables","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"variables":{"name":"Thandi \u003cscript>","order_id":1042}},"examples":{"Example":{"title":"Example","value":{"variables":{"name":"Thandi \u003cscript>","order_id":1042}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"3ae5579c-8077-4a34-8656-ce1f45d4ff61":{"description":"The render","content":{"application/json":{"schema":{"type":"object","required":["version","subject","html","text","missing"],"properties":{"version":{"type":"integer","isRequired":true,"uniqueKey":"version","typeLabel":"integer"},"subject":{"type":"string","isRequired":true,"uniqueKey":"subject","typeLabel":"string"},"html":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"html.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"html.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"html","typeLabel":"string | null"},"text":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"text.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"text.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"text","typeLabel":"string | null"},"missing":{"type":"array","description":"Placeholders the variables did not cover; left as `{{name}}` in the output.","items":{"type":"string","uniqueKey":"missing.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"missing","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"version":1,"subject":"Your order 1042 has shipped","html":"\u003cp>Hi Thandi \u0026lt;script\u0026gt;,\u003c/p>\u003cp>Order \u003cb>1042\u003c/b> arrives by {{eta}}.\u003c/p>","text":"Hi Thandi \u003cscript>, order 1042 arrives by {{eta}}.","missing":["eta"]},"examples":{"Example":{"title":"Example","value":{"version":1,"subject":"Your order 1042 has shipped","html":"\u003cp>Hi Thandi \u0026lt;script\u0026gt;,\u003c/p>\u003cp>Order \u003cb>1042\u003c/b> arrives by {{eta}}.\u003c/p>","text":"Hi Thandi \u003cscript>, order 1042 arrives by {{eta}}.","missing":["eta"]}}},"exampleType":"examples"}},"exampleType":"examples"},"942c86b2-22b0-44ab-9bb8-6124a1043edd":{"description":"No such resource in your organisation","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable error code; see the errors reference.","example":"validation_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"docs":{"type":"string","format":"uri","uniqueKey":"error.docs","typeLabel":"string\u003curi>"},"fields":{"type":"object","description":"Present on validation errors. Dotted path to messages.","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"error.fields.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"error.fields.additionalProperties","typeLabel":"string[]"},"uniqueKey":"error.fields","typeLabel":"object"},"limit":{"type":"integer","description":"On `plan_limit`, the ceiling that was reached.","uniqueKey":"error.limit","typeLabel":"integer"},"upgradeUrl":{"type":"string","format":"uri","description":"Where to change plan, when a bigger plan would have allowed the request.","uniqueKey":"error.upgradeUrl","typeLabel":"string\u003curi>"},"topUpUrl":{"type":"string","format":"uri","description":"Where to add wallet funds, when a balance would have allowed the request.","uniqueKey":"error.topUpUrl","typeLabel":"string\u003curi>"},"settingsUrl":{"type":"string","format":"uri","description":"Where to change an organisation setting that blocked the request (SMS destinations).","uniqueKey":"error.settingsUrl","typeLabel":"string\u003curi>"},"domainsUrl":{"type":"string","format":"uri","description":"Where to add and verify a sending domain, on `sandbox_recipient_not_allowed` and `sandbox_limit_reached`.","uniqueKey":"error.domainsUrl","typeLabel":"string\u003curi>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"not_found","message":"No email with id em_x.","docs":"https://docs.sendbaze.com/errors#not_found"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"not_found","message":"No email with id em_x.","docs":"https://docs.sendbaze.com/errors#not_found"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ff7b157a-6930-432d-86e5-ece197dd1fbb":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An API key from the dashboard. `sk_live_…` sends; `sk_test_…` validates and returns ids without sending.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"99d1150c-abf8-43d0-8330-83dbd0837882":{"url":"https://api.sendbaze.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key from the dashboard. `sk_live_…` sends; `sk_test_…` validates and returns ids without sending.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key from the dashboard. `sk_live_…` sends; `sk_test_…` validates and returns ids without sending.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"sendbaze-e4685166","siteName":"Sendbaze","title":"Preview a render - Sendbaze","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T18:37:56.546Z","originalFileLocation":"api-reference/templates/preview-a-render.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=\"dark\"}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=\"The subject, html and text a send with these variables would produce. Placeholders you leave out are listed under missing and left in place, so partial previews still render. Requires read.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sendbaze\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_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=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Preview a render - Sendbaze\">\u003cmeta data-mint-head property=\"og:description\" content=\"The subject, html and text a send with these variables would produce. Placeholders you leave out are listed under missing and left in place, so partial previews still render. Requires read.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sendbaze\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sendbaze.com/api-reference/templates/preview-a-render\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sendbaze-e4685166.mintlify.site/_mintlify/api/og/v2?division=Templates\u0026amp;title=Preview+a+render\u0026amp;description=The+subject%2C+html+and+text+a+send+with+these+variables+would+produce.+Placeholders+you+leave+out+are+listed%0Aunder+%60missing%60+and+left+in+place%2C+so+partial+previe\u0026amp;theme=e0a16bd18abb95d7926b3870\u0026amp;signature=6fad60774d9e7c1768e50b6672454e1e6690cb6ecacad8032844aa7ee02bee83\">\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=\"Preview a render - Sendbaze\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The subject, html and text a send with these variables would produce. Placeholders you leave out are listed under missing and left in place, so partial previews still render. Requires read.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sendbaze-e4685166.mintlify.site/_mintlify/api/og/v2?division=Templates\u0026amp;title=Preview+a+render\u0026amp;description=The+subject%2C+html+and+text+a+send+with+these+variables+would+produce.+Placeholders+you+leave+out+are+listed%0Aunder+%60missing%60+and+left+in+place%2C+so+partial+previe\u0026amp;theme=e0a16bd18abb95d7926b3870\u0026amp;signature=6fad60774d9e7c1768e50b6672454e1e6690cb6ecacad8032844aa7ee02bee83\">\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=\"/mintlify-assets/_mintlify/favicons/sendbaze-e4685166/EerGTJNPOdlOkMSC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sendbaze\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4D7CFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sendbaze.com/api-reference/templates/preview-a-render\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/templates/preview-a-render.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sendbaze.com/#organization\",\"name\":\"Sendbaze\",\"url\":\"https://docs.sendbaze.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sendbaze-e4685166/qQClJyyt7LIRtxE9/logo/light.svg?fit=max\u0026auto=format\u0026n=qQClJyyt7LIRtxE9\u0026q=85\u0026s=ad3774129b02e31998cf4d4b68faa6c4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sendbaze.com#website\",\"name\":\"Sendbaze\",\"url\":\"https://docs.sendbaze.com\",\"publisher\":{\"@id\":\"https://docs.sendbaze.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sendbaze.com/api-reference/templates/preview-a-render#webpage\",\"url\":\"https://docs.sendbaze.com/api-reference/templates/preview-a-render\",\"name\":\"Preview a render\",\"description\":\"The subject, html and text a send with these variables would produce. Placeholders you leave out are listed under missing and left in place, so partial previews still render. Requires read.\",\"dateModified\":\"2026-10-26T18:37:56.546Z\",\"isPartOf\":{\"@id\":\"https://docs.sendbaze.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sendbaze.com/api-reference/templates/preview-a-render#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sendbaze.com/api-reference/templates/preview-a-render#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Templates\",\"item\":\"https://docs.sendbaze.com/api-reference/templates/create-a-template\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Preview a render\",\"item\":\"https://docs.sendbaze.com/api-reference/templates/preview-a-render\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sendbaze.com/api-reference/templates/preview-a-render#apireference\",\"headline\":\"Preview a render\",\"name\":\"Preview a render\",\"description\":\"The subject, html and text a send with these variables would produce. Placeholders you leave out are listed under missing and left in place, so partial previews still render. Requires read.\",\"url\":\"https://docs.sendbaze.com/api-reference/templates/preview-a-render\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sendbaze.com/api-reference/templates/preview-a-render#webpage\"},\"dateModified\":\"2026-10-26T18:37:56.546Z\",\"publisher\":{\"@id\":\"https://docs.sendbaze.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sendbaze.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sendbaze\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sendbaze","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dashboard.sendbaze.com"},{"anchor":"Status","icon":"signal","href":"https://www.sendbaze.com/status"},{"anchor":"Support","icon":"envelope","href":"mailto:support@sendbaze.com"}]},"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API reference","icon":"square-terminal","groups":[{"group":"API reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Pagination","href":"/api-reference/pagination"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Emails","pages":[{"title":"Send an email","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/emails","href":"/api-reference/emails/send-an-email"},{"title":"Send a batch of emails","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/emails/batch","href":"/api-reference/emails/send-a-batch-of-emails"},{"title":"Retrieve an email","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/emails/{id}","href":"/api-reference/emails/retrieve-an-email"},{"title":"List emails","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/emails","href":"/api-reference/emails/list-emails"}]},{"group":"Templates","pages":[{"title":"Create a template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/templates","href":"/api-reference/templates/create-a-template"},{"title":"List templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/templates","href":"/api-reference/templates/list-templates"},{"title":"Retrieve a template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/templates/{id}","href":"/api-reference/templates/retrieve-a-template"},{"title":"Update a template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/templates/{id}","href":"/api-reference/templates/update-a-template"},{"title":"Delete a template","description":"Removes the template and its versions. Email already sent is unaffected; later sends naming the id fail with 422. Requires `emails:send`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/templates/{id}","href":"/api-reference/templates/delete-a-template"},{"title":"Preview a render","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/templates/{id}/render","href":"/api-reference/templates/preview-a-render"},{"title":"List template versions","description":"Every version, newest first, with its full content. Requires `read`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/templates/{id}/versions","href":"/api-reference/templates/list-template-versions"}]},{"group":"Domains","pages":[{"title":"Add a domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/domains","href":"/api-reference/domains/add-a-domain"},{"title":"List domains","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/domains","href":"/api-reference/domains/list-domains"},{"title":"Retrieve a domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/domains/{id}","href":"/api-reference/domains/retrieve-a-domain"},{"title":"Check a domain now","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/domains/{id}/verify","href":"/api-reference/domains/check-a-domain-now"},{"title":"Delete a domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/domains/{id}","href":"/api-reference/domains/delete-a-domain"}]},{"group":"Suppressions","pages":[{"title":"List suppressions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/suppressions","href":"/api-reference/suppressions/list-suppressions"},{"title":"Add a suppression","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/suppressions","href":"/api-reference/suppressions/add-a-suppression"},{"title":"Remove a suppression","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/suppressions/{id}","href":"/api-reference/suppressions/remove-a-suppression"}]},{"group":"Webhooks","pages":[{"title":"Create a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/webhooks","href":"/api-reference/webhooks/create-a-webhook-endpoint"},{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/webhooks","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Retrieve a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/webhooks/{id}","href":"/api-reference/webhooks/retrieve-a-webhook-endpoint"},{"title":"Update a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/webhooks/{id}","href":"/api-reference/webhooks/update-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/webhooks/{id}","href":"/api-reference/webhooks/delete-a-webhook-endpoint"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/webhooks/{id}/test","href":"/api-reference/webhooks/send-a-test-event"},{"title":"List deliveries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/webhooks/{id}/deliveries","href":"/api-reference/webhooks/list-deliveries"},{"title":"Replay a delivery","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/webhooks/{id}/deliveries/{deliveryId}/replay","href":"/api-reference/webhooks/replay-a-delivery"}]},{"group":"SMS","pages":[{"title":"Send an SMS","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sms","href":"/api-reference/sms/send-an-sms"},{"title":"Send a batch of SMS","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sms/batch","href":"/api-reference/sms/send-a-batch-of-sms"},{"title":"Retrieve an SMS","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sms/{id}","href":"/api-reference/sms/retrieve-an-sms"},{"title":"SMS coverage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sms/coverage","href":"/api-reference/sms/sms-coverage"}]},{"group":"Usage","pages":[{"title":"Retrieve usage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/usage","href":"/api-reference/usage/retrieve-usage"}]}]}]},"basePath":"","title":"Preview a render - Sendbaze","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}