Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Content Input

Upload a file or a new file version.
To upload a file or a new file version, provide the binary file in a multipart/form-data body part where name="fileData". See Upload Binary Files and Upload Files.
Example for Uploading a File
1POST /ui-api/records/content-documents/content-versions
1{
2  "description": "A description of the product",
3  "title": "product_image"
4}
Example for Uploading a New Version of a File
1POST /ui-api/records/content-documents/0692L00000BDVevQAH/content-versions
1{
2  "description": "Version 2 of the product image",
3  "title": "product_image"
4}
Properties
Name Type Description Required or Optional Available Version
description String A description of the document or image to be uploaded. Optional 56.0
title String The title of the document or image to be uploaded. Optional 56.0