# Create folder Creates a folder within a entity, optionally as a subfolder Endpoint: POST /v1/folders/{targetType}/{targetId} Version: 1.0 ## Path parameters: - `targetType` (string, required) The target type the folder should be created inOptions:MatterContract Enum: "Matter", "Contract" - `targetId` (integer, required) The target entity in LawVu ## Request fields (application/json-patch+json): - `name` (string, required) Name of the folder to create - `parentFolderId` (integer,null) The parent folder ID the folder will be created within, otherwise the folder is created at the root of the record.