# Set Help Center Custom Domain

POST /api/v2/projects/{projectId}/knowledge/help-center/domain

Points a hostname you own at the project's help center. The domain is registered with the hosting layer and the DNS records you need to add are returned on the help center as `customDomainVerificationDNS`. It does not serve traffic until DNS is in place and Verify Help Center Custom Domain reports success. Setting a new domain replaces any existing one, and a hostname already claimed by another help center is rejected with 409.

## Request

- projectId: string, path, required — ID of the project that owns the help center.
- domain: string, required — Hostname to serve the help center from, e.g. `help.example.com`. Supply the bare hostname without a scheme or trailing slash.

## Response

- 200: Successful response
  - createdAt: string, required
  - customDomainVerified: boolean, required
  - displayName: string, required
  - id: string, required
  - projectId: string, required
  - updatedAt: string, required
  - url: string, required
  - websiteEnabled: boolean, required, default true
  - customDomain: string
  - customDomainVerificationDNS: object[]
    - domain: string, required
    - type: string, required
    - value: string, required
    - reason: string
  - googleAnalyticsId: string
  - theme: object
    - articleMeasure: 60 | 70 | 80 | 90
    - articleMonoFont: string
    - articleSectionSize: 18 | 20 | 22 | 24 | 28 | 30 | 32
    - articleShowRelated: boolean
    - articleShowToc: boolean
    - articlesSectionArticleIds: string[]
    - articlesSectionEnabled: boolean
    - articlesSectionLayout: value
    - articlesSectionTitle: string
    - articleSubsectionSize: 14 | 16 | 18 | 20 | 22 | 24 | 28
    - articleTitleSize: 28 | 30 | 32 | 36 | 40 | 48
    - articleTypeFlow: 1 | 2 | 1.25 | 1.5
    - articleTypeLeading: 1.6 | 1.75 | 1.9
    - articleTypeSize: 12 | 13 | 14 | 15 | 16 | 17 | 18 | 20 | 22 | 24
    - authorAvatarColor: string
    - backgroundColor: string — Page canvas. Hovers on the page wash the ink chosen for this canvas.
    - cardColor: string — Background of collection and article cards, and of the search field and results menu. Search field hover mixes 8% of Text Color into this fill. When this is empty, the search field and menu sit on the page canvas.
    - cardDisplayMode: default | compact | minimal
    - cardShowMedia: icon | image
…
