Folders

Create a landing page folder

Changed on

Create a new folder for landing pages.

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

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/cms/pages/2026-09/landing-pages/folders
  • 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

  • 2026-096da012f8648eRevision 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

    • info

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

    • info

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