Skip to main content
GET
/
cms
/
v3
/
domains
/
{domainId}
Get a single domain
curl --request GET \
  --url https://api.hubapi.com/cms/v3/domains/{domainId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3210329704",
  "createdAt": "2017-07-11T13:00:52.928Z",
  "updatedAt": "2019-10-08T16:54:57.165Z",
  "domain": "99558489.hubspot.com",
  "isPrimaryLandingPage": false,
  "isPrimaryEmail": false,
  "isPrimaryBlogPost": true,
  "isPrimarySitePage": false,
  "isPrimaryKnowledge": false,
  "isResolving": true,
  "isManuallyMarkedAsResolving": false,
  "isHttpsEnabled": true,
  "isHttpsOnly": false,
  "isUsedForBlogPost": true,
  "isUsedForSitePage": false,
  "isUsedForLandingPage": false,
  "isUsedForEmail": false,
  "isUsedForKnowledge": false,
  "expectedCname": "99558489.group39.sites.hubspotqa.net",
  "redirectTo": ""
}

Supported products

Requires one of the following products or higher.
Marketing HubMarketing Hub -Free
Sales HubSales Hub -Free
Service HubService Hub -Free
Content HubContent Hub -Free
Data HubData Hub -Free

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

domainId
string
required

The unique ID of the domain.

Response

successful operation

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.

isUsedForBlogPost
boolean
required

Whether the domain is used for CMS blog posts. Deprecated

isUsedForEmail
boolean
required

Whether the domain is used for CMS email web pages. Deprecated

isUsedForKnowledge
boolean
required

Whether the domain is used for CMS knowledge pages. Deprecated

isUsedForLandingPage
boolean
required

Whether the domain is used for CMS landing pages. Deprecated

isUsedForSitePage
boolean
required

Whether the domain is used for CMS site pages. Deprecated

correctCname
string

The expected CNAME record for the domain.

created
string<date-time>

The date and time when the domain was created.

isSslEnabled
boolean

Indicates whether SSL is enabled for the domain.

isSslOnly
boolean

Indicates whether the domain is accessible only via SSL.

manuallyMarkedAsResolving
boolean

Indicates whether the domain has been manually marked as resolving.

primaryBlogPost
boolean

Indicates whether the domain is the primary domain for blog posts.

primaryEmail
boolean

Indicates whether the domain is the primary domain for email pages.

primaryKnowledge
boolean

Indicates whether the domain is the primary domain for knowledge pages.

primaryLandingPage
boolean

Indicates whether the domain is the primary domain for landing pages.

primarySitePage
boolean

Indicates whether the domain is the primary domain for site pages.

secondaryToDomain
string

Specifies the domain to which this domain is secondary.

updated
string<date-time>

The date and time when the domain was last updated.

Last modified on December 16, 2025