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

# Retrieves previous versions of a folder

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

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/cms/pages/2026-03/landing-pages/folders/{objectId}/revisions`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `hapikey`
  - none

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

- CmsPagesCollectionResponseWithTotalContentFolderVersion
  - `paging` Paging
    - `next` NextPage: Specifies the paging information needed to retrieve the next set of results in a paginated API response
      - `after` string, required: A paging cursor token for retrieving subsequent pages.
      - `link` string: A URL that can be used to retrieve the next page results.
    - `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 to identify the position before the current page in the pagination sequence.
      - `link` string: A URL string that provides a direct link to the previous page of results.
  - `results` CmsPagesContentFolderVersion[], required
    - `id` string, required
    - `object` CmsPagesContentFolder, 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
    - `user` VersionUser, required
      - `email` string, required: The email address of the user.
      - `fullName` string, required: The first and last name of the User.
      - `id` string, required: The unique ID of the User.
  - `total` integer, required

## Other responses

- `default`: An error occurred.

## Changes

> 14 revisions in range; 1 not diffed, 2 could not be searched.

- **2026-04-08** `b0d8bc008db9`: 1 info
  - api operation id `get-/cms/pages/2026-03/landing-pages/folders/{objectId}/revisions_getFolderPreviousVersions` removed and replaced with `get-/cms/pages/2026-03/landing-pages/folders/{objectId}/revisions`
- **2026-03-30** `dc2fdad57f7f`: 1 info
  - endpoint added

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

---

[API](https://skmtc.dev/hubspot/apis/hubspot-api-specification.md) - [All operations](https://skmtc.dev/hubspot/apis/hubspot-api-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/hubspot-api-specification/revisions/f9c7181056c5?raw)
