---
title: "Create Email Domain"
method: POST
path: "/manage_event/email-domain/{organization_id}/"
tags: ["manage_event"]
---

# Create Email Domain

`POST /manage_event/email-domain/{organization_id}/`

Create email domain and DNS records from Excel file upload.
Excel file should contain DNS records with columns: type, name, expected_value, current_value (optional), verified (optional)
verification_status can be: PENDING, VERIFIED, IN PROGRESS, or FAILED (defaults to PENDING)

## Path parameters

- `organization_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `404` — Not found
- `422` — Validation Error

## Changes

- **2026-09-03** `43ba83e1f2fe` — 1 breaking, 3 info
  - the `excel_file` request property contentMediaType changed from `` to `application/octet-stream`
  - the `excel_file` request property format was generalized from `binary` to no format
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/myticketpartner/apis/fastapi/changes/manage_event/email-domain/:organization_id/post.md)

---

[API](https://skmtc.dev/myticketpartner/apis/fastapi.md) · [All operations](https://skmtc.dev/myticketpartner/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/myticketpartner/apis/fastapi/revisions/5dacf5aa128d?raw)
