SendComms
Email API

Custom Domains

Add custom sending domains to send emails from your own domain (e.g., hello@yourdomain.com) instead of the default SendComms address. Custom domains improve deliverability and brand recognition.

How Custom Domains Work

1

Add your domain

Register your sending domain (e.g., mail.yourdomain.com) via the API or dashboard

2

Configure DNS records

Add the provided SPF, DKIM, and optional DMARC records to your DNS provider

3

Verify your domain

Trigger verification to check DNS propagation (can take up to 72 hours)

Start sending

Once verified, emails will automatically use your domain. You can also specify a custom "from" address.

Domain Status Values

StatusDescription
not_startedDomain added but verification not yet initiated
pendingVerification in progress, waiting for DNS propagation
verifiedDomain verified and ready to send emails
failedDNS records not detected within 72 hours
temporary_failureDNS records temporarily not detected, will retry automatically

Select Language

GET/api/v1/domains

List all domains for your account.

REQUEST
curl -X GET \
  https://api.sendcomms.com/api/v1/domains \
  -H "Authorization: Bearer YOUR_API_KEY"
POST/api/v1/domains

Add a new sending domain. Returns DNS records that must be added to your DNS provider.

Request Body

ParameterTypeDescription
namestringDomain name (e.g., mail.yourdomain.com)
regionstringus-east-1, eu-west-1, sa-east-1, or ap-northeast-1
REQUEST
curl -X POST \
  https://api.sendcomms.com/api/v1/domains \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "mail.yourdomain.com",
    "region": "us-east-1"
  }'
POST/api/v1/domains/:domainId/verify

Trigger DNS verification for a domain. Call this after adding DNS records.

REQUEST
curl -X POST \
  https://api.sendcomms.com/api/v1/domains/YOUR_DOMAIN_ID/verify \
  -H "Authorization: Bearer YOUR_API_KEY"

Other Endpoints

GET/api/v1/domains/:domainId- Get domain details with DNS records
PATCH/api/v1/domains/:domainId- Update domain settings (tracking, TLS)
DELETE/api/v1/domains/:domainId- Remove a domain
POST/api/v1/domains/sync- Sync all domains to refresh status

Required DNS Records

When you create a domain, you'll receive DNS records to add to your DNS provider. These typically include:

SPF

MX and TXT records

Authorizes SendComms to send on your behalf

DKIM

3 CNAME records

Cryptographically signs your emails for authenticity

DMARC

TXT record (recommended)

Improves deliverability and provides reporting

Domain Limits by Plan

1
Free
3
Starter
10
Pro
100
Enterprise