create_project_file
Upload and create new files in Procore projects to store documents, track changes, and manage project documentation with custom permissions.
Instructions
Create project File. [Core/Documents] POST /rest/v1.0/files
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Unique identifier for the project. | |
| parent_id | No | The ID of the parent folder to create the file in. If not set the file will be created under the root folder. | |
| name | No | The Name of the file | |
| is_tracked | No | Status if a file should be tracked (true/false) | |
| explicit_permissions | No | Set file to private (true/false) | |
| description | No | A description of the file | |
| data | No | [DEPRECATED] File to use as file data. Please use upload_uuid instead. Note that it's only possible to post a file using a multipart/form-data body (see RFC 2388). Most HTTP libraries will do the r... | |
| unique_name | No | Toggles automatic renaming if the file name is already taken in a folder (unique_name = true). Returns a name taken error if a file name is taken in a folder (unique_name = false). | |
| upload_uuid | No | UUID referencing a previously completed Upload. This is the recommended approach for file uploads. See Company Uploads or Project Uploads endpoints for instructions on how to use uploads. You sho... | |
| custom_field_%{custom_field_definition_id} | No | Value of the custom field. The data type of the value passed in corresponds with the data_type of the Custom Field Definition. For a lov_entry data_type the value passed in should be the ID of one ... |