{
"error": {
"code": "domain_not_verified",
"message": "yourshop.co.za is not a verified sending domain of this organisation.",
"docs": "https://docs.sendbaze.com/errors#domain_not_verified"
}
}
{
"error": {
"code": "payload_too_large",
"message": "Attachments may be at most 3 MB in total.",
"docs": "https://docs.sendbaze.com/errors#payload_too_large"
}
}
{
"error": {
"code": "validation_error",
"message": "The request has invalid fields.",
"docs": "https://docs.sendbaze.com/errors#validation_error",
"fields": {
"to.1": [
"must be a valid email address"
]
}
}
}
Validates the request, stores the message, queues it and returns the id. Requires the emails:send scope
and, for live keys, a verified sending domain, or the shared test address onboarding@sendbaze.com, which
delivers to your organisation’s own addresses only (100 emails per organisation in total). Add an
Idempotency-Key header to make retries safe.
{
"error": {
"code": "domain_not_verified",
"message": "yourshop.co.za is not a verified sending domain of this organisation.",
"docs": "https://docs.sendbaze.com/errors#domain_not_verified"
}
}
{
"error": {
"code": "payload_too_large",
"message": "Attachments may be at most 3 MB in total.",
"docs": "https://docs.sendbaze.com/errors#payload_too_large"
}
}
{
"error": {
"code": "validation_error",
"message": "The request has invalid fields.",
"docs": "https://docs.sendbaze.com/errors#validation_error",
"fields": {
"to.1": [
"must be a valid email address"
]
}
}
}
test when sent with an sk_test_ key: validated and stored, never delivered.
Available options:
live,
test
{"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/emails/send-an-email","slug":"/api-reference/emails/send-an-email","pageMetadata":{"title":"Send an email","description":"Validates the request, stores the message, queues it and returns the id. Requires the `emails:send` scope\nand, for live keys, a verified sending domain, or the shared test address `onboarding@sendbaze.com`, which\ndelivers to your organisation's own addresses only (100 emails per organisation in total). Add an\n`Idempotency-Key` header to make retries safe.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/emails","href":"/api-reference/emails/send-an-email","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: [\"Validates the request, stores the message, queues it and returns the id. Requires the \", _jsx(_components.code, {\n children: \"emails:send\"\n }), \" scope\\nand, for live keys, a verified sending domain, or the shared test address \", _jsx(_components.code, {\n children: \"onboarding@sendbaze.com\"\n }), \", which\\ndelivers to your organisation’s own addresses only (100 emails per organisation in total). Add an\\n\", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" header to make retries safe.\"]\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":"Send an email","description":"Validates the request, stores the message, queues it and returns the id. Requires the `emails:send` scope\nand, for live keys, a verified sending domain, or the shared test address `onboarding@sendbaze.com`, which\ndelivers to your organisation's own addresses only (100 emails per organisation in total). Add an\n`Idempotency-Key` header to make retries safe.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/emails","href":"/api-reference/emails/send-an-email","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Emails"],"summary":"Send an email","operationId":"sendEmail","description":"Validates the request, stores the message, queues it and returns the id. Requires the `emails:send` scope\nand, for live keys, a verified sending domain, or the shared test address `onboarding@sendbaze.com`, which\ndelivers to your organisation's own addresses only (100 emails per organisation in total). Add an\n`Idempotency-Key` header to make retries safe.\n","parameters":["09bb4bd1-fd35-445f-ae26-a8188ecdb50e"],"requestBody":"13224fb4-3cdc-431a-9f0c-b4eaf66daa1a","responses":{"200":"205c76f8-254b-4c3c-97e8-b72e72675073","402":"92972b50-6e43-4c7f-b9b1-7460cd734571","403":"cb97489e-6383-459b-8d19-1e790c386219","413":"5dfb2fdd-a0ed-4d2c-8297-6fe9cb196a03","422":"3962e691-5eb7-4646-b52c-cc8ee8e65ee7","423":"cc219c41-c96d-4314-ada0-9c014cc074db","429":"53587ceb-2b2e-4688-a9f9-2a5f6055fad3"},"method":"post","type":"path","servers":["99d1150c-abf8-43d0-8330-83dbd0837882"],"security":["ff7b157a-6930-432d-86e5-ece197dd1fbb"],"path":"/v1/emails","baseUrlOptions":["https://api.sendbaze.com"],"title":"Send an email","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","ruby","php","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"09bb4bd1-fd35-445f-ae26-a8188ecdb50e":{"name":"Idempotency-Key","in":"header","required":false,"description":"Up to 255 characters. The same key and body return the same response for 24 hours.","schema":{"type":"string","maxLength":255,"isRequired":false,"description":"Up to 255 characters. The same key and body return the same response for 24 hours.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["from","to"],"properties":{"from":{"type":"string","description":"A bare address or `Name \u003caddress>` on a verified domain, or the shared test address `onboarding@sendbaze.com` (own addresses only).","example":"Yourshop \u003corders@yourshop.co.za>","isRequired":true,"uniqueKey":"from","typeLabel":"string"},"to":{"oneOf":[{"type":"string","description":"One address or up to 50.","format":"email","isRequired":true,"uniqueKey":"to.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"array","items":{"type":"string","format":"email","uniqueKey":"to.oneOf.1.items.[INDEX]","typeLabel":"string\u003cemail>"},"description":"One address or up to 50.","maxItems":50,"isRequired":true,"uniqueKey":"to.oneOf.1","typeLabel":"string\u003cemail>[]"}],"isRequired":true,"uniqueKey":"to","typeLabel":"string\u003cemail> | string\u003cemail>[]"},"cc":{"oneOf":[{"type":"string","description":"One address or up to 50.","format":"email","uniqueKey":"cc.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"array","items":{"type":"string","format":"email","uniqueKey":"cc.oneOf.1.items.[INDEX]","typeLabel":"string\u003cemail>"},"description":"One address or up to 50.","maxItems":50,"uniqueKey":"cc.oneOf.1","typeLabel":"string\u003cemail>[]"}],"uniqueKey":"cc","typeLabel":"string\u003cemail> | string\u003cemail>[]"},"bcc":{"oneOf":[{"type":"string","description":"One address or up to 50.","format":"email","uniqueKey":"bcc.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"array","items":{"type":"string","format":"email","uniqueKey":"bcc.oneOf.1.items.[INDEX]","typeLabel":"string\u003cemail>"},"description":"One address or up to 50.","maxItems":50,"uniqueKey":"bcc.oneOf.1","typeLabel":"string\u003cemail>[]"}],"uniqueKey":"bcc","typeLabel":"string\u003cemail> | string\u003cemail>[]"},"replyTo":{"type":"string","format":"email","uniqueKey":"replyTo","typeLabel":"string\u003cemail>"},"subject":{"type":"string","maxLength":998,"description":"Required unless `templateId` is set, in which case it overrides the template's subject.","uniqueKey":"subject","typeLabel":"string"},"html":{"type":"string","description":"HTML body, up to 2 MB. One of `html`, `text` or `templateId` is required.","uniqueKey":"html","typeLabel":"string"},"text":{"type":"string","description":"Plain-text body, up to 2 MB.","uniqueKey":"text","typeLabel":"string"},"templateId":{"type":"string","description":"Render a template (its current version) instead of passing html or text.","uniqueKey":"templateId","typeLabel":"string"},"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"},"attachments":{"type":"array","maxItems":10,"description":"Up to 10 files, 3 MB decoded in total.","items":{"type":"object","required":["filename","content"],"properties":{"filename":{"type":"string","maxLength":255,"description":"Shown to the recipient. Path separators are refused.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].filename","typeLabel":"string"},"content":{"type":"string","description":"The file, base64-encoded.","isRequired":true,"uniqueKey":"attachments.items.[INDEX].content","typeLabel":"string"},"contentType":{"type":"string","description":"MIME type. Defaults to application/octet-stream.","example":"application/pdf","uniqueKey":"attachments.items.[INDEX].contentType","typeLabel":"string"},"contentId":{"type":"string","description":"Set to embed the file inline and reference it from the HTML as `\u003cimg src=\"cid:{contentId}\">`.","uniqueKey":"attachments.items.[INDEX].contentId","typeLabel":"string"}},"uniqueKey":"attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"attachments","typeLabel":"object[]"},"headers":{"type":"object","description":"Custom headers. Standard headers such as From, To and Subject cannot be overridden.","additionalProperties":{"type":"string","uniqueKey":"headers.additionalProperties","typeLabel":"string"},"uniqueKey":"headers","typeLabel":"object"},"tags":{"type":"array","maxItems":10,"items":{"type":"string","maxLength":64,"uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"tags","typeLabel":"string[]"},"class":{"type":"string","default":"transactional","enum":["transactional","marketing"],"uniqueKey":"class","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"simple":{"title":"simple","value":{"from":"Yourshop \u003corders@yourshop.co.za>","to":["thandi@example.com"],"replyTo":"help@yourshop.co.za","subject":"Your order #1042 has shipped","html":"\u003cp>Tracking: \u003cb>CG123456789ZA\u003c/b>\u003c/p>","text":"Tracking: CG123456789ZA","tags":["order-shipped"]}},"template":{"title":"template","value":{"from":"orders@yourshop.co.za","to":"thandi@example.com","templateId":"tpl_01j9x7k2r4m8q3v5n6b7c8d9e0","variables":{"name":"Thandi","order_id":1042,"eta":"Friday"}}},"attachment":{"title":"attachment","value":{"from":"orders@yourshop.co.za","to":"thandi@example.com","subject":"Invoice 1042","html":"\u003cp>Your invoice is attached.\u003c/p>\u003cimg src=\"cid:logo\" alt=\"Yourshop\">","attachments":[{"filename":"invoice-1042.pdf","contentType":"application/pdf","content":"JVBERi0xLjQK..."},{"filename":"logo.png","contentType":"image/png","contentId":"logo","content":"iVBORw0KGgo..."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"205c76f8-254b-4c3c-97e8-b72e72675073":{"description":"Queued","content":{"application/json":{"schema":{"type":"object","required":["id","status","mode"],"properties":{"id":{"type":"string","example":"em_01j9x7k2r4m8q3v5n6b7c8d9e0","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","enum":["queued"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["live","test"],"description":"`test` when sent with an sk_test_ key: validated and stored, never delivered.","isRequired":true,"uniqueKey":"mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"em_01j9x7k2r4m8q3v5n6b7c8d9e0","status":"queued","mode":"live"}}},"exampleType":"generated"}},"exampleType":"generated"},"92972b50-6e43-4c7f-b9b1-7460cd734571":{"description":"Allowance used up, not enough credits, or plan limit reached","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"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"validation_error","message":"\u003cstring>","docs":"\u003cstring>","fields":{},"limit":123,"upgradeUrl":"\u003cstring>","topUpUrl":"\u003cstring>","settingsUrl":"\u003cstring>","domainsUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"cb97489e-6383-459b-8d19-1e790c386219":{"description":"Insufficient scope, unverified domain, suspended organisation, or an SMS destination the organisation has not enabled (destination_not_enabled)","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":"domain_not_verified","message":"yourshop.co.za is not a verified sending domain of this organisation.","docs":"https://docs.sendbaze.com/errors#domain_not_verified"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"domain_not_verified","message":"yourshop.co.za is not a verified sending domain of this organisation.","docs":"https://docs.sendbaze.com/errors#domain_not_verified"}}}},"exampleType":"examples"}},"exampleType":"examples"},"5dfb2fdd-a0ed-4d2c-8297-6fe9cb196a03":{"description":"Attachments over 3 MB decoded in total","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":"payload_too_large","message":"Attachments may be at most 3 MB in total.","docs":"https://docs.sendbaze.com/errors#payload_too_large"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"payload_too_large","message":"Attachments may be at most 3 MB in total.","docs":"https://docs.sendbaze.com/errors#payload_too_large"}}}},"exampleType":"examples"}},"exampleType":"examples"},"3962e691-5eb7-4646-b52c-cc8ee8e65ee7":{"description":"Validation failed, a recipient is suppressed, or an SMS destination is not supported (destination_not_supported)","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":"validation_error","message":"The request has invalid fields.","docs":"https://docs.sendbaze.com/errors#validation_error","fields":{"to.1":["must be a valid email address"]}}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"validation_error","message":"The request has invalid fields.","docs":"https://docs.sendbaze.com/errors#validation_error","fields":{"to.1":["must be a valid email address"]}}}}},"exampleType":"examples"}},"exampleType":"examples"},"cc219c41-c96d-4314-ada0-9c014cc074db":{"description":"Sending is paused for this 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"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"validation_error","message":"\u003cstring>","docs":"\u003cstring>","fields":{},"limit":123,"upgradeUrl":"\u003cstring>","topUpUrl":"\u003cstring>","settingsUrl":"\u003cstring>","domainsUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"53587ceb-2b2e-4688-a9f9-2a5f6055fad3":{"description":"More than 100 requests per second, or the daily warm-up cap (warmup_limit_reached); see Retry-After","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"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"validation_error","message":"\u003cstring>","docs":"\u003cstring>","fields":{},"limit":123,"upgradeUrl":"\u003cstring>","topUpUrl":"\u003cstring>","settingsUrl":"\u003cstring>","domainsUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"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":"Send an email - Sendbaze","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T18:37:56.376Z","originalFileLocation":"api-reference/emails/send-an-email.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=\"Validates the request, stores the message, queues it and returns the id. Requires the emails:send scope and, for live keys, a verified sending domain, or the shared test address onboarding@sendbaze.com, which delivers to your organisation\u0026#x27;s own addresses only (100 emails per organisation in total). Add an Idempotency-Key header to make retries safe.\">\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=\"Send an email - Sendbaze\">\u003cmeta data-mint-head property=\"og:description\" content=\"Validates the request, stores the message, queues it and returns the id. Requires the emails:send scope and, for live keys, a verified sending domain, or the shared test address onboarding@sendbaze.com, which delivers to your organisation\u0026#x27;s own addresses only (100 emails per organisation in total). Add an Idempotency-Key header to make retries safe.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sendbaze\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sendbaze.com/api-reference/emails/send-an-email\">\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=Emails\u0026amp;title=Send+an+email\u0026amp;description=Validates+the+request%2C+stores+the+message%2C+queues+it+and+returns+the+id.+Requires+the+%60emails%3Asend%60+scope%0Aand%2C+for+live+keys%2C+a+verified+sending+domain%2C+or+the+\u0026amp;theme=e0a16bd18abb95d7926b3870\u0026amp;signature=8cc6fa6aadfa9378ca3ab13d68b5205cc05b750326581bce3b768361b7e18850\">\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=\"Send an email - Sendbaze\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Validates the request, stores the message, queues it and returns the id. Requires the emails:send scope and, for live keys, a verified sending domain, or the shared test address onboarding@sendbaze.com, which delivers to your organisation\u0026#x27;s own addresses only (100 emails per organisation in total). Add an Idempotency-Key header to make retries safe.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sendbaze-e4685166.mintlify.site/_mintlify/api/og/v2?division=Emails\u0026amp;title=Send+an+email\u0026amp;description=Validates+the+request%2C+stores+the+message%2C+queues+it+and+returns+the+id.+Requires+the+%60emails%3Asend%60+scope%0Aand%2C+for+live+keys%2C+a+verified+sending+domain%2C+or+the+\u0026amp;theme=e0a16bd18abb95d7926b3870\u0026amp;signature=8cc6fa6aadfa9378ca3ab13d68b5205cc05b750326581bce3b768361b7e18850\">\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/emails/send-an-email\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/emails/send-an-email.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/emails/send-an-email#webpage\",\"url\":\"https://docs.sendbaze.com/api-reference/emails/send-an-email\",\"name\":\"Send an email\",\"description\":\"Validates the request, stores the message, queues it and returns the id. Requires the emails:send scope and, for live keys, a verified sending domain, or the shared test address onboarding@sendbaze.com, which delivers to your organisation's own addresses only (100 emails per organisation in total). Add an Idempotency-Key header to make retries safe.\",\"dateModified\":\"2026-10-26T18:37:56.376Z\",\"isPartOf\":{\"@id\":\"https://docs.sendbaze.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sendbaze.com/api-reference/emails/send-an-email#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sendbaze.com/api-reference/emails/send-an-email#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Sendbaze\",\"item\":\"https://docs.sendbaze.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send an email\",\"item\":\"https://docs.sendbaze.com/api-reference/emails/send-an-email\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sendbaze.com/api-reference/emails/send-an-email#apireference\",\"headline\":\"Send an email\",\"name\":\"Send an email\",\"description\":\"Validates the request, stores the message, queues it and returns the id. Requires the emails:send scope and, for live keys, a verified sending domain, or the shared test address onboarding@sendbaze.com, which delivers to your organisation's own addresses only (100 emails per organisation in total). Add an Idempotency-Key header to make retries safe.\",\"url\":\"https://docs.sendbaze.com/api-reference/emails/send-an-email\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sendbaze.com/api-reference/emails/send-an-email#webpage\"},\"dateModified\":\"2026-10-26T18:37:56.376Z\",\"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","description":"The error envelope and how to handle each class of error in code.","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","description":"Up to 1,000 emails in one request. Each item is validated and queued on its own, so a bad item fails alone.\nResults come back in input order. `Idempotency-Key` applies to the whole batch. Requires `emails:send`.\n","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","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","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":"Send an email - 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"]}