---
title: "CreateIngestDomain adds domain as an endpoint for event ingestion."
method: POST
path: "/v1.1/ingest_domain"
tags: ["ControlService"]
---

# CreateIngestDomain adds domain as an endpoint for event ingestion.

`POST /v1.1/ingest_domain`

Requires domain automation enabled. Domain must have valid DNS records.

## Request body

- ProtobufControlpbV1CreateIngestDomainRequest
  - `domain` union
    - object, nullable
    - ProtobufControlpbV1IngestDomain
      - `author` string
      - `createdAt` string, date-time, nullable
      - `name` string

## Response `200`

OK

- ProtobufControlpbV1CreateIngestDomainResponse
  - `domain` union
    - object, nullable
    - ProtobufControlpbV1IngestDomain
      - `author` string
      - `createdAt` string, date-time, nullable
      - `name` string
  - `message` string

## Other responses

- `4XX` — Something is wrong with your request such as missing or invalid data. Correct your request and try again.
- `5XX` — Internal server error. Try again later or reach out to MetaRouter support.

---

[API](https://skmtc.net/metarouter/apis/control-api.md) · [All operations](https://skmtc.net/metarouter/apis/control-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metarouter/control-api/versions/5afc05bfaaa2/schema)
