---
title: "Add or update a custom domain for email sending"
method: PUT
path: "/email/domains"
---

# Add or update a custom domain for email sending

`PUT /email/domains`

Add or update a custom domain for sending emails. After adding a domain, you'll need to verify it by adding the provided DNS records.

## Request body

- PutCustomDomainInput
  - `domainName` string, required

## Response `200`

Default Response

- PutCustomDomainOutput
  - `domainRecords` unknown, required
  - `domainStatus` string, nullable, required

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/open/apis/opencx-api.md) · [All operations](https://skmtc.net/open/apis/opencx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/open/opencx-api/versions/57b06b52302d/schema)
