Skip to main content

Download a document

GET 

https://platform.docana.com/api/v1/documents/:id/download/

Streams the document bytes. size (e.g. SMALL, MEDIUM, LARGE, WHATSAPP) serves a resized variant for images; pdfPreviewType=image serves a PDF page rendered as an image. The response content type follows the stored file. preview renders supported formats inline, including saved HTML artifacts and sandbox output files in an isolated script sandbox. version pins a saved HTML artifact revision.

Request​

Responses​

The document bytes (content type of the stored file)