Skip to main content
PUT
Register a file upload

Authorizations

x-api-key
string
header
required

Organization-scoped API key (sk-cai-v1-...). Create one in Cloneable Office under Settings → API Keys.

Body

application/json

Body

content_type
string
required

The content type of the file

extension
string
required

The file extension

name
string
required

The file name

display_name
string
required

The file display name

size
number
required

The file size in bytes

type
string
required

The file type

sync_to_edge
boolean
required

Whether the file should be synced to the edge device

id
string<uuid>
type_ref_ids
string[]
company
string

The company ID

created_at
string<date-time> | null

The date the file was created

created_by
string

The user ID of the user who created the file

url
string

The stored file path

saved_to_cloud
boolean

Whether the file is saved to the cloud

storage_auth_provider_name
string
storage_provider
string
type_ref_ID
string
additional_properties
object

Response

Created

id
string
required
upload_url
string
required