Retrieve all previous versions of a website page
Changed onRetrieves all the previous versions of a website page, specified by page ID.
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/cms/pages/2026-09/site-pages/{objectId}/revisions
- Auth
- OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: cms.pages.site_pages.read
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: marketplace_validation
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: content
Path parameters
The unique identifier of the site page for which to retrieve revisions.
Query parameters
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.
A cursor token to retrieve results before a specific point in the list.
The maximum number of results to display per page.
Response
successful operation
Changes
- info
the security scope
cms.pages.site_pages.readwas added to the endpoint's security schemeoauth2 - info
the security scope
contentwas removed from the endpoint's security schemeoauth2
- info
- info
the security scope
contentwas added to the endpoint's security schemeoauth2 - info
the security scope
sitepages-readwas removed from the endpoint's security schemeoauth2
- info