API Key authentication. Secret keys (sk_*) are required for all endpoints except /v1/track. Public keys (pk_*) only work with the /v1/track endpoint for client-side event tracking. Workspaces can have multiple active keys, and sender-domain operations enforce per-key domain scope when configured.
Sender email address (requires verified domain). Required unless using a template that has a 'from' address configured. Can be a string (e.g., "[email protected]" or "My App <[email protected]>") or an object with {name, email} (e.g., {name: "My App", email: "[email protected]"}).
The plain text version of the message.
If not provided, the body will be used to generate a plain text version. You can opt out of this behavior by setting value to an empty string.
Template ID to use for this email. When provided, uses the template's subject, body, from, and reply-to settings. You can override these by explicitly providing subject, body, from, or reply fields in the request. Template variables are populated from the data field.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MailGlyph Docs","description":"MailGlyph - Fast, Reliable Email Delivery for Your App","colors":{"primary":"#525252","light":"#525252","dark":"#a3a3a3"},"logo":{"light":"https://mintcdn.com/mailrify/AbpSXvJVWBv3j1Fq/images/mailglyph-b.png?fit=max\u0026auto=format\u0026n=AbpSXvJVWBv3j1Fq\u0026q=85\u0026s=d88b9d3e09e63c09b1b17930ffb1731d","dark":"https://mintcdn.com/mailrify/AbpSXvJVWBv3j1Fq/images/mailglyph-w.png?fit=max\u0026auto=format\u0026n=AbpSXvJVWBv3j1Fq\u0026q=85\u0026s=df148fc44aa285f7d62cfa4d4db3a2ff"},"favicon":"https://mintcdn.com/mailrify/AbpSXvJVWBv3j1Fq/images/favicon.svg?fit=max\u0026auto=format\u0026n=AbpSXvJVWBv3j1Fq\u0026q=85\u0026s=eb6fa465784b82943d79fe911560fdde","api":{"openapi":"openapi.json","playground":{"proxy":false},"examples":{"prefill":true},"mdx":{"auth":{"method":"bearer","name":"Authorization"},"server":"https://api.mailglyph.com"}},"navbar":{"links":[{"href":"https://app.mailglyph.com/auth/login","label":"Sign In"}],"primary":{"type":"button","label":"Get Started","href":"https://app.mailglyph.com/auth/signup"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","chatgpt","claude","mcp","add-mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mailrify","hasAudioNarration":false,"actualSubdomain":"mailrify","customDomains":["docs.mailglyph.com"],"gitSource":{"type":"github","owner":"mailglyph","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a96da8d8dcb4068c2f0df0d","collectionId":"4d75d310-2820-4a64-8e62-9cf2394cda3f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a96da8d8dcb4068c2f0df0d"},"entitlements":{},"buildId":"6a96da8d8dcb4068c2f0df0d","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"API Reference","count":50},{"language":"default","tag":"SDKs","count":36},{"language":"default","tag":"Documentation","count":19},{"language":"default","tag":"Email Validation","count":9},{"language":"default","tag":"Concepts","count":9},{"language":"default","tag":"Guides","count":9},{"language":"default","tag":"Go","count":9},{"language":"default","tag":"Node.js","count":9},{"language":"default","tag":"PHP","count":9},{"language":"default","tag":"Python","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html.dark a[class*=\"bg-primary/10\"][class*=\"dark:bg-primary-light/10\"]{background-color:rgba(229,229,229,.18)!important;color:#e5e5e5!important;text-shadow:none!important}html.dark a[class*=\"bg-primary/10\"][class*=\"dark:bg-primary-light/10\"] svg{background-color:#e5e5e5!important;opacity:1}ul.toc a{color:#737373!important}ul.toc a:hover{color:#262626!important}ul.toc a[class*=text-primary]{color:#0a0a0a!important;font-weight:500!important}html.dark ul.toc a{color:#ababab!important}html.dark ul.toc a:hover{color:#e5e5e5!important}html.dark ul.toc a[class*=text-primary]{color:#f5f5f5!important;border-color:#d4d4d4!important}nav.text-sm a[href*=\"/auth/login\"]{color:#404040!important;font-weight:600!important;letter-spacing:.01em}nav.text-sm a[href*=\"/auth/login\"]:hover{color:#171717!important}html.dark nav.text-sm a[href*=\"/auth/login\"]{color:#d4d4d4!important}html.dark nav.text-sm a[href*=\"/auth/login\"]:hover{color:#f5f5f5!important}nav.text-sm a[href*=\"/auth/signup\"]{border-radius:.75rem!important}nav.text-sm a[href*=\"/auth/signup\"]>span.absolute{background-color:#0a0a0a!important;border-radius:.75rem!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);transition:background-color .2s ease,transform .2s ease}nav.text-sm a[href*=\"/auth/signup\"]:hover>span.absolute{background-color:#262626!important}"}],"page":{"pagePath":"api-reference/public-api/sendEmail","slug":"/api-reference/public-api/sendEmail","pageMetadata":{"title":"Send transactional email","description":"Send a transactional email via the public API. Automatically creates/updates contacts.","openapi":"openapi.json POST /v1/send","href":"/api-reference/public-api/sendEmail"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Send a transactional email via the public API. Automatically creates/updates contacts.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Send transactional email","description":"Send a transactional email via the public API. Automatically creates/updates contacts.","openapi":"openapi.json POST /v1/send","href":"/api-reference/public-api/sendEmail"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Public API"],"summary":"Send transactional email","description":"Send a transactional email via the public API. Automatically creates/updates contacts.","operationId":"sendEmail","requestBody":"ad114580-4996-4da5-ab74-dd13bca395bb","responses":{"200":"61978d7d-b5de-4c7e-887c-a3077794851f","400":"a7be6054-f3be-4100-9dfc-a4dad14bc8cb","401":"8f334eb0-f48a-4609-b463-ae15a490f115"},"method":"post","type":"path","servers":["81fdde11-9374-4bbb-b462-b1b134b1aed3"],"security":["efd80afe-6078-4df5-92a7-6bcd40e6c0a1"],"path":"/v1/send","baseUrlOptions":["https://api.mailglyph.com"],"title":"Send transactional email","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.to.oneOf.0":"[email protected]","body.from.oneOf.0":"My Company \[email protected]>","body.subject":"Password Reset Request","body.body":"\u003ch1>Reset Your Password\u003c/h1>\u003cp>Click the link to reset: {{resetLink}}\u003c/p>","body.data.oneOf.0.resetLink":"https://example.com/reset/abc123"},{"body.to.oneOf.1.email":"[email protected]","body.to.oneOf.1.name":"Jane Doe","body.from.oneOf.1.email":"[email protected]","body.from.oneOf.1.name":"My Company","body.subject":"Welcome to Our Service","body.body":"\u003ch1>Welcome {{name}}!\u003c/h1>\u003cp>We're glad to have you.\u003c/p>","body.data.oneOf.1":{"name":"Jane"}},{"body.to.oneOf.0":"[email protected]","body.from.oneOf.0":"My Company \[email protected]>","body.subject":"Welcome","body.body":"\u003ch1>Welcome!\u003c/h1>\u003cp>Thanks for joining.\u003c/p>"},{"body.to.oneOf.2.items.0.oneOf.1.email":"[email protected]","body.to.oneOf.2.items.0.oneOf.1.name":"Jane Doe","body.to.oneOf.2.items.1.oneOf.1.email":"[email protected]","body.to.oneOf.2.items.1.oneOf.1.name":"John Smith","body.from.oneOf.1.email":"[email protected]","body.from.oneOf.1.name":"Newsletter","body.subject":"Monthly Update","body.body":"\u003ch1>Hello {{name}}!\u003c/h1>"},{"body.to.oneOf.0":"[email protected]","body.template":"clx123abc456","body.data.oneOf.1":{"firstName":"John","lastName":"Doe","resetCode":{"value":"ABC123","persistent":false}}},{"body.to.oneOf.0":"[email protected]","body.subject":"Custom Subject Override","body.template":"clx123abc456","body.data.oneOf.1":{"firstName":"Jane"}},{"body.to.oneOf.0":"[email protected]","body.subject":"Weekly Newsletter","body.body":"\u003ch1>This Week's Updates\u003c/h1>","body.subscribed":true},{"body.to.oneOf.0":"[email protected]","body.subject":"Your Invoice","body.body":"\u003ch1>Invoice Attached\u003c/h1>\u003cp>Please find your invoice attached.\u003c/p>","body.attachments.items.0.filename":"invoice.pdf","body.attachments.items.0.content":"JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PC9UeXBlL...","body.attachments.items.0.contentType":"application/pdf"}],"disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["to","from"],"properties":{"to":{"oneOf":[{"type":"string","description":"Recipient email(s). Can be a string, an object with {name, email}, or an array of either. Maximum 50 recipients per request.","format":"email","isRequired":true,"uniqueKey":"to.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"object","description":"Recipient email(s). Can be a string, an object with {name, email}, or an array of either. Maximum 50 recipients per request.","required":["email"],"properties":{"email":{"type":"string","format":"email","description":"Recipient email address","isRequired":true,"uniqueKey":"to.oneOf.1.email","typeLabel":"string\u003cemail>"},"name":{"type":"string","description":"Recipient display name","uniqueKey":"to.oneOf.1.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"to.oneOf.1","typeLabel":"object"},{"type":"array","items":{"oneOf":[{"type":"string","format":"email","uniqueKey":"to.oneOf.2.items.[INDEX].oneOf.0","typeLabel":"string\u003cemail>"},{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email","description":"Recipient email address","isRequired":true,"uniqueKey":"to.oneOf.2.items.[INDEX].oneOf.1.email","typeLabel":"string\u003cemail>"},"name":{"type":"string","description":"Recipient display name","uniqueKey":"to.oneOf.2.items.[INDEX].oneOf.1.name","typeLabel":"string"}},"uniqueKey":"to.oneOf.2.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"to.oneOf.2.items.[INDEX]","typeLabel":"string\u003cemail> | object"},"description":"Recipient email(s). Can be a string, an object with {name, email}, or an array of either. Maximum 50 recipients per request.","maxItems":50,"isRequired":true,"uniqueKey":"to.oneOf.2","typeLabel":"(string\u003cemail> | object)[]"}],"isRequired":true,"uniqueKey":"to","typeLabel":"string\u003cemail> | object | (string\u003cemail> | object)[]"},"from":{"oneOf":[{"type":"string","description":"Sender email address (requires verified domain). Required unless using a template that has a 'from' address configured. Can be a string (e.g., \"[email protected]\" or \"My App \u0026lt;[email protected]\u0026gt;\") or an object with {name, email} (e.g., {name: \"My App\", email: \"[email protected]\"}).","isRequired":true,"uniqueKey":"from.oneOf.0","typeLabel":"string"},{"type":"object","description":"Sender email address (requires verified domain). Required unless using a template that has a 'from' address configured. Can be a string (e.g., \"[email protected]\" or \"My App \u0026lt;[email protected]\u0026gt;\") or an object with {name, email} (e.g., {name: \"My App\", email: \"[email protected]\"}).","required":["email"],"properties":{"email":{"type":"string","format":"email","description":"Sender email address","isRequired":true,"uniqueKey":"from.oneOf.1.email","typeLabel":"string\u003cemail>"},"name":{"type":"string","description":"Sender display name","uniqueKey":"from.oneOf.1.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"from.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"from","typeLabel":"string | object"},"subject":{"type":"string","description":"Email subject (required if no template)","uniqueKey":"subject","typeLabel":"string"},"body":{"type":"string","description":"Email body HTML (required if no template)","uniqueKey":"body","typeLabel":"string"},"text":{"type":"string","description":"The plain text version of the message.\nIf not provided, the `body` will be used to generate a plain text version. You can opt out of this behavior by setting value to an empty string.","uniqueKey":"text","typeLabel":"string"},"template":{"type":"string","description":"Template ID to use for this email. When provided, uses the template's subject, body, from, and reply-to settings. You can override these by explicitly providing subject, body, from, or reply fields in the request. Template variables are populated from the data field.","uniqueKey":"template","typeLabel":"string"},"name":{"type":"string","description":"Sender display name (alternative to using from.name)","uniqueKey":"name","typeLabel":"string"},"subscribed":{"type":"boolean","description":"Whether recipient is subscribed to marketing emails. Defaults to false for transactional emails.","default":false,"uniqueKey":"subscribed","typeLabel":"boolean"},"data":{"oneOf":[{"type":"object","title":"Example object","description":"Optional template variables. Choose `Empty object` if you do not want to send any example preset keys.","example":{"resetLink":"https://example.com/reset/abc123"},"properties":{"resetLink":{"type":"string","description":"Reset or action URL used in templates","example":"https://example.com/reset/abc123","uniqueKey":"data.oneOf.0.resetLink","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"data.oneOf.0","typeLabel":"Example object · object"},{"type":"object","title":"Empty object","description":"Optional template variables. Choose `Empty object` if you do not want to send any example preset keys.","additionalProperties":true,"uniqueKey":"data.oneOf.1","typeLabel":"Empty object · object"}],"uniqueKey":"data","typeLabel":"Example object · object | Empty object · object"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"headers.additionalProperties","typeLabel":"string"},"description":"Custom email headers","uniqueKey":"headers","typeLabel":"object"},"reply":{"type":"string","format":"email","description":"Reply-to address","uniqueKey":"reply","typeLabel":"string\u003cemail>"},"attachments":{"type":"array","description":"Email attachments (max 10 attachments, 10MB total)","maxItems":10,"items":{"type":"object","required":["filename","content","contentType"],"properties":{"filename":{"type":"string","maxLength":255,"description":"Attachment filename","isRequired":true,"uniqueKey":"attachments.items.[INDEX].filename","typeLabel":"string"},"content":{"type":"string","description":"Base64 encoded file content","isRequired":true,"uniqueKey":"attachments.items.[INDEX].content","typeLabel":"string"},"contentType":{"type":"string","maxLength":255,"description":"MIME type (e.g., application/pdf, image/png)","isRequired":true,"uniqueKey":"attachments.items.[INDEX].contentType","typeLabel":"string"}},"uniqueKey":"attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"attachments","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Simple transactional email":{"title":"Simple transactional email","value":{"to":"[email protected]","from":"My Company \[email protected]>","subject":"Password Reset Request","body":"\u003ch1>Reset Your Password\u003c/h1>\u003cp>Click the link to reset: {{resetLink}}\u003c/p>","data":{"resetLink":"https://example.com/reset/abc123"}}},"Email with recipient and sender names":{"title":"Email with recipient and sender names","value":{"to":{"name":"Jane Doe","email":"[email protected]"},"from":{"name":"My Company","email":"[email protected]"},"subject":"Welcome to Our Service","body":"\u003ch1>Welcome {{name}}!\u003c/h1>\u003cp>We're glad to have you.\u003c/p>","data":{"name":"Jane"}}},"Email with sender address string":{"title":"Email with sender address string","value":{"to":"[email protected]","from":"My Company \[email protected]>","subject":"Welcome","body":"\u003ch1>Welcome!\u003c/h1>\u003cp>Thanks for joining.\u003c/p>"}},"Multiple recipients with names":{"title":"Multiple recipients with names","value":{"to":[{"name":"Jane Doe","email":"[email protected]"},{"name":"John Smith","email":"[email protected]"}],"from":{"name":"Newsletter","email":"[email protected]"},"subject":"Monthly Update","body":"\u003ch1>Hello {{name}}!\u003c/h1>"}},"Using a template":{"title":"Using a template","description":"Send email using a template. Provide the template ID and any data for template variables. The template's subject, body, from address, and reply-to will be used automatically.","value":{"to":"[email protected]","template":"clx123abc456","data":{"firstName":"John","lastName":"Doe","resetCode":{"value":"ABC123","persistent":false}}}},"Using template with overrides":{"title":"Using template with overrides","description":"You can override template values by providing subject, body, from, or reply fields. This example overrides the template's subject line.","value":{"to":"[email protected]","template":"clx123abc456","subject":"Custom Subject Override","data":{"firstName":"Jane"}}},"Marketing email (set subscribed: true)":{"title":"Marketing email (set subscribed: true)","value":{"to":"[email protected]","subject":"Weekly Newsletter","body":"\u003ch1>This Week's Updates\u003c/h1>","subscribed":true}},"Email with PDF attachment":{"title":"Email with PDF attachment","value":{"to":"[email protected]","subject":"Your Invoice","body":"\u003ch1>Invoice Attached\u003c/h1>\u003cp>Please find your invoice attached.\u003c/p>","attachments":[{"filename":"invoice.pdf","content":"JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PC9UeXBlL...","contentType":"application/pdf"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"61978d7d-b5de-4c7e-887c-a3077794851f":{"description":"Email queued successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","properties":{"emails":{"type":"array","items":{"type":"object","properties":{"contact":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"data.emails.items.[INDEX].contact.id","typeLabel":"string"},"email":{"type":"string","uniqueKey":"data.emails.items.[INDEX].contact.email","typeLabel":"string"}},"uniqueKey":"data.emails.items.[INDEX].contact","typeLabel":"object"},"email":{"type":"string","description":"MailGlyph email record ID. Use this to correlate webhook events (included as 'emailId' in event payload data) with your send requests.","uniqueKey":"data.emails.items.[INDEX].email","typeLabel":"string"}},"uniqueKey":"data.emails.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.emails","typeLabel":"object[]"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"data.timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"data":{"emails":[{"contact":{"id":"cnt_abc123","email":"[email protected]"},"email":"ac32f08e-c6b9-45d3-9824-a73dff1e3bbf"}],"timestamp":"2025-01-15T10:30:00.000Z"}},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"emails":[{"contact":{"id":"cnt_abc123","email":"[email protected]"},"email":"ac32f08e-c6b9-45d3-9824-a73dff1e3bbf"}],"timestamp":"2025-01-15T10:30:00.000Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"a7be6054-f3be-4100-9dfc-a4dad14bc8cb":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"code","typeLabel":"integer"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"time":{"type":"integer","uniqueKey":"time","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"error":"\u003cstring>","message":"\u003cstring>","time":123}}},"exampleType":"generated"}},"exampleType":"generated"},"8f334eb0-f48a-4609-b463-ae15a490f115":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"code","typeLabel":"integer"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"time":{"type":"integer","uniqueKey":"time","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"error":"\u003cstring>","message":"\u003cstring>","time":123}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"efd80afe-6078-4df5-92a7-6bcd40e6c0a1":{"ApiKeyAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"API Key authentication. **Secret keys (sk_*)** are required for all endpoints except `/v1/track`. **Public keys (pk_*)** only work with the `/v1/track` endpoint for client-side event tracking. Workspaces can have multiple active keys, and sender-domain operations enforce per-key domain scope when configured.","scopes":[]}}},"servers":{"81fdde11-9374-4bbb-b462-b1b134b1aed3":{"url":"https://api.mailglyph.com","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"API Key authentication. **Secret keys (sk_*)** are required for all endpoints except `/v1/track`. **Public keys (pk_*)** only work with the `/v1/track` endpoint for client-side event tracking. Workspaces can have multiple active keys, and sender-domain operations enforce per-key domain scope when configured.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API Key authentication. **Secret keys (sk_*)** are required for all endpoints except `/v1/track`. **Public keys (pk_*)** only work with the `/v1/track` endpoint for client-side event tracking. Workspaces can have multiple active keys, and sender-domain operations enforce per-key domain scope when configured.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"mailrify","siteName":"MailGlyph Docs","title":"Send transactional email - MailGlyph Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-01T15:29:59.750Z","originalFileLocation":"api-reference/public-api/sendEmail.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Send a transactional email via the public API. Automatically creates/updates contacts.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MailGlyph Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mailrify/wtF-GmJJSLcHkeW8/_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/mailrify/wtF-GmJJSLcHkeW8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mailrify/wtF-GmJJSLcHkeW8/_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/mailrify/wtF-GmJJSLcHkeW8/_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/mailrify/wtF-GmJJSLcHkeW8/_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/mailrify/wtF-GmJJSLcHkeW8/_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/mailrify/wtF-GmJJSLcHkeW8/_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/mailrify/wtF-GmJJSLcHkeW8/_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/mailrify/wtF-GmJJSLcHkeW8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send transactional email - MailGlyph Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send a transactional email via the public API. Automatically creates/updates contacts.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MailGlyph Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mailglyph.com/api-reference/public-api/sendEmail\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mailrify.mintlify.app/_mintlify/api/og/v2?division=Emails\u0026amp;title=Send+transactional+email\u0026amp;description=Send+a+transactional+email+via+the+public+API.+Automatically+creates%2Fupdates+contacts.\u0026amp;theme=99b846a7794b8125ab92320b\u0026amp;signature=ab9ad8b45af6e45e0030a65d057044a623747b90e046f1f3960e6c6571147cf0\">\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 transactional email - MailGlyph Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send a transactional email via the public API. Automatically creates/updates contacts.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mailrify.mintlify.app/_mintlify/api/og/v2?division=Emails\u0026amp;title=Send+transactional+email\u0026amp;description=Send+a+transactional+email+via+the+public+API.+Automatically+creates%2Fupdates+contacts.\u0026amp;theme=99b846a7794b8125ab92320b\u0026amp;signature=ab9ad8b45af6e45e0030a65d057044a623747b90e046f1f3960e6c6571147cf0\">\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/mailrify/wtF-GmJJSLcHkeW8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MailGlyph Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#525252\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mailglyph.com/api-reference/public-api/sendEmail\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/public-api/sendEmail.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mailglyph.com/#organization\",\"name\":\"MailGlyph Docs\",\"url\":\"https://docs.mailglyph.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mailrify/AbpSXvJVWBv3j1Fq/images/mailglyph-b.png?fit=max\u0026auto=format\u0026n=AbpSXvJVWBv3j1Fq\u0026q=85\u0026s=d88b9d3e09e63c09b1b17930ffb1731d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mailglyph.com#website\",\"name\":\"MailGlyph Docs\",\"url\":\"https://docs.mailglyph.com\",\"publisher\":{\"@id\":\"https://docs.mailglyph.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mailglyph.com/api-reference/public-api/sendEmail#webpage\",\"url\":\"https://docs.mailglyph.com/api-reference/public-api/sendEmail\",\"name\":\"Send transactional email\",\"description\":\"Send a transactional email via the public API. Automatically creates/updates contacts.\",\"dateModified\":\"2026-03-01T15:29:59.750Z\",\"isPartOf\":{\"@id\":\"https://docs.mailglyph.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mailglyph.com/api-reference/public-api/sendEmail#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mailglyph.com/api-reference/public-api/sendEmail#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.mailglyph.com/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send transactional email\",\"item\":\"https://docs.mailglyph.com/api-reference/public-api/sendEmail\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.mailglyph.com/api-reference/public-api/sendEmail#apireference\",\"headline\":\"Send transactional email\",\"name\":\"Send transactional email\",\"description\":\"Send a transactional email via the public API. Automatically creates/updates contacts.\",\"url\":\"https://docs.mailglyph.com/api-reference/public-api/sendEmail\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mailglyph.com/api-reference/public-api/sendEmail#webpage\"},\"dateModified\":\"2026-03-01T15:29:59.750Z\",\"publisher\":{\"@id\":\"https://docs.mailglyph.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mailglyph.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MailGlyph Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"MailGlyph Docs","nav":{"global":null,"groups":[{"group":"Documentation","pages":[{"title":"Introduction","href":"/index"},{"group":"Concepts","pages":[{"title":"Contacts","icon":"users","href":"/concepts/contacts"},{"title":"Events","icon":"activity","href":"/concepts/events"},{"title":"Segments","icon":"layers","href":"/concepts/segments"},{"title":"Workflows","icon":"workflow","href":"/concepts/workflows"},{"title":"Campaigns","icon":"megaphone","href":"/concepts/campaigns"},{"title":"Transactional Emails","icon":"send","href":"/concepts/transactional-emails"},{"title":"Templates","icon":"file-text","href":"/concepts/templates"},{"title":"Billing","icon":"credit-card","href":"/concepts/billing"},{"title":"Team members","icon":"users","href":"/concepts/team-members"}]},{"group":"Guides","pages":[{"title":"List Hygiene","icon":"shield-check","href":"/guides/list-hygiene"},{"title":"Email Validation","icon":"badge-check","href":"/guides/email-validation"},{"title":"Verifying domains","icon":"globe","href":"/guides/verifying-domains"},{"title":"Receiving emails","icon":"inbox","href":"/guides/receiving-emails"},{"title":"SMTP","icon":"mail","href":"/guides/smtp"},{"title":"Tracking","icon":"activity","href":"/guides/tracking"},{"title":"API Keys","icon":"key","href":"/guides/api-keys"},{"title":"Localization","icon":"languages","href":"/guides/localization"},{"title":"Webhooks","icon":"webhook","href":"/guides/webhooks"}]}]},{"group":"SDKs","pages":[{"group":"Node.js","pages":[{"title":"Overview","href":"/sdks/nodejs/overview"},{"title":"Emails","href":"/sdks/nodejs/emails"},{"title":"Email Validation","href":"/sdks/nodejs/email-validation"},{"title":"Events","href":"/sdks/nodejs/events"},{"title":"Contacts","href":"/sdks/nodejs/contacts"},{"title":"Segments","href":"/sdks/nodejs/segments"},{"title":"Campaigns","href":"/sdks/nodejs/campaigns"},{"title":"Templates","href":"/sdks/nodejs/templates"},{"title":"Errors","href":"/sdks/nodejs/errors"}]},{"group":"Go","pages":[{"title":"Overview","href":"/sdks/go/overview"},{"title":"Emails","href":"/sdks/go/emails"},{"title":"Email Validation","href":"/sdks/go/email-validation"},{"title":"Events","href":"/sdks/go/events"},{"title":"Contacts","href":"/sdks/go/contacts"},{"title":"Segments","href":"/sdks/go/segments"},{"title":"Campaigns","href":"/sdks/go/campaigns"},{"title":"Templates","href":"/sdks/go/templates"},{"title":"Errors","href":"/sdks/go/errors"}]},{"group":"Python","pages":[{"title":"Overview","href":"/sdks/python/overview"},{"title":"Emails","href":"/sdks/python/emails"},{"title":"Email Validation","href":"/sdks/python/email-validation"},{"title":"Events","href":"/sdks/python/events"},{"title":"Contacts","href":"/sdks/python/contacts"},{"title":"Segments","href":"/sdks/python/segments"},{"title":"Campaigns","href":"/sdks/python/campaigns"},{"title":"Templates","href":"/sdks/python/templates"},{"title":"Errors","href":"/sdks/python/errors"}]},{"group":"PHP","pages":[{"title":"Overview","href":"/sdks/php/overview"},{"title":"Emails","href":"/sdks/php/emails"},{"title":"Email Validation","href":"/sdks/php/email-validation"},{"title":"Events","href":"/sdks/php/events"},{"title":"Contacts","href":"/sdks/php/contacts"},{"title":"Segments","href":"/sdks/php/segments"},{"title":"Campaigns","href":"/sdks/php/campaigns"},{"title":"Templates","href":"/sdks/php/templates"},{"title":"Errors","href":"/sdks/php/errors"}]}]},{"group":"API Reference","pages":[{"title":"API Reference","sidebarTitle":"Introduction","description":"Complete MailGlyph API documentation","href":"/api-reference/overview"},{"group":"Emails","pages":[{"title":"Send transactional email","openapi":"openapi.json POST /v1/send","href":"/api-reference/public-api/sendEmail"}]},{"group":"Domains","pages":[{"title":"Create or find sending domain","description":"Idempotently create a sending domain and retrieve its required DNS records.","openapi":"openapi.json POST /v1/domains","href":"/api-reference/domains/createDomain"},{"title":"Get sending domain","openapi":"openapi.json GET /v1/domains/{id}","href":"/api-reference/domains/getDomain"},{"title":"Delete Domain","openapi":"openapi.json DELETE /v1/domains/{id}","href":"/api-reference/domains/deleteDomain"},{"title":"Verify sending domain","openapi":"openapi.json POST /v1/domains/{id}/verify","href":"/api-reference/domains/verifyDomain"}]},{"group":"Email Validation","pages":[{"title":"Validate email address","openapi":"openapi.json POST /v1/verify","href":"/api-reference/verifications/verifyEmail"},{"title":"Create bulk email validation","openapi":"openapi.json POST /v1/verify/files","href":"/api-reference/verifications/createBulkEmailValidation"},{"title":"List bulk email validations","openapi":"openapi.json GET /v1/verify/files","href":"/api-reference/verifications/listBulkEmailValidations"},{"title":"Get bulk email validation","openapi":"openapi.json GET /v1/verify/files/{jobId}","href":"/api-reference/verifications/getBulkEmailValidation"},{"title":"Continue bulk email validation","openapi":"openapi.json POST /v1/verify/files/{jobId}/continue","href":"/api-reference/verifications/continueBulkEmailValidation"},{"title":"Download bulk email validation results","openapi":"openapi.json GET /v1/verify/files/{jobId}/download","href":"/api-reference/verifications/downloadBulkEmailValidationResults"},{"title":"Delete bulk email validation","openapi":"openapi.json DELETE /v1/verify/files/{jobId}","href":"/api-reference/verifications/deleteBulkEmailValidation"},{"title":"Get email validation credit usage","openapi":"openapi.json GET /v1/verification-credits","href":"/api-reference/verifications/getVerificationCredits"},{"title":"List email validation credit ledger","openapi":"openapi.json GET /v1/verification-credits/ledger","href":"/api-reference/verifications/listVerificationCreditLedger"}]},{"group":"Events","pages":[{"title":"Track event","openapi":"openapi.json POST /v1/track","href":"/api-reference/public-api/trackEvent"},{"title":"List events","openapi":"openapi.json GET /events","href":"/api-reference/events/listEvents"},{"title":"List event names","openapi":"openapi.json GET /events/names","href":"/api-reference/events/listEventNames"}]},{"group":"Contacts","pages":[{"title":"List contacts","openapi":"openapi.json GET /contacts","href":"/api-reference/contacts/listContacts"},{"title":"Get contact","openapi":"openapi.json GET /contacts/{id}","href":"/api-reference/contacts/getContact"},{"title":"Create or update contact","openapi":"openapi.json POST /contacts","href":"/api-reference/contacts/createContact"},{"title":"Update contact","openapi":"openapi.json PATCH /contacts/{id}","href":"/api-reference/contacts/updateContact"},{"title":"Delete contact","openapi":"openapi.json DELETE /contacts/{id}","href":"/api-reference/contacts/deleteContact"}]},{"group":"Segments","pages":[{"title":"List segments","openapi":"openapi.json GET /segments","href":"/api-reference/segments/listSegments"},{"title":"Get segment","openapi":"openapi.json GET /segments/{id}","href":"/api-reference/segments/getSegment"},{"title":"Create segment","openapi":"openapi.json POST /segments","href":"/api-reference/segments/createSegment"},{"title":"Update segment","openapi":"openapi.json PATCH /segments/{id}","href":"/api-reference/segments/updateSegment"},{"title":"Delete segment","openapi":"openapi.json DELETE /segments/{id}","href":"/api-reference/segments/deleteSegment"},{"title":"List segment contacts","openapi":"openapi.json GET /segments/{id}/contacts","href":"/api-reference/segments/segmentContacts"},{"title":"Add static segment members","openapi":"openapi.json POST /segments/{id}/members","href":"/api-reference/segments/addSegmentMembers"},{"title":"Remove static segment members","openapi":"openapi.json DELETE /segments/{id}/members","href":"/api-reference/segments/removeSegmentMembers"}]},{"group":"Templates","pages":[{"title":"List templates","openapi":"openapi.json GET /templates","href":"/api-reference/templates/listTemplates"},{"title":"Get template","openapi":"openapi.json GET /templates/{id}","href":"/api-reference/templates/getTemplate"},{"title":"Create template","openapi":"openapi.json POST /templates","href":"/api-reference/templates/createTemplate"},{"title":"Update template","openapi":"openapi.json PATCH /templates/{id}","href":"/api-reference/templates/updateTemplate"},{"title":"Delete template","openapi":"openapi.json DELETE /templates/{id}","href":"/api-reference/templates/deleteTemplate"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","openapi":"openapi.json GET /campaigns","href":"/api-reference/campaigns/listCampaigns"},{"title":"Create campaign","openapi":"openapi.json POST /campaigns","href":"/api-reference/campaigns/createCampaign"},{"title":"Get campaign","openapi":"openapi.json GET /campaigns/{id}","href":"/api-reference/campaigns/getCampaign"},{"title":"Update campaign","openapi":"openapi.json PUT /campaigns/{id}","href":"/api-reference/campaigns/updateCampaign"},{"title":"Send or schedule campaign","openapi":"openapi.json POST /campaigns/{id}/send","href":"/api-reference/campaigns/sendCampaign"},{"title":"Cancel campaign","openapi":"openapi.json POST /campaigns/{id}/cancel","href":"/api-reference/campaigns/cancelCampaign"},{"title":"Send test email","openapi":"openapi.json POST /campaigns/{id}/test","href":"/api-reference/campaigns/testCampaign"},{"title":"Campaign stats","openapi":"openapi.json GET /campaigns/{id}/stats","href":"/api-reference/campaigns/campaignStats"}]},{"group":"Workflows","pages":[{"title":"List workflows","openapi":"openapi.json GET /workflows","href":"/api-reference/workflows/listWorkflows"},{"title":"Get workflow","openapi":"openapi.json GET /workflows/{id}","href":"/api-reference/workflows/getWorkflow"},{"title":"Update workflow","openapi":"openapi.json PATCH /workflows/{id}","href":"/api-reference/workflows/updateWorkflow"},{"title":"Delete workflow","openapi":"openapi.json DELETE /workflows/{id}","href":"/api-reference/workflows/deleteWorkflow"},{"title":"List workflow executions","openapi":"openapi.json GET /workflows/{id}/executions","href":"/api-reference/workflows/listWorkflowExecutions"}]},{"title":"Error Codes","href":"/api-reference/errors"}]}]},"title":"Send transactional email - MailGlyph Docs","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","Page-7TwLLapg.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}