Zum Hauptinhalt springen
POST
/
cms
/
v3
/
pages
/
landing-pages
/
folders
新規フォルダーを作成
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"
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール
この API には、次のいずれかのスコープが必要です。
content

Authorizations

Authorization
string
header
required

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

Body

application/json

The JSON representation of a new Folder.

Model definition for a content folder.

deletedAt
string<date-time>
required

このコンテンツフォルダーが削除されたタイムスタンプ(ISO8601 形式)。

parentFolderId
integer
required

このフォルダーがネストされているコンテンツフォルダーの ID

created
string<date-time>
required
name
string
required

アプリダッシュボードに表示されるフォルダー名

id
string
required

コンテンツフォルダーの一意の ID。

category
integer
required

このフォルダーが適用されるオブジェクトのタイプ。常にLANDING_PAGEにしてください。

updated
string<date-time>
required

Response

successful operation

Model definition for a content folder.

deletedAt
string<date-time>
required

このコンテンツフォルダーが削除されたタイムスタンプ(ISO8601 形式)。

parentFolderId
integer
required

このフォルダーがネストされているコンテンツフォルダーの ID

created
string<date-time>
required
name
string
required

アプリダッシュボードに表示されるフォルダー名

id
string
required

コンテンツフォルダーの一意の ID。

category
integer
required

このフォルダーが適用されるオブジェクトのタイプ。常にLANDING_PAGEにしてください。

updated
string<date-time>
required
I