---
title: "Add Email Domain"
method: POST
path: "/global_config/recipient-email-domain-allowlist"
tags: ["GLOBAL_CONFIG"]
---

# Add Email Domain

`POST /global_config/recipient-email-domain-allowlist`

Add a domain to the allowlist. Stamps the current user and time, status
active. Owner only. Invalid or duplicate domains are rejected.

## Request body

- AddEmailDomainRequest
  - `domain` string, required

## Response `200`

Successful Response

- EmailDomainAllowlistResponse
  - `domains` EmailDomainEntry[], required
    - `domain` string, required
    - `added_by` string, nullable
    - `added_at` string, nullable
    - `status` 'active' | 'paused', required

## Other responses

- `400` — Bad request
- `403` — Not supported for public user
- `404` — Configuration not found
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/revisions/b9cc757ca795/schema)
