Add custom domain
Attaches a hostname to the platform and returns the exact ownership and routing records to configure. When the hostname is the apex or its www sibling, the companion host is also attached with a 308 redirect to the canonical domain. A workspace can have one custom domain. Required scope: settings:write or assistants:write. Requires workspace owner/admin role and the Whitelabel entitlement. Requires the white-label entitlement (plan add-on whitelabel, or a workspace override). Workspaces without it get 403 whitelabel_not_in_plan, and only workspace owners and admins may call it.
Authorizations
API key (fam_..., created under Settings → API Keys) or an OAuth 2.0 access token (fam_at_...). Keys can be restricted to scopes such as assistants:read, calls:write, campaigns:write, automations:read, dashboards:read, dashboards:write, leads:write, segments:write, phone_numbers:write, sip_trunks:write, knowledge:write, voices:read, billing:read, settings:write, platform:read, platform:write; a *:write scope implies the matching *:read. Automation and dashboard endpoints also accept the legacy calls:* scope. Keys without scope restrictions have full access.
Body
Hostname only; do not include a protocol or path.
"app.famulor.io"
Response
Domain attached; apply required_records and then call the verify endpoint.