Today you can add a hostname and verify it. Serving sign-in on it is not available yet: the API answers isServing: false until it is.
POST /api/v1/auth/domains
{ "hostname": "login.customer.com" }The answer lists two DNS records to publish.
| Type | Name | Value |
|---|---|---|
| TXT | _ziqme-auth-challenge.login.customer.com | ziqme-auth-verification=<token> |
| CNAME | login.customer.com | custom.auth.ziqme.com |
Then call POST /api/v1/auth/domains/{id}/verify. Control of DNS is the proof: only the exact record counts, and a hostname one workspace has verified cannot be verified by another. Use a subdomain; a bare domain cannot carry the CNAME record.