Create Project File Version
create_project_file_versionUpload a new version of a file in Procore Project Documents. Specify project_id and file_id to create a file version record and receive the new ID.
Instructions
Upload a new version of a specific file in the Project Documents tool. See the Procore Support website articles on Project Documents for additional information. Pass the record's fields as top-level arguments — they are nested under "file_version" in the request payload for you. Creates the project file version and returns it with its new id (HTTP 201); calling it again creates another record. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id, file_id. Procore API: Core > Documents. Endpoint: POST /rest/v1.0/file_versions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | JSON request body field — [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... | |
| name | No | JSON request body field — name of the file when downloaded | |
| notes | No | JSON request body field — notes about the File Version | |
| file_id | Yes | Query string parameter — unique identifier of the file | |
| project_id | Yes | Query string parameter — unique identifier for the project. | |
| upload_uuid | No | JSON request body field — 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... |