Skip to main content
GET
/
files
/
{file_id}
/
preview
This response does not have an example.

Authorizations

Authorization
string
header
required

API Key authentication.

Path Parameters

file_id
string<uuid>
required

The unique identifier of the file to preview, obtained from the File Upload API response.

Query Parameters

as_attachment
boolean
default:false

Whether to force download the file as an attachment. Default is false (preview in browser).

Response

File content returned successfully. Headers set based on file type and request parameters.

The response is of type file.