Domains
Returns domain records configured within HubSpot, useful for managing connected websites and email domains.
Table Specific Information
Domains represent any domains you have registered with HubSpot to host your HubSpot blogs and content optimization system on.
SELECT
When selecting domains, they can only be filtered by the Id, CreatedAt, Domain, IsResolving, and PrimarySitePage columns. CreatedAt can be used with the > and < comparisons to form a range. For example:
SELECT * FROM Domains WHERE CreatedAt >= '1/1/2014' AND CreatedAt <= '10/31/2014' SELECT * FROM Domains WHERE Id = '123456789'
Columns
| Name | Type | References | Description |
| Id [KEY] | Long | Unique identifier assigned to the domain in HubSpot. | |
| CreatedAt | Datetime | Timestamp indicating when the domain was first created. | |
| Domain | String | The domain or subdomain name configured in HubSpot. | |
| IsAnyPrimary | Boolean | Boolean flag indicating whether this domain is the primary domain for any category. | |
| IsDNSCorrect | Boolean | Boolean flag indicating whether the domain name system (DNS) configuration is optimal for use with HubSpot. | |
| IsLegacyDomain | Boolean | Boolean flag indicating whether the domain is configured for use with the legacy classic content management system (CMS). | |
| IsResolving | Boolean | Boolean flag indicating whether the domain correctly points to HubSpot servers. | |
| ManuallyMarkedAsResolving | Boolean | Boolean flag indicating whether a user manually marked the domain as resolving, typically used for custom setups involving proxies. | |
| PrimaryBlogPost | Boolean | Boolean flag indicating whether this domain is the primary domain for content optimization system (COS) blog posts. | |
| PrimaryEmail | Boolean | Boolean flag indicating whether this domain is the primary domain for viewing emails as web pages. | |
| PrimaryLandingPage | Boolean | Boolean flag indicating whether this domain is the primary domain for COS landing pages. | |
| PrimaryLegacyPage | Boolean | Boolean flag indicating whether this domain is the primary domain for the classic CMS. | |
| PrimarySitePage | Boolean | Boolean flag indicating whether this domain is the primary domain for COS site pages. | |
| SecondaryToDomain | String | The name of the primary domain that this non-primary domain redirects to, if applicable. | |
| UpdatedAt | Datetime | Timestamp indicating when the domain was last updated. | |
| ExtraUrlParameters | String | Optional input-only property to specify additional query parameters when retrieving domain data. Format: 'param1=value1, param2=value2, param3=value3'. |