Zum Hauptinhalt springen
POST
/
cms
/
v3
/
pages
/
landing-pages
/
folders
/
batch
/
read
Einen Batch mit Ordnern abrufen
curl --request POST \
  --url https://api.hubapi.com/cms/v3/pages/landing-pages/folders/batch/read \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "inputs": [
    "<string>"
  ]
}'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "requestedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "results": [
    {
      "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"
    }
  ],
  "status": "PENDING"
}

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Kostenlos
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Kostenlos
Diese API erfordert einen der folgenden Bereiche:
content

Authorizations

Authorization
string
header
required

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

Query Parameters

archived
boolean

Gibt an, ob gelöschte Ordner zurückgegeben werden sollen. Der Standardwert ist „false“ (falsch).

Body

application/json

The JSON array of Folder ids.

Wrapper for providing an array of strings as inputs.

inputs
string[]
required

Die einzugebenden Zeichenfolgen.

Response

successful operation

Response object for successful batch operations on content folders.

completedAt
string<date-time>
required
startedAt
string<date-time>
required
results
object[]
required
status
enum<string>
required
Verfügbare Optionen:
PENDING,
PROCESSING,
CANCELED,
COMPLETE
requestedAt
string<date-time>