younifyd
Menu

Post /files/v3/folders Create

Create folder

POST/files/v3/folders

Use it in a workflow

  1. Add a step and choose the HubSpot connector.
  2. Pick the Post /files/v3/folders Create action (under Files).
  3. Fill in the fields below, then reference the result from later steps as {{postFilesV3FoldersCreate.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

namestringrequired

Desired name for the folder.

parentFolderIdstring

FolderId of the parent of the created folder. If not specified, the folder will be created at the root level. parentFolderId and parentFolderPath cannot be set at the same time.

parentPathstring

Path of the parent of the created folder. If not specified the folder will be created at the root level. parentFolderPath and parentFolderId cannot be set at the same time.

json
{
  "name": "string",
  "parentFolderId": "string",
  "parentPath": "string"
}

Response

Returns 201 with an object. Read it in later steps with {{postFilesV3FoldersCreate.response.data.<field>}}.

archivedboolean

Marks whether the folder is deleted or not.

archivedAtstring (date-time)

Timestamp of folder deletion.

createdAtstring (date-time)

Timestamp of folder creation.

idstring

ID of the folder.

namestring

Name of the folder.

parentFolderIdstring

ID of the parent folder.

pathstring

Path of the folder in the file manager.

updatedAtstring (date-time)

Timestamp of the latest update to the folder.

json
{
  "archived": false,
  "createdAt": "2025-01-01T00:00:00Z",
  "id": "string",
  "updatedAt": "2025-01-01T00:00:00Z",
  "archivedAt": "2025-01-01T00:00:00Z",
  "name": "string",
  "parentFolderId": "string",
  "path": "string"
}

Need more? See the HubSpot guide for connection setup and behaviour shared by every action.