Every mailbox lives on a domain. You can buy new domains through InboxKit or connect domains you already own. This page lists what you can do with domains and which endpoint to use for each task.Most domain endpoints need the X-Workspace-Id header. Each endpoint page lists the headers it needs. New to the API? Start with the Quick Start.Buy a new domain#
Connect a domain you already own#
2.
Replace the nameservers at the company where you bought the domain.
If the new nameservers are not picked up within 24 hours, the domain's status changes to expired_propagation. Get fresh nameservers with Regenerate Domain Nameservers. Use the same endpoint if your nameservers were later changed at the company where you bought the domain.From your own Cloudflare accountSee your domains#
A domain can host mailboxes once its status is active. To be told when that happens, use the domain.status_changed webhook event.Configure a domain#
URL masking shows your website under the domain instead of redirecting to it. Before you can mask to a website, prove you own it:2.
Publish the TXT record from the response at your DNS provider.
Manage DNS records#
Renewals and ownership details#
These apply to domains you bought through InboxKit.Remove domains#
Modified at 2026-09-26 18:28:41