Skip to main content
POST
Create Domain

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string
required

Body

application/vnd.api+json

Request body for adding a verified domain to a hub.

Accepts EITHER a flat body OR a full JSON:API envelope: Flat: {"hub_id": "...", "domain": "acme.com"} Envelope: {"data": {"type": "verified_domains", "attributes": {...}}}

Domain validation (normalization + public-suffix/public-email rejection) is performed in the router after parsing so the router can return rich JSON:API error responses.

domain
string
required
hub_id
string
required

Response

Successful Response

data
JsonApiResource[VerifiedDomainAttributes] · object
required
included
any[] | null
meta
Meta · object | null