Basic

Get a single domain

Changed on

Returns a single domains with the id specified.

get/cms/domains/2026-03/{domainId}

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/cms/domains/2026-03/{domainId}
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Path parameters

domainIdstring required

Response

successful operation

correctCnamestring required

The expected CNAME record for the domain.

createdstring date-time required

The date and time when the domain was created.

domainstring required

The actual domain or sub-domain. e.g. www.hubspot.com

idstring required

The unique ID of this domain.

isResolvingboolean required

Whether the DNS for this domain is optimally configured for use with HubSpot.

isSslEnabledboolean required

Indicates whether SSL is enabled for the domain.

isSslOnlyboolean required

Indicates whether the domain is accessible only via SSL.

isUsedForBlogPostboolean required

Whether the domain is used for CMS blog posts.

isUsedForEmailboolean required

Whether the domain is used for CMS email web pages.

isUsedForKnowledgeboolean required

Whether the domain is used for CMS knowledge pages.

isUsedForLandingPageboolean required

Whether the domain is used for CMS landing pages.

isUsedForSitePageboolean required

Whether the domain is used for CMS site pages.

manuallyMarkedAsResolvingboolean required

Indicates whether the domain has been manually marked as resolving.

primaryBlogPostboolean required

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

primaryEmailboolean required

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

primaryKnowledgeboolean required

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

primaryLandingPageboolean required

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

primarySitePageboolean required

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

secondaryToDomainstring required

Specifies the domain to which this domain is secondary.

updatedstring date-time required

The date and time when the domain was last updated.

Changes

    • info

      api operation id get-/cms/domains/2026-03/{domainId}_getById removed and replaced with get-/cms/domains/2026-03/{domainId}

    • info

      the security scope cms.domains.read was added to the endpoint's security scheme private_apps

    • info

      the security scope cms.knowledge_base.settings.read was removed from the endpoint's security scheme private_apps

    • info

      the security scope cms.domains.read was added to the endpoint's security scheme private_apps

    • info

      the security scope cms.knowledge_base.settings.read was removed from the endpoint's security scheme private_apps

Some revisions have not been checked yet.