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 HubProfessional
Sales HubSales HubFree
Service HubService HubFree
Content HubContent HubStarter

Required Scopes

This API requires one of the following scopes:
  • cms.domains.read
  • content
  • cms.domains.write
  • cms.knowledge_base.settings.write
  • cms.knowledge_base.settings.read

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

200
application/json

successful operation

The response is of type object.