Sending Domains Overview
Authenticate custom sending domains for email delivery.
Custom sending domains let you send emails from your own domain (e.g., notifications@yourcompany.com) instead of a shared PlatformXe domain. This improves deliverability and brand trust.
Why use a custom domain
- Better deliverability — emails from authenticated domains are less likely to land in spam
- Brand consistency — recipients see your domain, not a third-party address
- SPF/DKIM/DMARC compliance — meet enterprise email security requirements
How it works
- Register your domain via the API
- Configure DNS records — PlatformXe provides the SPF, DKIM, and DMARC records to add
- Verify — PlatformXe checks your DNS configuration and activates the domain
- Send — every email sent with an API key of your organisation goes out from
hello@<your domain>(with the domain's display name when set), through the route that verified the domain. If that route does not accept the email, the send is refused: it is not sent from the shared platform address and it is not queued. Without a verified domain the send is refused the same way. The shared platform address is reserved for Caldera. Keys of other organisations never use your domain. If you have several verified domains, the most recently verified one is used. A change (a domain verified or deleted) takes effect within a minute.
DNS records
After registering a domain, you will receive three types of DNS records to configure:
| Record | Type | Purpose |
|---|---|---|
| SPF | TXT | Authorizes PlatformXe to send on your behalf |
| DKIM | TXT | Cryptographic signature for message authenticity |
| DMARC | TXT | Policy for handling authentication failures |
DNS propagation can take up to 48 hours. If verification fails, wait and retry. Most domains verify within a few hours.
Quick example
// Register domain
const domain = await px.registerDomain({ domain: 'mail.yourcompany.com' });
// Get DNS records to configure
console.log(domain.data.dnsRecords);
// [{ type: 'TXT', name: '...', value: '...' }, ...]
// After configuring DNS, verify
const verified = await px.verifyDomain(domain.data.id);
console.log(verified.data.status); // "verified"
Next steps
- Add a Domain — step-by-step API reference