Overview
The Domains resource allows you to register custom domains for sending emails. Using your own domain (e.g.,[email protected]) instead of a generic sender address improves deliverability and brand recognition.
Quick Example
Registering a Domain
Add a custom domain to your account:After registering a domain, you’ll need to add DNS records to verify ownership before you can send emails from it.
Managing Domains
List All Domains
Get all domains registered to your account:Get Domain Information
Retrieve details about a specific domain, including verification status:Delete a Domain
Remove a domain from your account:Domain Verification
After registering a domain, you need to verify ownership by adding DNS records:Add DNS records
Add the provided DNS records to your domain’s DNS configuration through your domain registrar or DNS provider.Typically, you’ll need to add:
- TXT record for domain verification
- DKIM record for email authentication
- SPF record for sender authentication
Complete Workflow
Here’s a complete example of registering and using a custom domain:DNS Configuration
Required DNS Records
When you register a domain, you’ll typically need to add these DNS records:SPF Record
SPF Record
Sender Policy Framework (SPF) record authorizes Contiguity to send emails on your behalf.
DKIM Record
DKIM Record
DomainKeys Identified Mail (DKIM) record adds a digital signature to your emails.
Domain Verification
Domain Verification
Verification record proves you own the domain.
The exact values will be provided when you register your domain. Always use the values from
contiguity.domains.get().Use Cases
Transactional Emails
Send order confirmations, receipts, and notifications from your branded domain.
Marketing Emails
Build trust with customers by sending campaigns from your official domain.
Account Notifications
Send password resets, verification emails, and alerts from a trusted source.
Team Communications
Enable your team to send emails from company addresses.
Best Practices
- Verify quickly - Add DNS records as soon as you register a domain to minimize downtime
- Monitor deliverability - Check your domain’s reputation and email delivery rates regularly
- Use proper from addresses - Choose professional, recognizable email addresses like
notifications@orhello@ - Test before launch - Send test emails to verify everything works before using in production
- Keep DNS records - Don’t remove DNS records as long as you’re using the domain for sending
Troubleshooting
Domain not verifying
Domain not verifying
- Check that you added the exact DNS records provided by Contiguity
- Wait for DNS propagation (can take up to 48 hours)
- Verify records using a DNS lookup tool
- Contact support if issues persist after 48 hours
Emails not delivering
Emails not delivering
- Ensure the domain is verified (
verified: true) - Check your DNS records are still in place
- Verify you’re using the correct
fromaddress format - Monitor your domain reputation
Next Steps
Send Emails
Learn how to send emails from your custom domain
API Reference
View complete API documentation

