---
title: "Get a single domain"
method: GET
path: "/cms/domains/2026-09/{domainId}"
tags: ["Basic"]
---

# Get a single domain

`GET /cms/domains/2026-09/{domainId}`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/cms/domains/2026-09/{domainId}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `cms.domains.read`
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `content`
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `cms.domains.write`
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `cms.knowledge_base.settings.read`
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `cms.knowledge_base.settings.write`

Returns a single domains with the id specified.

## Path parameters

- `domainId` string, required

## Response `200`

successful operation

- Domain
  - `correctCname` string, required: The expected CNAME record for the domain.
  - `created` string, date-time, required: The date and time when the domain was created.
  - `domain` string, required: The actual domain or sub-domain. e.g. www.hubspot.com
  - `id` string, required: The unique ID of this domain.
  - `isResolving` boolean, required: Whether the DNS for this domain is optimally configured for use with HubSpot.
  - `isSslEnabled` boolean, required: Indicates whether SSL is enabled for the domain.
  - `isSslOnly` boolean, required: Indicates whether the domain is accessible only via SSL.
  - `isUsedForBlogPost` boolean, required: Whether the domain is used for CMS blog posts.
  - `isUsedForEmail` boolean, required: Whether the domain is used for CMS email web pages.
  - `isUsedForKnowledge` boolean, required: Whether the domain is used for CMS knowledge pages.
  - `isUsedForLandingPage` boolean, required: Whether the domain is used for CMS landing pages.
  - `isUsedForSitePage` boolean, required: Whether the domain is used for CMS site pages.
  - `manuallyMarkedAsResolving` boolean, required: Indicates whether the domain has been manually marked as resolving.
  - `primaryBlogPost` boolean, required: Indicates whether the domain is the primary domain for blog posts.
  - `primaryEmail` boolean, required: Indicates whether the domain is the primary domain for email pages.
  - `primaryKnowledge` boolean, required: Indicates whether the domain is the primary domain for knowledge pages.
  - `primaryLandingPage` boolean, required: Indicates whether the domain is the primary domain for landing pages.
  - `primarySitePage` boolean, required: Indicates whether the domain is the primary domain for site pages.
  - `secondaryToDomain` string, required: Specifies the domain to which this domain is secondary.
  - `updated` string, date-time, required: The date and time when the domain was last updated.

## Other responses

- `default`: An error occurred.

## Changes

- **2026-10-27** (2026-09) `1d4cd9864d3a`: 2 info
  - the security scope `cms.domains.read` was added to the endpoint's security scheme `oauth2`
  - the security scope `content` was removed from the endpoint's security scheme `oauth2`
- **2026-10-10** (2026-09) `170e068a8c75`: 2 info
  - the security scope `cms.domains.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `content` was removed from the endpoint's security scheme `oauth2`
- **2026-09-29** (2026-09) `170e068a8c75`: 2 info
  - the security scope `cms.domains.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `content` was removed from the endpoint's security scheme `oauth2`
- **2026-09-08** (2026-09) `121164e0120f`: 2 info
  - the security scope `cms.domains.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `content` was removed from the endpoint's security scheme `oauth2`
- **2026-09-03** (2026-09) `ab4e41bcebd3`: 2 info
  - the security scope `cms.domains.write` was added to the endpoint's security scheme `oauth2`
  - the security scope `content` was removed from the endpoint's security scheme `oauth2`

[Operation history](https://skmtc.dev/hubspot/apis/cms-domains/changes/cms/domains/2026-09/:domainId/get.md)

---

[API](https://skmtc.dev/hubspot/apis/cms-domains.md) - [All operations](https://skmtc.dev/hubspot/apis/cms-domains/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/cms-domains/revisions/1d4cd9864d3a?raw)
