HubSpot · Schema
Domain
Represents a domain connected to a HubSpot CMS site
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The unique identifier for the domain |
| domain | string | The actual domain or sub-domain (e.g., www.hubspot.com) |
| createdAt | string | When the domain was created |
| updatedAt | string | When the domain was last updated |
| isResolving | boolean | Whether the DNS for this domain is optimally configured for use with HubSpot |
| isManuallyMarkedAsResolving | boolean | Whether the domain has been manually marked as resolving |
| isSslEnabled | boolean | Whether SSL is enabled for this domain |
| isSslOnly | boolean | Whether the domain only accepts HTTPS connections |
| isPrimaryBlogPost | boolean | Whether this is the primary domain for blog posts |
| isPrimarySitePage | boolean | Whether this is the primary domain for site pages |
| isPrimaryLandingPage | boolean | Whether this is the primary domain for landing pages |
| isPrimaryEmail | boolean | Whether this is the primary domain for email web pages |
| isPrimaryKnowledge | boolean | Whether this is the primary domain for knowledge base |
| isUsedForBlogPost | boolean | Whether the domain is used for CMS blog posts |
| isUsedForSitePage | boolean | Whether the domain is used for CMS site pages |
| isUsedForLandingPage | boolean | Whether the domain is used for CMS landing pages |
| isUsedForEmail | boolean | Whether the domain is used for CMS email web pages |
| isUsedForKnowledge | boolean | Whether the domain is used for CMS knowledge pages |
| expectedCname | string | The expected CNAME record for this domain |
| redirectTo | string | The domain to redirect to, if any |
| secondaryToDomain | string | The primary domain this domain is secondary to |
JSON Schema
{
"type": "object",
"description": "Represents a domain connected to a HubSpot CMS site",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier for the domain",
"example": "3210329704"
},
"domain": {
"type": "string",
"description": "The actual domain or sub-domain (e.g., www.hubspot.com)",
"example": "99558489.hubspot.com"
},
"createdAt": {
"type": "string",
"description": "When the domain was created",
"format": "date-time",
"example": "2017-07-11T13:00:52.928Z"
},
"updatedAt": {
"type": "string",
"description": "When the domain was last updated",
"format": "date-time",
"example": "2019-10-08T16:54:57.165Z"
},
"isResolving": {
"type": "boolean",
"description": "Whether the DNS for this domain is optimally configured for use with HubSpot",
"example": true
},
"isManuallyMarkedAsResolving": {
"type": "boolean",
"description": "Whether the domain has been manually marked as resolving",
"example": false
},
"isSslEnabled": {
"type": "boolean",
"description": "Whether SSL is enabled for this domain",
"example": true
},
"isSslOnly": {
"type": "boolean",
"description": "Whether the domain only accepts HTTPS connections",
"example": false
},
"isPrimaryBlogPost": {
"type": "boolean",
"description": "Whether this is the primary domain for blog posts",
"example": true
},
"isPrimarySitePage": {
"type": "boolean",
"description": "Whether this is the primary domain for site pages",
"example": false
},
"isPrimaryLandingPage": {
"type": "boolean",
"description": "Whether this is the primary domain for landing pages",
"example": false
},
"isPrimaryEmail": {
"type": "boolean",
"description": "Whether this is the primary domain for email web pages",
"example": false
},
"isPrimaryKnowledge": {
"type": "boolean",
"description": "Whether this is the primary domain for knowledge base",
"example": false
},
"isUsedForBlogPost": {
"type": "boolean",
"description": "Whether the domain is used for CMS blog posts",
"example": true
},
"isUsedForSitePage": {
"type": "boolean",
"description": "Whether the domain is used for CMS site pages",
"example": false
},
"isUsedForLandingPage": {
"type": "boolean",
"description": "Whether the domain is used for CMS landing pages",
"example": false
},
"isUsedForEmail": {
"type": "boolean",
"description": "Whether the domain is used for CMS email web pages",
"example": false
},
"isUsedForKnowledge": {
"type": "boolean",
"description": "Whether the domain is used for CMS knowledge pages",
"example": false
},
"expectedCname": {
"type": "string",
"description": "The expected CNAME record for this domain",
"example": "99558489.group39.sites.hubspot.net"
},
"redirectTo": {
"type": "string",
"description": "The domain to redirect to, if any",
"example": ""
},
"secondaryToDomain": {
"type": "string",
"description": "The primary domain this domain is secondary to",
"example": "example.hubspot.com"
}
},
"required": [
"id",
"domain",
"isResolving",
"isUsedForBlogPost",
"isUsedForSitePage",
"isUsedForLandingPage",
"isUsedForEmail",
"isUsedForKnowledge"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Domain"
}