> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailofly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Domain

> Register a sending domain.

Adds a new domain to your account and generates required DKIM, SPF, and MX verification records.

### Body

<ParamField body="name" type="string" required>
  Domain or subdomain name, e.g. `mail.acme.com`.
</ParamField>

<ParamField body="region" type="string">
  Delivery region (`us-east-1`, `eu-west-1`).
</ParamField>

### Response

<ResponseField name="id" type="string">Domain ID (`dom_...`)</ResponseField>
<ResponseField name="name" type="string">Domain name</ResponseField>
<ResponseField name="status" type="string">pending | verified | failed</ResponseField>
<ResponseField name="records" type="object[]">Required DNS verification records</ResponseField>


## Related topics

- [Create Campaign](/api/campaigns/create-campaign.md)
- [Create Template](/api/templates/create-template.md)
- [Create Contact](/api/contacts/create-contact.md)
- [Create Webhook](/api/webhooks/create-webhook.md)
