Compare it with the domain you’re using in your API request’sfrom field.
Solution
You have two options to resolve this:Option 1: Update your API request (Recommended)Update your API call to use the verified domain. For example, if you verified sending.domain.com, make sure your from field uses that exact domain:
emailr.emails.send({ from: 'onboarding@sending.domain.com', // Use your verified domain to: 'user@example.com', subject: 'Hello World', html: '<p>Hello World</p>',});
Option 2: Delete and re-add the domain
Delete the domain you’ve added in Emailr
Add and verify the domain that matches what you’re using in your API request
Make sure the domain in your API request exactly matches the domain you’ve
verified in Emailr, including any subdomains.
Still Having Issues?
If you’ve verified that your domain matches and you’re still getting a 403 error:
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"emailr_","colors":{"primary":"#171717","light":"#E5E5E5","dark":"#404040"},"logo":{"light":"https://mintcdn.com/emailrdev/zWsn8gBO1M2RxPj1/logo/black_logo.svg?fit=max\u0026auto=format\u0026n=zWsn8gBO1M2RxPj1\u0026q=85\u0026s=b6399b6b753c7b4cee7a30a27343819b","dark":"https://mintcdn.com/emailrdev/zWsn8gBO1M2RxPj1/logo/white_logo.svg?fit=max\u0026auto=format\u0026n=zWsn8gBO1M2RxPj1\u0026q=85\u0026s=a9a7e8f66821eecfcc5818854630c995"},"favicon":"https://mintcdn.com/emailrdev/zWsn8gBO1M2RxPj1/logo/favicon.svg?fit=max\u0026auto=format\u0026n=zWsn8gBO1M2RxPj1\u0026q=85\u0026s=f269d67e990e4b4738a09e45ee73feaf","api":{"playground":{"display":"interactive"}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"https://app.emailr.dev/login","label":"Sign In"}],"primary":{"type":"button","label":"Get Started","href":"https://app.emailr.dev/login"}},"footer":{"socials":{"x":"https://x.com/emailr_dev","github":"https://github.com/emailr-dev"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"/guides/introduction"},{"anchor":"API Reference","icon":"code","href":"/api/introduction"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"emailrdev","hasAudioNarration":false,"actualSubdomain":"emailrdev","customDomains":[],"gitSource":{"type":"github","owner":"saeedmsdi","repo":"emailr.dev","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ab44ea9efef0242de4381f6","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"default","tag":"API","count":93},{"language":"default","tag":"Guides","count":29},{"language":"default","tag":"threads","count":13},{"language":"default","tag":"Sending","count":8},{"language":"default","tag":"contacts","count":8},{"language":"default","tag":"domains","count":8},{"language":"default","tag":"templates","count":8},{"language":"default","tag":"segments","count":7},{"language":"default","tag":"Inbox and automation","count":6},{"language":"default","tag":"Templates and marketing","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/knowledge-base/403-error-domain-mismatch","slug":"/guides/knowledge-base/403-error-domain-mismatch","pageMetadata":{"title":"403 Error Using Verified Domain","description":"Learn how to resolve a 403 error caused by using a domain in your API request that doesn't match your verified domain.","href":"/guides/knowledge-base/403-error-domain-mismatch"},"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: \"Learn how to resolve a 403 error caused by using a domain in your API request that doesn’t match your verified domain.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A 403 error can occur when there’s a mismatch between the domain you’re using in your API request and the domain you’ve verified in Emailr.`}),`\n`,_jsx(Heading,{level:`2`,id:`the-problem`,children:`The Problem`}),`\n`,_jsx(_components.p,{children:`You’ve verified a domain (or subdomain) in Emailr, but your API request is using a different domain.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example scenario:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`You verified `,_jsx(_components.code,{children:`sending.domain.com`}),` in Emailr`]}),`\n`,_jsxs(_components.li,{children:[`Your API request is using `,_jsx(_components.code,{children:`domain.com`}),` (i.e., without the `,_jsx(_components.code,{children:`sending`}),` subdomain)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-identify-this-issue`,children:`How to Identify This Issue`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Check which domain you’ve verified in your `,_jsx(_components.a,{href:`https://app.emailr.dev/dashboard/domains`,children:`Emailr Domains page`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Compare it with the domain you’re using in `,_jsx(_components.a,{href:`https://app.emailr.dev/dashboard/logs`,children:`your API request’s`}),` `,_jsx(_components.code,{children:`from`}),` field.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`solution`,children:`Solution`}),`\n`,_jsx(_components.p,{children:`You have two options to resolve this:`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Option 1: Update your API request`}),` (Recommended)`]}),`\n`,_jsxs(_components.p,{children:[`Update your API call to use the verified domain. For example, if you verified `,_jsx(_components.code,{children:`sending.domain.com`}),`, make sure your `,_jsx(_components.code,{children:`from`}),` field uses that exact domain:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`emailr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`emails`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`send`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` from:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'onboarding@sending.domain.com'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Use your verified domain`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` to:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'user@example.com'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` subject:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Hello World'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` html:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003cp>Hello World\u003c/p>'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Option 2: Delete and re-add the domain`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Delete the domain you’ve added in Emailr`}),`\n`,_jsx(_components.li,{children:`Add and verify the domain that matches what you’re using in your API request`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Make sure the domain in your API request exactly matches the domain you’ve\nverified in Emailr, including any subdomains.`})}),`\n`,_jsx(Heading,{level:`2`,id:`still-having-issues`,children:`Still Having Issues?`}),`\n`,_jsx(_components.p,{children:`If you’ve verified that your domain matches and you’re still getting a 403 error:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Verify that your domain is fully verified in the `,_jsx(_components.a,{href:`https://app.emailr.dev/dashboard/domains`,children:`Emailr Domains page`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Double-check that the domain in your API request’s `,_jsx(_components.code,{children:`from`}),` field exactly matches your verified domain`]}),`\n`,_jsx(_components.li,{children:`Ensure your API key has the necessary permissions.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://app.emailr.dev/dashboard`,children:`Contact Emailr support`}),` with details about your error`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"403 Error Using Verified Domain","description":"Learn how to resolve a 403 error caused by using a domain in your API request that doesn't match your verified domain.","href":"/guides/knowledge-base/403-error-domain-mismatch"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The Problem","slug":"the-problem","depth":2,"children":[]},{"title":"How to Identify This Issue","slug":"how-to-identify-this-issue","depth":2,"children":[]},{"title":"Solution","slug":"solution","depth":2,"children":[]},{"title":"Still Having Issues?","slug":"still-having-issues","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"emailrdev","siteName":"emailr_","title":"403 Error Using Verified Domain - emailr_","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-02T17:39:15.580Z","originalFileLocation":"guides/knowledge-base/403-error-domain-mismatch.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=\"light\"}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=\"Learn how to resolve a 403 error caused by using a domain in your API request that doesn\u0026#x27;t match your verified domain.\">\u003cmeta data-mint-head name=\"application-name\" content=\"emailr_\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/emailrdev/ouQRwFTOO7jjFz9V/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/emailrdev/ouQRwFTOO7jjFz9V/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/emailrdev/ouQRwFTOO7jjFz9V/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/emailrdev/ouQRwFTOO7jjFz9V/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/emailrdev/ouQRwFTOO7jjFz9V/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/emailrdev/ouQRwFTOO7jjFz9V/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/emailrdev/ouQRwFTOO7jjFz9V/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/emailrdev/ouQRwFTOO7jjFz9V/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/emailrdev/ouQRwFTOO7jjFz9V/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"403 Error Using Verified Domain - emailr_\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn how to resolve a 403 error caused by using a domain in your API request that doesn\u0026#x27;t match your verified domain.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"emailr_\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://emailr.dev/docs/guides/knowledge-base/403-error-domain-mismatch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://emailr.dev/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=403+Error+Using+Verified+Domain\u0026amp;description=Learn+how+to+resolve+a+403+error+caused+by+using+a+domain+in+your+API+request+that+doesn%27t+match+your+verified+domain.\u0026amp;theme=e8b5186f2bb48a3e72f70ed6\u0026amp;signature=2b80b944eb8d85823c5f0c88d93ef54d2056801041ae78720ab5ae9d39d1baa0\">\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=\"403 Error Using Verified Domain - emailr_\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn how to resolve a 403 error caused by using a domain in your API request that doesn\u0026#x27;t match your verified domain.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://emailr.dev/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=403+Error+Using+Verified+Domain\u0026amp;description=Learn+how+to+resolve+a+403+error+caused+by+using+a+domain+in+your+API+request+that+doesn%27t+match+your+verified+domain.\u0026amp;theme=e8b5186f2bb48a3e72f70ed6\u0026amp;signature=2b80b944eb8d85823c5f0c88d93ef54d2056801041ae78720ab5ae9d39d1baa0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/emailrdev/ouQRwFTOO7jjFz9V/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"emailr_\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#171717\">\u003clink data-mint-head rel=\"canonical\" href=\"https://emailr.dev/docs/guides/knowledge-base/403-error-domain-mismatch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/guides/knowledge-base/403-error-domain-mismatch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"emailr_\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"emailr_\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/guides/knowledge-base/403-error-domain-mismatch.md","siteName":"emailr_","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"/guides/introduction"},{"anchor":"API Reference","icon":"code","href":"/api/introduction"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Start here","pages":[{"title":"Emailr documentation","href":"/guides/introduction"},{"title":"Product overview","href":"/guides/product-overview"},{"title":"Send emails with Node.js","href":"/guides/send-with-nodejs"},{"title":"Security","href":"/guides/security"}]},{"group":"Sending","pages":[{"title":"Managing Domains","href":"/guides/dashboard/domains/introduction"},{"title":"Introduction","href":"/guides/dashboard/api-keys/introduction"},{"title":"Managing Emails","href":"/guides/dashboard/emails/introduction"},{"title":"Schedule Email","href":"/guides/dashboard/emails/schedule-email"},{"title":"Attachments","href":"/guides/dashboard/emails/attachments"},{"title":"Custom Headers","href":"/guides/dashboard/emails/custom-headers"},{"title":"Managing Tags","href":"/guides/dashboard/emails/tags"},{"title":"Email Bounces","href":"/guides/dashboard/emails/email-bounces"}]},{"group":"Templates and marketing","pages":[{"title":"Using Templates","href":"/guides/dashboard/templates/introduction"},{"title":"Working with Variables","href":"/guides/dashboard/templates/template-variables"},{"title":"Managing Contacts","href":"/guides/dashboard/audiences/contacts"},{"title":"Managing Segments","href":"/guides/dashboard/segments/introduction"},{"title":"Topics","href":"/guides/dashboard/topics/introduction"},{"title":"Managing Broadcasts","href":"/guides/dashboard/broadcasts/introduction"}]},{"group":"Inbox and automation","pages":[{"title":"Shared inbox","href":"/guides/dashboard/inbox/introduction"},{"title":"Receiving Emails","href":"/guides/dashboard/receiving/introduction"},{"title":"Managing Webhooks","href":"/guides/dashboard/webhooks/introduction"},{"title":"Event Types","href":"/guides/dashboard/webhooks/event-types"},{"title":"Verify Webhooks Requests","href":"/guides/dashboard/webhooks/verify-webhooks-requests"},{"title":"Automations and integrations","href":"/guides/automations"}]},{"group":"Account","pages":[{"title":"Managing Teams","href":"/guides/dashboard/settings/team"},{"title":"Managing Billing","href":"/guides/dashboard/settings/billing"},{"title":"What are Emailr account quotas and limits?","href":"/guides/knowledge-base/account-quotas-and-limits"},{"title":"How to Handle API Keys","href":"/guides/knowledge-base/how-to-handle-api-keys"},{"title":"How can I delete my Emailr account?","href":"/guides/knowledge-base/how-can-i-delete-my-emailr-account"}]}]},{"tab":"API","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api/introduction"},{"title":"Errors","href":"/api/errors"},{"title":"Usage Limits","href":"/api/rate-limit"},{"title":"Pagination","href":"/api/pagination"}]},{"group":"templates","pages":[{"title":"Get template preview (public)","deprecated":null,"version":null,"openapi":"/openapi.json get /preview/{template_id}","href":"/api-reference/templates/get-template-preview-public"},{"title":"List templates","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/templates","href":"/api-reference/templates/list-templates"},{"title":"Create a template","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/templates","href":"/api-reference/templates/create-a-template"},{"title":"Get template","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/templates/{id}","href":"/api-reference/templates/get-template"},{"title":"Update template","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/templates/{id}","href":"/api-reference/templates/update-template"},{"title":"Delete template","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/templates/{id}","href":"/api-reference/templates/delete-template"},{"title":"Update template preview","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/templates/{id}/preview","href":"/api-reference/templates/update-template-preview"},{"title":"Publish template","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/templates/{id}/publish","href":"/api-reference/templates/publish-template"}]},{"group":"emails","pages":[{"title":"Send an email","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/emails/send","href":"/api-reference/emails/send-an-email"},{"title":"Get email by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/emails/{id}","href":"/api-reference/emails/get-email-by-id"},{"title":"List emails","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/emails","href":"/api-reference/emails/list-emails"},{"title":"Forward an email","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/emails/forward","href":"/api-reference/emails/forward-an-email"}]},{"group":"contacts","pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/contacts","href":"/api-reference/contacts/create-a-contact"},{"title":"Bulk create contacts","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/contacts/bulk","href":"/api-reference/contacts/bulk-create-contacts"},{"title":"Check which emails exist","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/contacts/check-emails","href":"/api-reference/contacts/check-which-emails-exist"},{"title":"Get contact limit info","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/contacts/limit","href":"/api-reference/contacts/get-contact-limit-info"},{"title":"Get contact","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/contacts/{id}","href":"/api-reference/contacts/get-contact"},{"title":"Update contact","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/contacts/{id}","href":"/api-reference/contacts/update-contact"},{"title":"Delete contact","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/contacts/{id}","href":"/api-reference/contacts/delete-contact"}]},{"group":"domains","pages":[{"title":"List domains","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/domains","href":"/api-reference/domains/list-domains"},{"title":"Add domain","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/domains","href":"/api-reference/domains/add-domain"},{"title":"Verify domain","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/domains/{id}/verify","href":"/api-reference/domains/verify-domain"},{"title":"Get DNS status","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/domains/{id}/dns-status","href":"/api-reference/domains/get-dns-status"},{"title":"Get domain","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/domains/{id}","href":"/api-reference/domains/get-domain"},{"title":"Delete domain","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/domains/{id}","href":"/api-reference/domains/delete-domain"},{"title":"Update domain","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/domains/{id}","href":"/api-reference/domains/update-domain"},{"title":"Generate signed Domain Connect URL","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/domains/domainconnect/sign","href":"/api-reference/domains/generate-signed-domain-connect-url"}]},{"group":"webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"Toggle webhook","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/webhooks/{id}/toggle","href":"/api-reference/webhooks/toggle-webhook"},{"title":"Update webhook","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/webhooks/{id}","href":"/api-reference/webhooks/update-webhook"},{"title":"Delete webhook","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/webhooks/{id}","href":"/api-reference/webhooks/delete-webhook"},{"title":"Get webhook deliveries","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhooks/{id}/deliveries","href":"/api-reference/webhooks/get-webhook-deliveries"}]},{"group":"broadcasts","pages":[{"title":"List broadcasts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/broadcasts","href":"/api-reference/broadcasts/list-broadcasts"},{"title":"Create broadcast","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/broadcasts","href":"/api-reference/broadcasts/create-broadcast"},{"title":"Send broadcast","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/broadcasts/{id}/send","href":"/api-reference/broadcasts/send-broadcast"},{"title":"Get broadcast","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/broadcasts/{id}","href":"/api-reference/broadcasts/get-broadcast"},{"title":"Update broadcast","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/broadcasts/{id}","href":"/api-reference/broadcasts/update-broadcast"},{"title":"Delete broadcast","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/broadcasts/{id}","href":"/api-reference/broadcasts/delete-broadcast"}]},{"group":"segments","pages":[{"title":"List segments","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/segments","href":"/api-reference/segments/list-segments"},{"title":"Create segment","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/segments","href":"/api-reference/segments/create-segment"},{"title":"Update segment","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/segments/{id}","href":"/api-reference/segments/update-segment"},{"title":"Delete segment","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/segments/{id}","href":"/api-reference/segments/delete-segment"},{"title":"Bulk add contacts to segment","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/segments/{id}/contacts/bulk","href":"/api-reference/segments/bulk-add-contacts-to-segment"},{"title":"Add contact to segment","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/segments/{id}/contacts/{contactId}","href":"/api-reference/segments/add-contact-to-segment"},{"title":"Get segment contacts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/segments/{id}/contacts","href":"/api-reference/segments/get-segment-contacts"}]},{"group":"contact-properties","pages":[{"title":"List property definitions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/contact-properties","href":"/api-reference/contact-properties/list-property-definitions"},{"title":"Create property definition","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/contact-properties","href":"/api-reference/contact-properties/create-property-definition"},{"title":"Delete property definition","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/contact-properties/{id}","href":"/api-reference/contact-properties/delete-property-definition"}]},{"group":"import","pages":[{"title":"Preview CSV import","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/contacts/import/preview","href":"/api-reference/import/preview-csv-import"},{"title":"Import contacts from CSV","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/contacts/import","href":"/api-reference/import/import-contacts-from-csv"}]},{"group":"invitations","pages":[{"title":"List pending invitations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/invitations","href":"/api-reference/invitations/list-pending-invitations"},{"title":"Create team invitation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/invitations","href":"/api-reference/invitations/create-team-invitation"},{"title":"Cancel invitation","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/invitations/{id}","href":"/api-reference/invitations/cancel-invitation"},{"title":"Get invitation details (public)","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/invitations/{token}/details","href":"/api-reference/invitations/get-invitation-details-public"},{"title":"Accept invitation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/invitations/{token}/accept","href":"/api-reference/invitations/accept-invitation"}]},{"group":"forwarding-rules","pages":[{"title":"List forwarding rules","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/forwarding-rules","href":"/api-reference/forwarding-rules/list-forwarding-rules"},{"title":"Create forwarding rule","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/forwarding-rules","href":"/api-reference/forwarding-rules/create-forwarding-rule"},{"title":"Delete forwarding rule","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/forwarding-rules/{id}","href":"/api-reference/forwarding-rules/delete-forwarding-rule"}]},{"group":"threads","pages":[{"title":"List email threads","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/threads","href":"/api-reference/threads/list-email-threads"},{"title":"Update email labels","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/threads/emails/{emailId}/labels","href":"/api-reference/threads/update-email-labels"},{"title":"Update thread labels","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/threads/{threadId}/labels","href":"/api-reference/threads/update-thread-labels"},{"title":"Mark thread as read","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/threads/{threadId}/mark-read","href":"/api-reference/threads/mark-thread-as-read"},{"title":"Update email tags","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/threads/emails/{emailId}/tags","href":"/api-reference/threads/update-email-tags"},{"title":"List email comments","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/threads/emails/{emailId}/comments","href":"/api-reference/threads/list-email-comments"},{"title":"Create email comment","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/threads/emails/{emailId}/comments","href":"/api-reference/threads/create-email-comment"},{"title":"Delete email comment","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/threads/emails/{emailId}/comments/{commentId}","href":"/api-reference/threads/delete-email-comment"},{"title":"Get thread detail","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/threads/{threadId}","href":"/api-reference/threads/get-thread-detail"},{"title":"Reply to a thread","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/threads/{threadId}/reply","href":"/api-reference/threads/reply-to-a-thread"},{"title":"Get draft reply","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/threads/{threadId}/draft","href":"/api-reference/threads/get-draft-reply"},{"title":"Save draft reply","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/threads/{threadId}/draft","href":"/api-reference/threads/save-draft-reply"},{"title":"Delete draft reply","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/threads/{threadId}/draft","href":"/api-reference/threads/delete-draft-reply"}]},{"group":"inboxes","pages":[{"title":"List inboxes","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/inboxes","href":"/api-reference/inboxes/list-inboxes"},{"title":"Create inbox","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/inboxes","href":"/api-reference/inboxes/create-inbox"},{"title":"Get inbox","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/inboxes/{id}","href":"/api-reference/inboxes/get-inbox"},{"title":"Update inbox","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/inboxes/{id}","href":"/api-reference/inboxes/update-inbox"},{"title":"Delete inbox","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/inboxes/{id}","href":"/api-reference/inboxes/delete-inbox"}]},{"group":"automation-webhooks","pages":[{"title":"Subscribe automation webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/automation-webhooks/subscribe","href":"/api-reference/automation-webhooks/subscribe-automation-webhook"},{"title":"Unsubscribe automation webhook","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/automation-webhooks/unsubscribe","href":"/api-reference/automation-webhooks/unsubscribe-automation-webhook"},{"title":"List automation webhooks","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automation-webhooks","href":"/api-reference/automation-webhooks/list-automation-webhooks"},{"title":"List inboxes","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/automation-webhooks/inboxes","href":"/api-reference/automation-webhooks/list-inboxes"},{"title":"Send test event","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/automation-webhooks/test","href":"/api-reference/automation-webhooks/send-test-event"}]},{"group":"sequences","pages":[{"title":"List sequence steps for a broadcast","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/broadcasts/{broadcastId}/steps","href":"/api-reference/sequences/list-sequence-steps-for-a-broadcast"},{"title":"Add a follow-up step to a broadcast sequence","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/broadcasts/{broadcastId}/steps","href":"/api-reference/sequences/add-a-follow-up-step-to-a-broadcast-sequence"},{"title":"Delete a sequence step","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/broadcasts/{broadcastId}/steps/{stepId}","href":"/api-reference/sequences/delete-a-sequence-step"},{"title":"Update a sequence step","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/broadcasts/{broadcastId}/steps/{stepId}","href":"/api-reference/sequences/update-a-sequence-step"},{"title":"List enrollments for a broadcast sequence","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/broadcasts/{broadcastId}/enrollments","href":"/api-reference/sequences/list-enrollments-for-a-broadcast-sequence"},{"title":"Aggregate sequence enrollment stats for a broadcast","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/broadcasts/{broadcastId}/sequence-stats","href":"/api-reference/sequences/aggregate-sequence-enrollment-stats-for-a-broadcast"}]}]}]},"basePath":"","title":"403 Error Using Verified Domain - emailr_","buildId":"dpl_Eok1jboeiLTUE4ccnKdogAktkDhH","deploymentId":"dpl_Eok1jboeiLTUE4ccnKdogAktkDhH","dynamics":[],"chunks":[]}