Uploads a new version of an existing file in Documents.
Documents is currently in Early Access and may not be available for your organization. If you're interested, please contact our customer support team or your customer success manager to check if your organization is eligible.
Use this endpoint to upload a new version of a file in Documents or update its metadata, such as the file name and description.
The response includes a temporary upload_url
(valid for 20 minutes), which you must use to upload the file’s binary content and complete the update. It is only returned when you're uploading a new file.
If a new file is uploaded, a new version is created. The latest version replaces the old one and previous versions are kept in the version history.
Requirements
- SafetyCulture Premium Plan or Enterprise Plan
- "Documents: Administration" permission
- Full seat
- "Edit" document access to add files in a folder
You can upload files up to 50MB in DOCX, DOC, JPEG, JPG, PNG, PDF, XLS, and XLSX formats.