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/invalid file reference, or the file's content could not be converted (corrupted, unreadable, or encrypted)

401

Unauthorized

404

File not found

500

Internal server error

503

Too many files are being converted for preview; try again shortly

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