Basic

Retrieve all previous versions of a website page

Retrieves all the previous versions of a website page, specified by page ID.

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

Request

  • Base URL
    https://api.hubapi.com
  • 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 for which to retrieve revisions.

Query parameters

afterstring

The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.

beforestring

A cursor token to retrieve results before a specific point in the list.

limitinteger

The maximum number of results to display per page.

Response

successful operation

totalinteger required

An integer representing the total number of items in the collection.

Changes