Skip to main content
PUT
/
v1
/
files
/
{fileId}
/
content
Upload file content
curl --request PUT \
  --url https://api.sandbox.trycollate.ai/v1/files/{fileId}/content \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/octet-stream' \
  --data '"<string>"'

Authorizations

Authorization
string
header
required

Bearer token for WorkOS session JWTs and organization API keys.

Path Parameters

fileId
string
required
Example:

"file_123"

Body

The body is of type file.

Response

File content uploaded.