Get a File for preview

Streams a file from S3 storage to a preview-compatible format including PDF, Docx, HTML, Markdown, PNG, JPEG, JPG, GIF, CSV, TXT, MP4, Xlsx, and Pptx.

If the file are supported by server-side conversion, it will be converted before streaming. For example, Docx, Pptx, and Xlsx to PDF format. Otherwise, the file will be return as is without any conversion.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string | null
string | null
Responses

400

Missing or invalid file reference

401

Unauthorized

404

File not found

500

Internal server error

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/octet-stream