Basic

Retrieve a previous version of a website page

Changed on

Retrieve a previous version of a website page by the revision ID.

get/cms/pages/2026-09/site-pages/{objectId}/revisions/{revisionId}

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/cms/pages/2026-09/site-pages/{objectId}/revisions/{revisionId}
  • Auth
    • OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: cms.pages.site_pages.read
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: marketplace_validation
    • or OAuth 2
      Authorization code: https://app.hubspot.com/oauth/authorize
      Token URL: https://api.hubapi.com/oauth/v1/token scopes: content

Path parameters

objectIdstring required

The unique identifier of the site page whose revision is to be retrieved.

revisionIdstring required

The unique identifier of the specific revision of the site page to retrieve.

Response

successful operation

idstring required

The unique identifier for this specific version of the page.

updatedAtstring date-time required

The date and time when this version was last updated, in ISO 8601 format.

Changes

    • info

      the security scope cms.pages.site_pages.read was added to the endpoint's security scheme oauth2

    • info

      the security scope content was removed from the endpoint's security scheme oauth2

  • 2026-09b8bba18c29f8Revision changes
    • info

      the security scope content was added to the endpoint's security scheme oauth2

    • info

      the security scope sitepages-read was removed from the endpoint's security scheme oauth2