API ReferenceFile Management

Fetch File Content

GET/api/v1/files/{fileId}/fetch

Stream file content directly from storage. Supports both API key and signed token authentication for flexible access control.

Headers

AuthorizationstringOptional

Bearer token for authentication. Not required if using signed token query parameter.

Path Parameters

fileIdstringRequired

The unique identifier of the file to fetch

Query Parameters

tokenstringOptional

Signed JWT token for authentication. Use this for pre-authenticated URLs instead of API key authentication.

downloadbooleanOptional

When true, forces the browser to download the file as an attachment instead of displaying inline.

GET/api/v1/files/{fileId}/fetch
Response