Attach a domain to a project
POST
https://api.shadw.cloud/v1/projects/{project}/domainsAttach a custom domain to a project. Attaching starts an ownership check: add the returned TXT record (verify.txt_name and verify.txt_value) at your DNS provider and verification completes automatically; domain.verify.status in the Get a domain response becomes verified. Once verified, the full hostname and its www. variant are aliased to the project's current production deployment.
Authentication
AuthorizationbearerTokenA platform API key (hive_…, created under Settings → API Keys) or a JWT of at most 1 hour from POST /v1/token, which is server-only once HIVE_JWT_SECRET is set. An API key scopes the request to the team it was created under.
Path parameters
projectstringRequiredThe project name.
Body parameters
domainstringRequiredThe fully-qualified domain to attach.

