Skip to content

Stream file content

GET
/files/{fileId}/content

Streams file content directly through the API. Authorization is validated on every request, and URLs cannot be shared.

fileId
required

Unique identifier of the file to retrieve

string

Unique identifier of the file to retrieve

mode

Content-Disposition mode: ‘attachment’ forces download, ‘inline’ allows browser preview

string
default: attachment
Allowed values: attachment inline

Content-Disposition mode: ‘attachment’ forces download, ‘inline’ allows browser preview

File content stream

string format: binary

Bad Request - Validation error or invalid input

object
error
required
string
code
string
details
nullable
retryable
boolean

Unauthorized - Authentication required or invalid token

object
error
required
string
code
string
details
nullable
retryable
boolean

Forbidden - Insufficient permissions

object
error
required
string
code
string
details
nullable
retryable
boolean

Not Found - Resource does not exist

object
error
required
string
code
string
details
nullable
retryable
boolean