Pular para o conteúdo principal
POST
/
cms
/
pages
/
2026-03
/
landing-pages
/
folders
/
batch
/
create
Criar pastas
curl --request POST \
  --url https://api.hubapi.com/cms/pages/2026-03/landing-pages/folders/batch/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: */*' \
  --data '
{
  "inputs": [
    {
      "category": 123,
      "created": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "name": "<string>",
      "parentFolderId": 123,
      "updated": "2023-11-07T05:31:56Z"
    }
  ]
}
'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "results": [
    {
      "category": 123,
      "created": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "name": "<string>",
      "parentFolderId": 123,
      "updated": "2023-11-07T05:31:56Z"
    }
  ],
  "startedAt": "2023-11-07T05:31:56Z",
  "status": "CANCELED",
  "links": {},
  "requestedAt": "2023-11-07T05:31:56Z"
}

Supported products

Autorizações

Authorization
string
header
obrigatório

The access token received from the authorization server in the OAuth 2.0 flow.

Corpo

*/*
inputs
object[]
obrigatório

As pastas de conteúdo para inserir.

Resposta

successful operation

completedAt
string<date-time>
obrigatório

A hora em que a operação em lote foi concluída.

results
object[]
obrigatório

Os resultados da operação em lote.

startedAt
string<date-time>
obrigatório

A hora em que a operação em lote foi iniciada.

status
enum<string>
obrigatório

O status da operação em lote.

Opções disponíveis:
CANCELED,
COMPLETE,
PENDING,
PROCESSING

Os links associados à operação em lote.

requestedAt
string<date-time>

A hora em que a operação em lote foi solicitada.

Last modified on April 13, 2026