Create Project Folder
Create a new doc folder in a project.
Notes:
- `name` is required.
- `parentId` and `phaseInstanceId` are mutually exclusive — a folder sits either at the root of a phase, or nested under another folder, not both.
- Folders nest at most 2 levels deep.
Authentication
x-api-keystring
API Key authentication via header
Path parameters
project_id
Project identifier
Request
This endpoint expects an object.
name
Folder name
parentId
Optional. Parent folder id to nest this folder under.
phaseInstanceId
Optional. Phase instance id this folder should sit at the root of. You can gather phase instance ids from the Get Project endpoint.
Response
Folder created successfully
id
Folder identifier
name
Folder name
isActive
Whether the folder is active (false if archived)
createdAt
Creation timestamp
updatedAt
Last update timestamp
companyId
Owning company identifier
parentId
Parent folder id, if this folder is nested under another folder. Mutually exclusive with phaseInstanceId. Folders nest at most 2 levels deep.
phaseInstanceId
Phase instance id, if this folder sits at the root of a phase. Mutually exclusive with parentId.
createdBy
User who created the folder
Errors
400
Bad Request Error
404
Not Found Error
500
Internal Server Error
