Register a new sending domain with SendPost. After creation, you’ll receive DNS records that must be configured with your DNS provider before you can send emails.
Domain Setup Process:
Call this endpoint with your domain name
Copy the returned DNS records (DKIM, Return-Path, Track, DMARC)
Add records to your DNS provider (GoDaddy, Cloudflare, Route53, etc.)
Wait for DNS propagation (typically 15 minutes to 48 hours)
Verification happens automatically, or trigger manual verification
DNS Records Explained:
Record
Purpose
Required
DKIM
Cryptographically signs emails to prove authenticity
Yes
Return-Path
Routes bounce notifications through SendPost
Recommended
Track
Enables click tracking with your domain
Optional
DMARC
Adds additional authentication layer
Recommended
Best Practices:
Use a subdomain like mail.yourdomain.com for sending
The domain name to add for sending emails.
Must be a valid domain you own and can configure DNS records for.
Example: piedpiper.com (not subdomain like mail.piedpiper.com)
A sending domain configured for email delivery. Domains must be verified via DNS records
before they can be used for sending. SendPost requires DKIM authentication and recommends
configuring Return-Path, DMARC, and tracking records for optimal deliverability.
DKIM (DomainKeys Identified Mail) DNS record configuration.
DKIM cryptographically signs your emails to verify they haven't been tampered with.
This is REQUIRED for sending emails.
Return-Path (bounce handling) DNS record configuration.
Configuring this allows bounce notifications to be properly routed through SendPost.
RECOMMENDED for better deliverability.
Tracking domain DNS record configuration.
When configured, click tracking links use your domain instead of SendPost's domain.
RECOMMENDED for brand consistency and improved click-through rates.
DMARC (Domain-based Message Authentication, Reporting & Conformance) DNS record.
DMARC builds on DKIM and SPF to provide email authentication and reporting.
RECOMMENDED for enterprise senders.
Detailed reason if Return-Path verification failed
Example:
""
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SendPost Docs","colors":{"primary":"#5750EC","light":"#5750EC","dark":"#5750EC"},"logo":{"light":"https://mintcdn.com/sendx-43e2b6a9/xWJ6M32vFagLUxJg/logo/sendpost.svg?fit=max\u0026auto=format\u0026n=xWJ6M32vFagLUxJg\u0026q=85\u0026s=fc1d92fba901bca2cbab1ee394bc02ed","dark":"https://mintcdn.com/sendx-43e2b6a9/xWJ6M32vFagLUxJg/logo/sendpost.svg?fit=max\u0026auto=format\u0026n=xWJ6M32vFagLUxJg\u0026q=85\u0026s=fc1d92fba901bca2cbab1ee394bc02ed"},"favicon":"https://mintcdn.com/sendx-43e2b6a9/xWJ6M32vFagLUxJg/favicon.svg?fit=max\u0026auto=format\u0026n=xWJ6M32vFagLUxJg\u0026q=85\u0026s=49e9debc4f6238bdb21ed33aa69238f1","navbar":{"links":[{"href":"mailto:dev@sendpost.io","label":"Support"}],"primary":{"type":"button","label":"SendPost","href":"https://app.sendpost.io/"}},"footer":{"socials":{"github":"https://github.com/sendpost","linkedin":"https://www.linkedin.com/company/sendpost"}},"integrations":{"intercom":{"appId":"APP_ID"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sendx-43e2b6a9","hasAudioNarration":false,"actualSubdomain":"sendx-43e2b6a9","customDomains":["docs.sendpost.io"],"gitSource":{"type":"github","owner":"sendpost","repo":"sendpost-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aec41183744ce14d0837e22","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Welcome","count":68},{"language":"default","tag":"API Reference","count":49},{"language":"default","tag":"Guides","count":39},{"language":"default","tag":"Quickstarts","count":22},{"language":"default","tag":"Webhook","count":10},{"language":"default","tag":"Amazon SES","count":7},{"language":"default","tag":"Custom SMTP","count":7},{"language":"default","tag":"SendGrid","count":7},{"language":"default","tag":"Common Use Cases","count":6},{"language":"default","tag":"IPPools","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/domain/create-a-new-domain","slug":"/api-reference/domain/create-a-new-domain","pageMetadata":{"openapi":"post /subaccount/domain","title":"Create Domain","description":"Register a new sending domain with SendPost. After creation, you'll receive DNS records that must be configured with your DNS provider before you can send emails.\n\n**Domain Setup Process:**\n1. Call this endpoint with your domain name\n2. Copy the returned DNS records (DKIM, Return-Path, Track, DMARC)\n3. Add records to your DNS provider (GoDaddy, Cloudflare, Route53, etc.)\n4. Wait for DNS propagation (typically 15 minutes to 48 hours)\n5. Verification happens automatically, or trigger manual verification\n\n**DNS Records Explained:**\n| Record | Purpose | Required |\n|--------|---------|----------|\n| DKIM | Cryptographically signs emails to prove authenticity | Yes |\n| Return-Path | Routes bounce notifications through SendPost | Recommended |\n| Track | Enables click tracking with your domain | Optional |\n| DMARC | Adds additional authentication layer | Recommended |\n\n**Best Practices:**\n- Use a subdomain like `mail.yourdomain.com` for sending\n- Keep your root domain for your website\n- Configure all records for best deliverability\n","href":"/api-reference/domain/create-a-new-domain"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n ol: \"ol\",\n p: \"p\",\n strong: \"strong\",\n table: \"table\",\n tbody: \"tbody\",\n td: \"td\",\n th: \"th\",\n thead: \"thead\",\n tr: \"tr\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Register a new sending domain with SendPost. After creation, you’ll receive DNS records that must be configured with your DNS provider before you can send emails.\"\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Domain Setup Process:\"\n })\n }), \"\\n\", _jsxs(_components.ol, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Call this endpoint with your domain name\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Copy the returned DNS records (DKIM, Return-Path, Track, DMARC)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Add records to your DNS provider (GoDaddy, Cloudflare, Route53, etc.)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Wait for DNS propagation (typically 15 minutes to 48 hours)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Verification happens automatically, or trigger manual verification\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"DNS Records Explained:\"\n })\n }), \"\\n\", _jsxs(_components.table, {\n children: [_jsx(_components.thead, {\n children: _jsxs(_components.tr, {\n children: [_jsx(_components.th, {\n children: \"Record\"\n }), _jsx(_components.th, {\n children: \"Purpose\"\n }), _jsx(_components.th, {\n children: \"Required\"\n })]\n })\n }), _jsxs(_components.tbody, {\n children: [_jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"DKIM\"\n }), _jsx(_components.td, {\n children: \"Cryptographically signs emails to prove authenticity\"\n }), _jsx(_components.td, {\n children: \"Yes\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"Return-Path\"\n }), _jsx(_components.td, {\n children: \"Routes bounce notifications through SendPost\"\n }), _jsx(_components.td, {\n children: \"Recommended\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"Track\"\n }), _jsx(_components.td, {\n children: \"Enables click tracking with your domain\"\n }), _jsx(_components.td, {\n children: \"Optional\"\n })]\n }), _jsxs(_components.tr, {\n children: [_jsx(_components.td, {\n children: \"DMARC\"\n }), _jsx(_components.td, {\n children: \"Adds additional authentication layer\"\n }), _jsx(_components.td, {\n children: \"Recommended\"\n })]\n })]\n })]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Best Practices:\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"Use a subdomain like \", _jsx(_components.code, {\n children: \"mail.yourdomain.com\"\n }), \" for sending\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"Keep your root domain for your website\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Configure all records for best deliverability\"\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /subaccount/domain","title":"Create Domain","description":"Register a new sending domain with SendPost. After creation, you'll receive DNS records that must be configured with your DNS provider before you can send emails.\n\n**Domain Setup Process:**\n1. Call this endpoint with your domain name\n2. Copy the returned DNS records (DKIM, Return-Path, Track, DMARC)\n3. Add records to your DNS provider (GoDaddy, Cloudflare, Route53, etc.)\n4. Wait for DNS propagation (typically 15 minutes to 48 hours)\n5. Verification happens automatically, or trigger manual verification\n\n**DNS Records Explained:**\n| Record | Purpose | Required |\n|--------|---------|----------|\n| DKIM | Cryptographically signs emails to prove authenticity | Yes |\n| Return-Path | Routes bounce notifications through SendPost | Recommended |\n| Track | Enables click tracking with your domain | Optional |\n| DMARC | Adds additional authentication layer | Recommended |\n\n**Best Practices:**\n- Use a subdomain like `mail.yourdomain.com` for sending\n- Keep your root domain for your website\n- Configure all records for best deliverability\n","href":"/api-reference/domain/create-a-new-domain"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createSubAccountDomain","summary":"Create Domain","description":"Register a new sending domain with SendPost. After creation, you'll receive DNS records that must be configured with your DNS provider before you can send emails.\n\n**Domain Setup Process:**\n1. Call this endpoint with your domain name\n2. Copy the returned DNS records (DKIM, Return-Path, Track, DMARC)\n3. Add records to your DNS provider (GoDaddy, Cloudflare, Route53, etc.)\n4. Wait for DNS propagation (typically 15 minutes to 48 hours)\n5. Verification happens automatically, or trigger manual verification\n\n**DNS Records Explained:**\n| Record | Purpose | Required |\n|--------|---------|----------|\n| DKIM | Cryptographically signs emails to prove authenticity | Yes |\n| Return-Path | Routes bounce notifications through SendPost | Recommended |\n| Track | Enables click tracking with your domain | Optional |\n| DMARC | Adds additional authentication layer | Recommended |\n\n**Best Practices:**\n- Use a subdomain like `mail.yourdomain.com` for sending\n- Keep your root domain for your website\n- Configure all records for best deliverability\n","tags":["Domain"],"security":["924c0a36-b9d6-4569-994e-b7ffc05c93cc"],"requestBody":"ff99cc9d-0b42-463c-ad2d-c51bff7cc067","responses":{"201":"c1c7dcc2-ad9e-42c4-a0bd-d83e8e57d1ec"},"x-code-samples":[{"lang":"shell","source":"curl -X POST \"https://api.sendpost.io/api/v1/subaccount/domain\" \\\n-H \"accept: application/json\" \\\n-H \"X-SubAccount-ApiKey: \u003csubaccount_api_key>\" \\\n-d '{\"name\": \"example.com\"}'\n"},{"lang":"python","source":"import requests\nurl = \"https://api.sendpost.io/api/v1/subaccount/domain\"\nheaders = {\n \"accept\": \"application/json\",\n \"X-SubAccount-ApiKey\": \"\u003csubaccount_api_key>\"\n}\ndata = {\"name\": \"example.com\"}\nresponse = requests.post(url, headers=headers, json=data)\nprint(response.json())\n"}],"method":"post","type":"path","servers":["3e2bf5d9-3b9c-4724-ba94-ee3efb46f2dc"],"path":"/subaccount/domain","baseUrlOptions":["https://api.sendpost.io/api/v1"],"title":"Create Domain","codeSamples":[{"lang":"shell","source":"curl -X POST \"https://api.sendpost.io/api/v1/subaccount/domain\" \\\n-H \"accept: application/json\" \\\n-H \"X-SubAccount-ApiKey: \u003csubaccount_api_key>\" \\\n-d '{\"name\": \"example.com\"}'\n"},{"lang":"python","source":"import requests\nurl = \"https://api.sendpost.io/api/v1/subaccount/domain\"\nheaders = {\n \"accept\": \"application/json\",\n \"X-SubAccount-ApiKey\": \"\u003csubaccount_api_key>\"\n}\ndata = {\"name\": \"example.com\"}\nresponse = requests.post(url, headers=headers, json=data)\nprint(response.json())\n"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Request body for adding a new sending domain","required":["name"],"properties":{"name":{"type":"string","description":"The domain name to add for sending emails.\nMust be a valid domain you own and can configure DNS records for.\nExample: piedpiper.com (not subdomain like mail.piedpiper.com)\n","example":"piedpiper.com","pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9](?:\\.[a-zA-Z]{2,})+$","isRequired":true,"uniqueKey":"name","typeLabel":"string"}},"example":{"name":"piedpiper.com"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"piedpiper.com"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c1c7dcc2-ad9e-42c4-a0bd-d83e8e57d1ec":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","description":"A sending domain configured for email delivery. Domains must be verified via DNS records\nbefore they can be used for sending. SendPost requires DKIM authentication and recommends\nconfiguring Return-Path, DMARC, and tracking records for optimal deliverability.\n","properties":{"id":{"type":"integer","format":"int64","description":"Unique identifier for the domain","example":117,"uniqueKey":"id","typeLabel":"integer\u003cint64>"},"name":{"type":"string","description":"The domain name (e.g., \"example.com\"). This is the domain portion of your\nsending email addresses.\n","example":"piedpiper.com","uniqueKey":"name","typeLabel":"string"},"dnsProvider":{"type":"string","description":"Auto-detected DNS provider for this domain (e.g. \"cloudflare\", \"other\"),\nused to tailor DNS-setup instructions. Read-only.\n","example":"cloudflare","uniqueKey":"dnsProvider","typeLabel":"string"},"dkim":{"type":"object","description":"DKIM (DomainKeys Identified Mail) DNS record configuration.\nDKIM cryptographically signs your emails to verify they haven't been tampered with.\nThis is REQUIRED for sending emails.\n","properties":{"host":{"type":"string","description":"The DNS hostname where this record should be created","example":"sp-dkim._domainkey.example.com","uniqueKey":"dkim.host","typeLabel":"string"},"type":{"type":"string","description":"The DNS record type (TXT or CNAME)","enum":["TXT","CNAME"],"example":"TXT","uniqueKey":"dkim.type","typeLabel":"enum\u003cstring>"},"textValue":{"type":"string","description":"The value to set for this DNS record","example":"v=DKIM1;k=rsa;p=MIGfMA0GCSqGSIb3D...","uniqueKey":"dkim.textValue","typeLabel":"string"}},"uniqueKey":"dkim","typeLabel":"object"},"returnPath":{"type":"object","description":"Return-Path (bounce handling) DNS record configuration.\nConfiguring this allows bounce notifications to be properly routed through SendPost.\nRECOMMENDED for better deliverability.\n","properties":{"host":{"type":"string","description":"The DNS hostname where this record should be created","example":"sp-dkim._domainkey.example.com","uniqueKey":"returnPath.host","typeLabel":"string"},"type":{"type":"string","description":"The DNS record type (TXT or CNAME)","enum":["TXT","CNAME"],"example":"TXT","uniqueKey":"returnPath.type","typeLabel":"enum\u003cstring>"},"textValue":{"type":"string","description":"The value to set for this DNS record","example":"v=DKIM1;k=rsa;p=MIGfMA0GCSqGSIb3D...","uniqueKey":"returnPath.textValue","typeLabel":"string"}},"uniqueKey":"returnPath","typeLabel":"object"},"track":{"type":"object","description":"Tracking domain DNS record configuration.\nWhen configured, click tracking links use your domain instead of SendPost's domain.\nRECOMMENDED for brand consistency and improved click-through rates.\n","properties":{"host":{"type":"string","description":"The DNS hostname where this record should be created","example":"sp-dkim._domainkey.example.com","uniqueKey":"track.host","typeLabel":"string"},"type":{"type":"string","description":"The DNS record type (TXT or CNAME)","enum":["TXT","CNAME"],"example":"TXT","uniqueKey":"track.type","typeLabel":"enum\u003cstring>"},"textValue":{"type":"string","description":"The value to set for this DNS record","example":"v=DKIM1;k=rsa;p=MIGfMA0GCSqGSIb3D...","uniqueKey":"track.textValue","typeLabel":"string"}},"uniqueKey":"track","typeLabel":"object"},"dmarc":{"type":"object","description":"DMARC (Domain-based Message Authentication, Reporting \u0026 Conformance) DNS record.\nDMARC builds on DKIM and SPF to provide email authentication and reporting.\nRECOMMENDED for enterprise senders.\n","properties":{"host":{"type":"string","description":"The DNS hostname where this record should be created","example":"sp-dkim._domainkey.example.com","uniqueKey":"dmarc.host","typeLabel":"string"},"type":{"type":"string","description":"The DNS record type (TXT or CNAME)","enum":["TXT","CNAME"],"example":"TXT","uniqueKey":"dmarc.type","typeLabel":"enum\u003cstring>"},"textValue":{"type":"string","description":"The value to set for this DNS record","example":"v=DKIM1;k=rsa;p=MIGfMA0GCSqGSIb3D...","uniqueKey":"dmarc.textValue","typeLabel":"string"}},"uniqueKey":"dmarc","typeLabel":"object"},"dkimVerified":{"type":"boolean","description":"Whether the DKIM DNS record has been verified successfully","example":true,"uniqueKey":"dkimVerified","typeLabel":"boolean"},"dmarcVerified":{"type":"boolean","description":"Whether the DMARC DNS record has been verified successfully","example":false,"uniqueKey":"dmarcVerified","typeLabel":"boolean"},"returnPathVerified":{"type":"boolean","description":"Whether the Return-Path DNS record has been verified successfully","example":true,"uniqueKey":"returnPathVerified","typeLabel":"boolean"},"trackVerified":{"type":"boolean","description":"Whether the tracking domain DNS record has been verified successfully","example":true,"uniqueKey":"trackVerified","typeLabel":"boolean"},"verified":{"type":"boolean","description":"Overall verification status. True only if DKIM is verified (minimum requirement).\nFor full verification, configure all DNS records.\n","example":true,"uniqueKey":"verified","typeLabel":"boolean"},"domainRegisteredDate":{"type":"string","format":"date","description":"Date when this domain was originally registered (from WHOIS).\nNewer domains may have lower sender reputation initially.\n","example":"1995-08-14","uniqueKey":"domainRegisteredDate","typeLabel":"string\u003cdate>"},"created":{"type":"integer","format":"int64","description":"UNIX epoch timestamp in nanoseconds when the domain was added to SendPost","example":1704067200000000000,"uniqueKey":"created","typeLabel":"integer\u003cint64>"},"dkimFailureReason":{"type":"string","description":"Detailed reason if DKIM verification failed (empty if verified or not attempted)","example":"DNS record not found. Please add the TXT record to your DNS provider.","uniqueKey":"dkimFailureReason","typeLabel":"string"},"dmarcFailureReason":{"type":"string","description":"Detailed reason if DMARC verification failed","example":"","uniqueKey":"dmarcFailureReason","typeLabel":"string"},"trackFailureReason":{"type":"string","description":"Detailed reason if tracking domain verification failed","example":"","uniqueKey":"trackFailureReason","typeLabel":"string"},"returnPathFailureReason":{"type":"string","description":"Detailed reason if Return-Path verification failed","example":"","uniqueKey":"returnPathFailureReason","typeLabel":"string"}},"example":{"id":117,"name":"piedpiper.com","dkim":{"host":"sp-dkim._domainkey.piedpiper.com","type":"TXT","textValue":"v=DKIM1;k=rsa;p=MIGfMA0GCSqGSIb3D..."},"returnPath":{"host":"sp-bounces.piedpiper.com","type":"CNAME","textValue":"sp.sendpost.email"},"track":{"host":"track.piedpiper.com","type":"CNAME","textValue":"api.sendpost.io"},"dmarc":{"host":"_dmarc.piedpiper.com","type":"TXT","textValue":"v=DMARC1; p=quarantine; rua=mailto:dmarc@piedpiper.com"},"dkimVerified":true,"dmarcVerified":true,"returnPathVerified":true,"trackVerified":true,"verified":true,"domainRegisteredDate":"2014-04-12","created":1704067200000000000},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":117,"name":"piedpiper.com","dkim":{"host":"sp-dkim._domainkey.piedpiper.com","type":"TXT","textValue":"v=DKIM1;k=rsa;p=MIGfMA0GCSqGSIb3D..."},"returnPath":{"host":"sp-bounces.piedpiper.com","type":"CNAME","textValue":"sp.sendpost.email"},"track":{"host":"track.piedpiper.com","type":"CNAME","textValue":"api.sendpost.io"},"dmarc":{"host":"_dmarc.piedpiper.com","type":"TXT","textValue":"v=DMARC1; p=quarantine; rua=mailto:dmarc@piedpiper.com"},"dkimVerified":true,"dmarcVerified":true,"returnPathVerified":true,"trackVerified":true,"verified":true,"domainRegisteredDate":"2014-04-12","created":1704067200000000000}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"924c0a36-b9d6-4569-994e-b7ffc05c93cc":{"subAccountAuth":{"type":"apiKey","in":"header","name":"X-SubAccount-ApiKey","description":"This api key can be used only for sub account level operations","scopes":[],"schemeName":"subAccountAuth"}}},"servers":{"3e2bf5d9-3b9c-4724-ba94-ee3efb46f2dc":{"url":"https://api.sendpost.io/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-SubAccount-ApiKey","description":"This api key can be used only for sub account level operations","scopes":[],"schemeName":"subAccountAuth"},"schema":{"title":"X-SubAccount-ApiKey","type":"string","description":"This api key can be used only for sub account level operations","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"subAccountAuth","name":"X-SubAccount-ApiKey"}],"title":"subAccountAuth"}]},"originalFileLocation":"swagger.yaml"},"subdomain":"sendx-43e2b6a9","siteName":"SendPost Docs","title":"Create Domain - SendPost Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-22T12:24:27.647Z","originalFileLocation":"api-reference/domain/create-a-new-domain.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=\"Register a new sending domain with SendPost. After creation, you\u0026#x27;ll receive DNS records that must be configured with your DNS provider before you can send emails. Domain Setup Process: 1. Call this endpoint with your domain name 2. Copy the returned DNS records (DKIM, Return-Path, Track, DMARC) 3. Add records to your DNS provider (GoDaddy, Cloudflare, Route53, etc.) 4. Wait for DNS propagation (typically 15 minutes to 48 hours) 5. Verification happens automatically, or trigger manual verification DNS Records Explained: | Record | Purpose | Required | |--------|---------|----------| | DKIM | Cryptographically signs emails to prove authenticity | Yes | | Return-Path | Routes bounce notifications through SendPost | Recommended | | Track | Enables click tracking with your domain | Optional | | DMARC | Adds additional authentication layer | Recommended | Best Practices: - Use a subdomain like mail.yourdomain.com for sending - Keep your root domain for your website - Configure all records for best deliverability\">\u003cmeta data-mint-head name=\"application-name\" content=\"SendPost 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/sendx-43e2b6a9/gASVnBX9Wp6ly5V-/_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/sendx-43e2b6a9/gASVnBX9Wp6ly5V-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendx-43e2b6a9/gASVnBX9Wp6ly5V-/_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/sendx-43e2b6a9/gASVnBX9Wp6ly5V-/_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/sendx-43e2b6a9/gASVnBX9Wp6ly5V-/_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/sendx-43e2b6a9/gASVnBX9Wp6ly5V-/_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/sendx-43e2b6a9/gASVnBX9Wp6ly5V-/_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/sendx-43e2b6a9/gASVnBX9Wp6ly5V-/_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/sendx-43e2b6a9/gASVnBX9Wp6ly5V-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Domain - SendPost Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Register a new sending domain with SendPost. After creation, you\u0026#x27;ll receive DNS records that must be configured with your DNS provider before you can send emails. Domain Setup Process: 1. Call this endpoint with your domain name 2. Copy the returned DNS records (DKIM, Return-Path, Track, DMARC) 3. Add records to your DNS provider (GoDaddy, Cloudflare, Route53, etc.) 4. Wait for DNS propagation (typically 15 minutes to 48 hours) 5. Verification happens automatically, or trigger manual verification DNS Records Explained: | Record | Purpose | Required | |--------|---------|----------| | DKIM | Cryptographically signs emails to prove authenticity | Yes | | Return-Path | Routes bounce notifications through SendPost | Recommended | | Track | Enables click tracking with your domain | Optional | | DMARC | Adds additional authentication layer | Recommended | Best Practices: - Use a subdomain like mail.yourdomain.com for sending - Keep your root domain for your website - Configure all records for best deliverability\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SendPost Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sendpost.io/api-reference/domain/create-a-new-domain\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sendx-43e2b6a9.mintlify.site/_mintlify/api/og/v2?division=Domain\u0026amp;title=Create+Domain\u0026amp;description=Register+a+new+sending+domain+with+SendPost.+After+creation%2C+you%27ll+receive+DNS+records+that+must+be+configured+with+your+DNS+provider+before+you+can+send+email\u0026amp;theme=36b9a144c81c41c7c881e1e9\u0026amp;signature=a9b0e34a5edca552433c1e3f47e1febe29dd89447a97cf2c1be5239a12708d75\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Domain - SendPost Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Register a new sending domain with SendPost. After creation, you\u0026#x27;ll receive DNS records that must be configured with your DNS provider before you can send emails. Domain Setup Process: 1. Call this endpoint with your domain name 2. Copy the returned DNS records (DKIM, Return-Path, Track, DMARC) 3. Add records to your DNS provider (GoDaddy, Cloudflare, Route53, etc.) 4. Wait for DNS propagation (typically 15 minutes to 48 hours) 5. Verification happens automatically, or trigger manual verification DNS Records Explained: | Record | Purpose | Required | |--------|---------|----------| | DKIM | Cryptographically signs emails to prove authenticity | Yes | | Return-Path | Routes bounce notifications through SendPost | Recommended | | Track | Enables click tracking with your domain | Optional | | DMARC | Adds additional authentication layer | Recommended | Best Practices: - Use a subdomain like mail.yourdomain.com for sending - Keep your root domain for your website - Configure all records for best deliverability\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sendx-43e2b6a9.mintlify.site/_mintlify/api/og/v2?division=Domain\u0026amp;title=Create+Domain\u0026amp;description=Register+a+new+sending+domain+with+SendPost.+After+creation%2C+you%27ll+receive+DNS+records+that+must+be+configured+with+your+DNS+provider+before+you+can+send+email\u0026amp;theme=36b9a144c81c41c7c881e1e9\u0026amp;signature=a9b0e34a5edca552433c1e3f47e1febe29dd89447a97cf2c1be5239a12708d75\">\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/sendx-43e2b6a9/gASVnBX9Wp6ly5V-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SendPost Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5750EC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sendpost.io/api-reference/domain/create-a-new-domain\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/domain/create-a-new-domain.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sendpost.io/#organization\",\"name\":\"SendPost Docs\",\"url\":\"https://docs.sendpost.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sendx-43e2b6a9/xWJ6M32vFagLUxJg/logo/sendpost.svg?fit=max\u0026auto=format\u0026n=xWJ6M32vFagLUxJg\u0026q=85\u0026s=fc1d92fba901bca2cbab1ee394bc02ed\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sendpost.io#website\",\"name\":\"SendPost Docs\",\"url\":\"https://docs.sendpost.io\",\"publisher\":{\"@id\":\"https://docs.sendpost.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sendpost.io/api-reference/domain/create-a-new-domain#webpage\",\"url\":\"https://docs.sendpost.io/api-reference/domain/create-a-new-domain\",\"name\":\"Create Domain\",\"description\":\"Register a new sending domain with SendPost. After creation, you'll receive DNS records that must be configured with your DNS provider before you can send emails. Domain Setup Process: 1. Call this endpoint with your domain name 2. Copy the returned DNS records (DKIM, Return-Path, Track, DMARC) 3. Add records to your DNS provider (GoDaddy, Cloudflare, Route53, etc.) 4. Wait for DNS propagation (typically 15 minutes to 48 hours) 5. Verification happens automatically, or trigger manual verification DNS Records Explained: | Record | Purpose | Required | |--------|---------|----------| | DKIM | Cryptographically signs emails to prove authenticity | Yes | | Return-Path | Routes bounce notifications through SendPost | Recommended | | Track | Enables click tracking with your domain | Optional | | DMARC | Adds additional authentication layer | Recommended | Best Practices: - Use a subdomain like mail.yourdomain.com for sending - Keep your root domain for your website - Configure all records for best deliverability\",\"dateModified\":\"2026-09-22T12:24:27.647Z\",\"isPartOf\":{\"@id\":\"https://docs.sendpost.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sendpost.io/api-reference/domain/create-a-new-domain#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sendpost.io/api-reference/domain/create-a-new-domain#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Domain\",\"item\":\"https://docs.sendpost.io/api-reference/domain/get-a-specific-domain\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Domain\",\"item\":\"https://docs.sendpost.io/api-reference/domain/create-a-new-domain\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sendpost.io/api-reference/domain/create-a-new-domain#apireference\",\"headline\":\"Create Domain\",\"name\":\"Create Domain\",\"description\":\"Register a new sending domain with SendPost. After creation, you'll receive DNS records that must be configured with your DNS provider before you can send emails. Domain Setup Process: 1. Call this endpoint with your domain name 2. Copy the returned DNS records (DKIM, Return-Path, Track, DMARC) 3. Add records to your DNS provider (GoDaddy, Cloudflare, Route53, etc.) 4. Wait for DNS propagation (typically 15 minutes to 48 hours) 5. Verification happens automatically, or trigger manual verification DNS Records Explained: | Record | Purpose | Required | |--------|---------|----------| | DKIM | Cryptographically signs emails to prove authenticity | Yes | | Return-Path | Routes bounce notifications through SendPost | Recommended | | Track | Enables click tracking with your domain | Optional | | DMARC | Adds additional authentication layer | Recommended | Best Practices: - Use a subdomain like mail.yourdomain.com for sending - Keep your root domain for your website - Configure all records for best deliverability\",\"url\":\"https://docs.sendpost.io/api-reference/domain/create-a-new-domain\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sendpost.io/api-reference/domain/create-a-new-domain#webpage\"},\"dateModified\":\"2026-09-22T12:24:27.647Z\",\"publisher\":{\"@id\":\"https://docs.sendpost.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sendpost.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SendPost Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"SendPost Docs","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":""}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"API Versioning \u0026 Migration","href":"/api-reference/api-versioning"},{"title":"Changelog","href":"/api-reference/changelog"}]},{"group":"Email","pages":[{"openapi":"post /subaccount/email/","title":"Send Email","href":"/api-reference/email/send-email"},{"openapi":"post /subaccount/email/template","title":"Send Email With Template","href":"/api-reference/email/send-email-with-template"}]},{"group":"Domain","pages":[{"openapi":"get /subaccount/domain/{domain_id}","title":"Get Domain","href":"/api-reference/domain/get-a-specific-domain"},{"openapi":"delete /subaccount/domain/{domain_id}","title":"Delete Domain","href":"/api-reference/domain/delete-a-specific-domain"},{"openapi":"get /subaccount/domain","title":"List Domains","description":"Retrieve all sending domains configured for this sub-account. Use this endpoint to audit your domain setup, check verification status, or retrieve DNS records for configuration.\n\n**Each domain record includes:**\n- Domain name and unique ID\n- DNS records to configure (DKIM, Return-Path, Track, DMARC)\n- Verification status for each record type\n- Failure messages for troubleshooting\n- Creation timestamp\n\n**Verification Status Values:**\n- `true` - Record verified and active\n- `false` - Record not verified (check DNS configuration)\n\n**Use Cases:**\n- Audit all configured sending domains\n- Export DNS records for documentation\n- Identify domains pending verification\n- Monitor domain health across multiple domains\n\n**Pagination:** Use `limit` and `offset` for large domain lists.\n","href":"/api-reference/domain/get-all-domains"},{"openapi":"post /subaccount/domain","title":"Create Domain","href":"/api-reference/domain/create-a-new-domain"}]},{"group":"Stats","pages":[{"openapi":"get /account/subaccount/stat/{subaccount_id}","title":"List Stats","description":"Retrieve daily email statistics for a specific sub-account. Returns one record per day within the date range, perfect for charting trends and identifying patterns.\n\n**Metrics Per Day:**\n| Metric | Description |\n|--------|-------------|\n| `processed` | Emails submitted to SendPost |\n| `delivered` | Successfully delivered to recipient's mailbox |\n| `dropped` | Blocked before sending (suppressed, invalid, etc.) |\n| `hardBounced` | Permanent failures (invalid address, domain doesn't exist) |\n| `softBounced` | Temporary failures (mailbox full, server down) |\n| `opens` | Total email opens (includes multiple opens per recipient) |\n| `clicks` | Total link clicks |\n| `unsubscribed` | Recipients who unsubscribed |\n| `spams` | Emails marked as spam by recipients |\n\n**Key Rates to Calculate:**\n- Delivery Rate = `delivered / processed × 100`\n- Open Rate = `opens / delivered × 100`\n- Click Rate = `clicks / delivered × 100`\n- Bounce Rate = `(hardBounced + softBounced) / processed × 100`\n\n**Use Cases:**\n- Daily performance dashboard\n- Week-over-week trend analysis\n- Identifying delivery issues early\n- SLA monitoring and reporting\n\n**Note:** Maximum date range is 31 days. Both `from` and `to` dates are inclusive.\n","href":"/api-reference/stats/get-all-stats"},{"openapi":"get /account/subaccount/stat/{subaccount_id}/aggregate","title":"Get Aggregate Stats","href":"/api-reference/stats/get-aggregate-stats"},{"openapi":"get /account/subaccount/stat/{subaccount_id}/group","title":"Get Group Aggregate Stats","href":"/api-reference/stats/get-aggregated-stats-by-group"}]},{"group":"Suppression","pages":[{"openapi":"get /subaccount/suppression","title":"List Suppressions","href":"/api-reference/suppression/get-all-suppressions"},{"openapi":"post /subaccount/suppression","title":"Create Suppressions","href":"/api-reference/suppression/create-new-suppressions"},{"openapi":"delete /subaccount/suppression","title":"Delete Suppressions","href":"/api-reference/suppression/delete-suppressions"}]},{"group":"IP","pages":[{"openapi":"get /account/ip/","title":"List IPs","href":"/api-reference/ip/get-all-ips"},{"openapi":"get /account/ip/{ip_id}","title":"Get IP","href":"/api-reference/ip/get-a-specific-ip"},{"openapi":"put /account/ip/{ip_id}","title":"Update IP","href":"/api-reference/ip/update-an-existing-ip"},{"openapi":"delete /account/ip/{ip_id}","title":"Delete IP","href":"/api-reference/ip/delete-a-specific-ip"},{"openapi":"put /account/ip/allocate","title":"Allocate IP","href":"/api-reference/ip/allocate-a-new-ip"}]},{"group":"Message","pages":[{"openapi":"get /account/message/{message_id}","title":"Get Message","href":"/api-reference/message/retrieve-a-specific-message"}]},{"group":"IPPools","pages":[{"title":"Routing Strategies and Metadata","href":"/api-reference/ippools/routing"},{"openapi":"get /account/ippool","title":"List IPPools","href":"/api-reference/ippools/get-all-ippools"},{"openapi":"post /account/ippool","title":"Create IPPool","href":"/api-reference/ippools/create-a-new-ippool"},{"openapi":"get /account/ippool/{ippool_id}","title":"Get IPPool","href":"/api-reference/ippools/get-a-specific-ippool"},{"openapi":"put /account/ippool/{ippool_id}","title":"Update IPPool","href":"/api-reference/ippools/update-an-existing-ippool"},{"openapi":"delete /account/ippool/{ippool_id}","title":"Delete IPPool","href":"/api-reference/ippools/delete-a-specific-ippool"}]},{"group":"Stats (A)","pages":[{"openapi":"get /account/stat","title":"List Account Stats","href":"/api-reference/stats-a/get-all-account-stats"},{"openapi":"get /account/stat/aggregate","title":"Get Account Aggregate Stats","href":"/api-reference/stats-a/get-account-aggregate-stats"},{"openapi":"get /account/stat/group","title":"List Account Group Stats","href":"/api-reference/stats-a/get-all-account-stats-by-group"},{"openapi":"get /account/stat/aggregate/group","title":"Get Account Group Aggregate Stats","href":"/api-reference/stats-a/get-account-aggregate-stats-by-group"}]},{"group":"Sub-Account","pages":[{"openapi":"get /account/subaccount/","title":"List Sub-Accounts","href":"/api-reference/sub-account/get-all-sub-accounts"},{"openapi":"post /account/subaccount/","title":"Create Sub-Account","href":"/api-reference/sub-account/create-a-new-sub-account"},{"openapi":"get /account/subaccount/{subaccount_id}","title":"Get Sub-Account","href":"/api-reference/sub-account/get-a-specific-sub-account"},{"openapi":"put /account/subaccount/{subaccount_id}","title":"Update Sub-Account","href":"/api-reference/sub-account/update-an-existing-sub-account"},{"openapi":"delete /account/subaccount/{subaccount_id}","title":"Delete Sub-Account","href":"/api-reference/sub-account/delete-a-specific-sub-account"}]},{"group":"Webhook","pages":[{"title":"Webhook Reference","href":"/api-reference/webhook/webhook-testing"},{"title":"Understanding Webhook Event Lifecycle","href":"/api-reference/webhook/understanding-webhook-event-lifecycle"},{"title":"Real-Time Validation Results","href":"/api-reference/webhook/validation-results"},{"title":"Webhook Signature Verification","href":"/api-reference/webhook/webhook-signature-verification"},{"openapi":"get /account/webhook","title":"List Webhooks","href":"/api-reference/webhook/get-all-webhooks"},{"openapi":"post /account/webhook","title":"Create Webhook","href":"/api-reference/webhook/create-a-new-webhook"},{"openapi":"get /account/webhook/{webhook_id}","title":"Get Webhook","href":"/api-reference/webhook/get-a-specific-webhook"},{"openapi":"put /account/webhook/{webhook_id}","title":"Update Webhook","href":"/api-reference/webhook/update-an-existing-webhook"},{"openapi":"delete /account/webhook/{webhook_id}","title":"Delete Webhook","href":"/api-reference/webhook/delete-a-specific-webhook"},{"openapi":"webhook SendPostWebhooks","title":"SendPost Webhook Object","href":"/api-reference/webhook/sendpost-webhook-object"}]}]}]},"basePath":"","title":"Create Domain - SendPost Docs","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}