# Types.CreateFolderInput

Input describing a single folder to create.

> Kind: Apex type · Updated: 2026-07-01

Represents input for creating folders. Pass a list of these to Client.createFolders() or Client.createFoldersAsync().

## Fields

### Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| parentId | String | required | Id of the parent folder. |
| name | String | required | Name of the folder to be created. |
| driveId | String | required | Only applicable for SharePoint or Google Drive libraries. Supply null for other libraries. You can get this value from Content Library. |
| requestId | String | required | Pass null if using with Create Folders method or a random string if using with Create Folders Async method. This value can be used to filter the CloudFiles Event Object which would have information about the newly created folder. |

## Constructors

```apex
CreateFolderInput(
  String parentId,
  String name,
  String driveId,
  String requestId
)
```
