Folders

Create a landing page folder

Changed on

Create a new folder for landing pages.

post/cms/pages/2026-03/landing-pages/folders

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: content

Request body

categoryinteger required

The type of object this folder applies to. Should always be LANDING_PAGE.

createdstring date-time required

The timestamp indicating when the content folder was created.

deletedAtstring date-time required

The timestamp (ISO8601 format) when this content folder was deleted.

idstring required

The unique ID of the content folder.

namestring required

The name of the folder which will show up in the app dashboard

parentFolderIdinteger required

The ID of the content folder this folder is nested under

updatedstring date-time required

The timestamp indicating when the content folder was last updated.

Response

successful operation

categoryinteger required

The type of object this folder applies to. Should always be LANDING_PAGE.

createdstring date-time required

The timestamp indicating when the content folder was created.

deletedAtstring date-time required

The timestamp (ISO8601 format) when this content folder was deleted.

idstring required

The unique ID of the content folder.

namestring required

The name of the folder which will show up in the app dashboard

parentFolderIdinteger required

The ID of the content folder this folder is nested under

updatedstring date-time required

The timestamp indicating when the content folder was last updated.

Changes

    • breaking

      removed the media type */* from the request body

    • info

      added the media type application/json to the request body

  • 2026-031a3751fa5a49Revision changes
    • info

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

    • info

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