Update a file

Updates an existing file in Documents, either its metadata or its content.

Use this endpoint to upload a new version of a file in Documents or update its metadata, such as the file name and description.

  • Metadata-only update: No upload_url is returned and no media upload is required (for example, rename or change description).
  • Replace content (new version): The response includes a temporary upload_url (valid for ~20 minutes). You must PUT the raw file bytes to that URL to complete the new version. The latest version replaces the old one in SafetyCulture, while previous versions stay in version history.

Requirements

You can upload files up to 50MB in DOCX, DOC, JPEG, JPG, PNG, PDF, XLS, and XLSX formats.

Language
Credentials
Bearer
Click Try It! to start a request and see the response here!