---
title: "Register a bring-your-own domain and run the pre-flight intake scan."
method: POST
path: "/byo-domains"
tags: ["byo-domains"]
---

# Register a bring-your-own domain and run the pre-flight intake scan.

`POST /byo-domains`

## Request

- Base URL: `https://api.coldrig.dev`
- URL: `https://api.coldrig.dev/byo-domains`
- Auth: HTTP bearer

Runs the live-infra scan, the abuse gate, and the reputation ladder, returning the starting byoStatus. A live-infra hit hard-refuses NS delegation and falls back to records_to_apply; a primary domain is always records_to_apply, never we_manage_zone. Real DNS delegation activates per-account the same way real sending does — this endpoint is reachable today, but registering a domain does not itself set up anything real until the account is activated.

## Request body

- RegisterByoDomainInput
  - `domain` string, required: One line of plain text: a line break, tab, control character or invisible text-direction mark is refused (400) naming this field.
  - `domainRelationship` 'fresh_standalone' | 'subdomain_of_primary' | 'is_primary', required: fresh_standalone = brand-new domain, no history; subdomain_of_primary = a subdomain of the account's existing primary domain; is_primary = the account's own flagship business domain.

## Response `201`

Domain registered — intake started.

- ByoDomainRecord
  - `domainId` string, required
  - `domain` string, required
  - `isPrimary` boolean, required
  - `dnsMode` 'we_manage_zone' | 'records_to_apply', required
  - `byoStatus` 'pending_kyc' | 'pending_consent' | 'pending_dns' | 'active' | 'rejected' | 'abandoned', required
  - `breakerTier` 'standard' | 'elevated' | 'primary', required
  - `reputationBranch` string, nullable, required
  - `scan` object, required: Pre-flight live-infra scan result.
  - `abuseVerdict` string, required: Abuse-gate verdict.
  - `consentAcknowledged` boolean, required

## Other responses

- `400`: Request body failed schema validation.
- `401`: Missing, invalid, or inactive bearer token.

---

[API](https://skmtc.dev/coldrig/apis/agent-cold-email-api.md) · [All operations](https://skmtc.dev/coldrig/apis/agent-cold-email-api/llms.txt) · [OpenAPI document](https://skmtc.dev/coldrig/apis/agent-cold-email-api/revisions/242a462d82c4?raw)
