Custom Domains

Your domain, our infrastructure.

Use your own domain for branded disposable addresses. Set up in under 5 minutes with a single MX record.

Three steps to your own domain.
1
Add MX record

Point your domain's MX record to mx.tempmail.io with priority 10.

2
Register via API

POST your domain to our domains endpoint with your Premium API key.

3
Generate addresses

Pass domain=yourcompany.com when calling the generate endpoint.

DNS Record
Type:     MX
Host:     @  (or subdomain: temp)
Value:    mx.tempmail.io
Priority: 10
TTL:      3600
cURL — Register Domain
curl -X POST "https://api.tempmail.io/v1/domains.php"   -d "key=YOUR_KEY"   -d "domain=yourcompany.com"

# Response
{"domain": "yourcompany.com", "verified": true}
cURL — Generate with Domain
curl "https://api.tempmail.io/v1/generate_email.php?key=KEY&domain=yourcompany.com"

# Response
{"email": "temp-k9x2m7@yourcompany.com"}
Team Inboxes

Every team member gets branded disposable addresses under your company domain.

Bypass Blocklists

Custom domains never appear on public disposable-email blocklists.

Multi-Domain

Register up to 10 domains per Premium account and switch between them per address.

Full API Control

Create, list, and delete domains via REST. Automate provisioning at scale.

Instant Activation

We detect your MX records and activate your domain within 60 seconds of propagation.

Isolated Routing

Your domain's mail is routed through a dedicated pipeline, never mixed with shared infrastructure.

Bring your own domain.

Available on Premium plans. Set up takes less than 5 minutes.

View Premium plans