POST
/
files
/
v3
/
folders
Ordner erstellen
curl --request POST \
  --url https://api.hubapi.com/files/v3/folders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "parentFolderId": "<string>",
  "parentPath": "<string>",
  "name": "<string>"
}'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "archivedAt": "2023-11-07T05:31:56Z",
  "path": "<string>",
  "archived": true,
  "parentFolderId": "<string>",
  "name": "<string>",
  "id": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z"
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubKostenlos
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubStarter

Erforderliche Bereiche

Diese API erfordert einen der folgenden Bereiche:
  • files

Authorizations

Authorization
string
header
required

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

Body

application/json

Folder creation options

Object for creating a folder.

Response

201
application/json

successful operation

The response is of type object.