GET
/
cms
/
v3
/
domains
/
{domainId}
Obter um único domínio
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": ""
}
Produtos suportados
Requer um dos seguintes produtos ou superior.
Marketing HubMarketing HubProfessional
Sales HubSales HubGrátis
Service HubService HubGrátis
Content HubContent HubStarter

Escopos Necessários

Esta API requer um dos seguintes escopos:
  • 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

O ID exclusivo do domínio.

Response

200
application/json

successful operation

The response is of type object.