---
title: "DraftSitePagesByObjectId (HubSpot)"
description: "Site Page Drafts by Object ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/hubspot/Pages.WebsitePages.DraftSitePagesByObjectId
original: https://documentation.invantive.eu/en/datamodels/hubspot/Pages.WebsitePages.DraftSitePagesByObjectId
updated: 2026-05-19T15:51:43Z
license: https://documentation.invantive.eu/en/
---

# DraftSitePagesByObjectId: HubSpot Site Page Drafts by Object ID

`read only` `REST`

- Catalog: `Pages`
- Schema: `WebsitePages`
- Label: Site Page Drafts by Object ID

Retrieve a website page draft
Retrieve the full draft version of a website page, specified by its ID.

Can only retrieve data.

## API Source

- Endpoint: `/cms/v3/pages/site-pages/{objectId}/draft`
- Operation: `get /cms/v3/pages/site-pages/{objectId}/draft`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `objectId` | `` | [x] |  |  |

## Table Columns

The columns of the table `DraftSitePagesByObjectId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `abStatus` | `varchar2` | A/B Status | [ ] |  | The status of the AB test associated with this page, if applicable |
| `abTestId` | `varchar2` | A/B Test ID | [ ] |  | The ID of the AB test associated with this page, if applicable |
| `archivedAt` | `datetime` | Archived at | [ ] |  | The timestamp (ISO8601 format) when this page was deleted. |
| `archivedInDashboard` | `char` | Archived in Dashboard | [ ] |  | If True, the page will not show up in your dashboard, although the page could still be live. |
| `authorName` | `varchar2` | Author Name | [ ] |  | The name of the user that updated this page. |
| `campaign` | `varchar2` | Campaign | [ ] |  | The GUID of the marketing campaign this page is a part of. |
| `categoryId` | `int32` | Category ID | [ ] |  | ID of the type of object this is. Should always . |
| `contentGroupId` | `varchar2` | Content Group ID | [ ] |  | The unique identifier for the content group associated with the page. |
| `contentTypeCategory` | `varchar2` | Content Type Category | [ ] |  | An ENUM descibing the type of this object. Should be either LANDING_PAGE or SITE_PAGE. |
| `created` | `datetime` | Created at | [ ] |  | The timestamp indicating when the page was created. |
| `createdById` | `varchar2` | Created by ID | [ ] |  | The ID of the user that created this page. |
| `currentlyPublished` | `char` | Currently Published | [ ] |  | Indicates whether the page is currently published. |
| `currentState` | `varchar2` | Current State | [ ] |  | A generated ENUM descibing the current state of this page. |
| `domain` | `varchar2` | Domain | [ ] |  | The domain this page will resolve to. If null, the page will default to the primary domain for this content type. |
| `dynamicPageDataSourceId` | `varchar2` | Dynamic Page Data Source ID | [ ] |  | The identifier for the data source used by the dynamic page. |
| `dynamicPageDataSourceType` | `int32` | Dynamic Page Data Source Type | [ ] |  | The type of data source used by the dynamic page. |
| `dynamicPageHubDbTableId` | `varchar2` | itgen_hubspot_dynamicpagehubdbtableid | [ ] |  | The ID of the HubDB table this page references, if applicable |
| `enableDomainStylesheets` | `char` | Enable Domain Stylesheets | [ ] |  | Boolean to determine whether or not the styles from the template should be applied. |
| `enableLayoutStylesheets` | `char` | Enable Layout Stylesheets | [ ] |  | Boolean to determine whether or not the styles from the template should be applied. |
| `featuredImage` | `varchar2` | Featured Image | [ ] |  | The featuredImage of this page. |
| `featuredImageAltText` | `varchar2` | Featured Image Alternate Text | [ ] |  | Alt Text of the featuredImage. |
| `folderId` | `varchar2` | Folder ID | [ ] |  | The ID of the associated folder this landing page is organized under in the app dashboard. |
| `footerHtml` | `varchar2` | Footer (HTML) | [ ] |  | Custom HTML for embed codes, javascript that should be placed before the </body> tag of the page. |
| `headHtml` | `varchar2` | Head (HTML) | [ ] |  | Custom HTML for embed codes, javascript, etc. that goes in the <head> tag of the page. |
| `htmlTitle` | `varchar2` | Title (HTML) | [ ] |  | The html title of this page. |
| `id` | `varchar2` | ID | [ ] |  | The unique ID of the page. |
| `includeDefaultCustomCss` | `char` | Include Default Custom CSS | [ ] |  | Boolean to determine whether or not the Primary CSS Files should be applied. |
| `language` | `varchar2` | Language | [ ] |  | The explicitly defined ISO 639 language code of the page. If null, the page will default to the language of the Domain. |
| `layoutSections` | `varchar2` | Layout Sections | [ ] |  | A structure detailing the layout sections of the page. |
| `linkRelCanonicalUrl` | `varchar2` | Link Rel Canonical (URL) | [ ] |  | Optional override to set the URL to be used in the rel=canonical link tag on the page. |
| `mabExperimentId` | `varchar2` | MAB Experiment ID | [ ] |  | The ID of the MAB test (or dynamic test) associated with this page, if applicable |
| `metaDescription` | `varchar2` | Meta Description | [ ] |  | A description that goes in <meta> tag on the page. |
| `name` | `varchar2` | Name | [ ] |  | The internal name of the page. |
| `pageExpiryDate` | `int64` | Page Expiry Date | [ ] |  | The date at which this page should expire and begin redirecting to another url or page. |
| `pageExpiryEnabled` | `char` | Page Expiry Enabled | [ ] |  | Boolean describing if the page expiration feature is enabled for this page |
| `pageExpiryRedirectId` | `int64` | Page Expiry Redirect ID | [ ] |  | The ID of another page this page's url should redirect to once this page expires. Should only set this or pageExpiryRedirectUrl. |
| `pageExpiryRedirectUrl` | `varchar2` | Page Expiry Redirect (URL) | [ ] |  | The URL this page's url should redirect to once this page expires. Should only set this or pageExpiryRedirectId. |
| `pageRedirected` | `char` | itgen_hubspot_pageredirected | [ ] |  | A generated Boolean describing whether or not this page is currently expired and being redirected. |
| `password` | `varchar2` | Password | [ ] |  | Set this to create a password protected page. Entering the password will be required to view the page. |
| `publicAccessRulesEnabled` | `char` | Public Access Rules Enabled | [ ] |  | Boolean to determine whether or not to respect publicAccessRules. |
| `publishDate` | `datetime` | Publish Date | [ ] |  | The date (ISO8601 format) the page is to be published at. |
| `publishImmediately` | `char` | Publish Immediately | [ ] |  | Set this to true if you want to be published immediately when the schedule publish endpoint is called, and to ignore the publish_date setting. |
| `slug` | `varchar2` | Slug | [ ] |  | The path of the this page. This field is appended to the domain to construct the url of this page. |
| `state` | `varchar2(25)` | State | [ ] |  | An ENUM descibing the current state of this page. |
| `subcategory` | `varchar2` | Subcategory | [ ] |  | Details the type of page this is. Should always be landing_page or site_page |
| `templatePath` | `varchar2` | itgen_hubspot_templatepath | [ ] |  | String detailing the path of the template used for this page. |
| `themeSettingsValues` | `varchar2` | Theme Setting Values | [ ] |  | A collection of settings specific to the theme applied to the page. |
| `translatedFromId` | `varchar2` | Translated from ID | [ ] |  | ID of the primary page this object was translated from. |
| `translations` | `varchar2` | Translations | [ ] |  | A map of translations for the page, each associated with a specific language variation. |
| `updated` | `datetime` | Updated at | [ ] |  | The timestamp indicating when the page was last updated. |
| `updatedById` | `varchar2` | Updated by ID | [ ] |  | The ID of the user that updated this page. |
| `url` | `varchar2` | URL | [ ] |  | A generated field representing the URL of this page. |
| `useFeaturedImage` | `char` | Use Featured Image | [ ] |  | Boolean to determine if this page should use a featuredImage. |
| `widgetContainers` | `varchar2` | Widget Containers | [ ] |  | A data structure containing the data for all the modules inside the containers for this page. This will only be populated if the page has widget containers. |
| `widgets` | `varchar2` | Widgets | [ ] |  | A data structure containing the data for all the modules for this page. |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [HubSpot](/en/release-notes/drivers/hubspot)

