Add a custom domain. Requires project.domains.write.
Arguments
inputCreateDomainInput!requiredinput.environmentIdID!requiredEnvironment UUID.
input.domainString!requiredCustom hostname. The hostname must resolve to Veryfront before it is attached.
Responses
mutation CreateDomain($input: CreateDomainInput!) { createDomain(input: $input) { id domain environmentId projectId createdAt updatedAt }}{ "data": { "createDomain": { "id": "string", "domain": "string", "environmentId": "string", "projectId": "string", "createdAt": "2026-01-01T00:00:00Z", "updatedAt": "2026-01-01T00:00:00Z" } }}The Domain! in data.createDomain.