curl --request POST \
--url https://api.hubapi.com/cms/v3/pages/landing-pages/folders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"deletedAt": "2023-11-07T05:31:56Z",
"parentFolderId": 123,
"created": "2023-11-07T05:31:56Z",
"name": "<string>",
"id": "<string>",
"category": 123,
"updated": "2023-11-07T05:31:56Z"
}'
{
"deletedAt": "2023-11-07T05:31:56Z",
"parentFolderId": 123,
"created": "2023-11-07T05:31:56Z",
"name": "<string>",
"id": "<string>",
"category": 123,
"updated": "2023-11-07T05:31:56Z"
}
Create a new Folder
curl --request POST \
--url https://api.hubapi.com/cms/v3/pages/landing-pages/folders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"deletedAt": "2023-11-07T05:31:56Z",
"parentFolderId": 123,
"created": "2023-11-07T05:31:56Z",
"name": "<string>",
"id": "<string>",
"category": 123,
"updated": "2023-11-07T05:31:56Z"
}'
{
"deletedAt": "2023-11-07T05:31:56Z",
"parentFolderId": 123,
"created": "2023-11-07T05:31:56Z",
"name": "<string>",
"id": "<string>",
"category": 123,
"updated": "2023-11-07T05:31:56Z"
}
content
The access token received from the authorization server in the OAuth 2.0 flow.
The JSON representation of a new Folder.
Model definition for a content folder.
successful operation
Model definition for a content folder.
Was this page helpful?