---
title: "Retrieves previous versions of a folder"
method: GET
path: "/cms/pages/2026-09/landing-pages/folders/{objectId}/revisions"
tags: ["Folders"]
---

# Retrieves previous versions of a folder

`GET /cms/pages/2026-09/landing-pages/folders/{objectId}/revisions`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/cms/pages/2026-09/landing-pages/folders/{objectId}/revisions`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `cms.pages.landing_pages.read`
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `content`

Retrieves all the previous versions of a landing page folder.

## Path parameters

- `objectId` string, required

## Query parameters

- `after` string
- `before` string
- `limit` integer

## Response `200`

successful operation

- CollectionResponseWithTotalContentFolderVersion
  - `paging` Paging: Represents the pagination information for navigating through a list of results in the API. It provides details on how to access the previous or next set of results.
    - `next` NextPage: Specifies the paging information needed to retrieve the next set of results in a paginated API response
      - `after` string, required: A string that serves as the paging cursor token, indicating the position after the last successfully read resource. It is used to fetch the next set of results in a paginated response.
      - `link` string: A string containing the URL link to the next page of results in a paginated response.
    - `prev` PreviousPage: specifies the paging information needed to retrieve the previous set of results in a paginated API response
      - `before` string, required: A string token used as a cursor to retrieve the previous set of results in a paginated response.
      - `link` string: A URL that provides access to the previous page of results in a paginated response.
  - `results` ContentFolderVersion[], required: An array containing the content folder version objects returned in the current response.
    - `id` string, required: The unique identifier for this version of the content folder.
    - `object` ContentFolder, required
      - `category` integer, required: The type of object this folder applies to. Should always be LANDING_PAGE.
      - `created` string, date-time, required: The timestamp indicating when the content folder was created.
      - `deletedAt` string, date-time, required: The timestamp (ISO8601 format) when this content folder was deleted.
      - `id` string, required: The unique ID of the content folder.
      - `name` string, required: The name of the folder which will show up in the app dashboard
      - `parentFolderId` integer, required: The ID of the content folder this folder is nested under
      - `updated` string, date-time, required: The timestamp indicating when the content folder was last updated.
    - `updatedAt` string, date-time, required: The date and time when this version was last updated, in ISO 8601 format.
    - `user` VersionUser, required
      - `email` string, required: Email address of the user.
      - `fullName` string, required: First and last name of the user.
      - `id` string, required: ID of the user.
  - `total` integer, required: An integer representing the total number of content folder versions available.

## Other responses

- `default`: An error occurred.

## Changes

- **2026-11-02** (2026-09) `2d6b40da6e33`: 2 info
  - the security scope `cms.pages.landing_pages.read` was added to the endpoint's security scheme `oauth2`
  - the security scope `content` was removed from the endpoint's security scheme `oauth2`
- **2026-09-21** (2026-09) `b8bba18c29f8`: 2 info
  - the security scope `content` was added to the endpoint's security scheme `oauth2`
  - the security scope `landingpages-read` was removed from the endpoint's security scheme `oauth2`
- **2026-09-10** (2026-09) `6da012f8648e`: 2 info
  - the security scope `content` was added to the endpoint's security scheme `oauth2`
  - the security scope `content.landing_pages.read` was removed from the endpoint's security scheme `oauth2`
- **2026-09-09** (2026-09) `16635021c7ea`: 2 info
  - the security scope `content` was added to the endpoint's security scheme `oauth2`
  - the security scope `content.landing_pages.read` was removed from the endpoint's security scheme `oauth2`
- **2026-09-09** (2026-09) `9304e64d8fee`: 2 info
  - the security scope `content` was added to the endpoint's security scheme `oauth2`
  - the security scope `content.landing_pages.read` was removed from the endpoint's security scheme `oauth2`

[Operation history](https://skmtc.dev/hubspot/apis/cms-pages/changes/cms/pages/2026-09/landing-pages/folders/:objectId/revisions/get.md)

---

[API](https://skmtc.dev/hubspot/apis/cms-pages.md) - [All operations](https://skmtc.dev/hubspot/apis/cms-pages/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/cms-pages/revisions/2d6b40da6e33?raw)
