UploadRemoteFile
Upload a file attachment and return a remote file entry representing the attachment.
The following are example metadata for various MIME types. While providing metadata is optional, it can help optimize and customize how the attachment is rendered in the UI. Additionally, for metadata that includes a timestamp, it indicates when the attachment should start playing in the UI.
Video metadata
Image metadata
Audio metadata
POST
/
api
/v0
/remote-files
/upload
Request Body
multipart/form-data
RequiredorganizationId
Requiredstring
Organization ID
entityId
Requiredstring
Entity ID
entityType
Requiredstring
Entity Type
description
string
File description
metadata
string
Optional JSON metadata for the file (valid JSON required)
file
Requiredfile
File to upload
Format:
"binary"
OK