v1

latestOpenAPI 3.1.02026-07-263580186.3 KB
Parse

Render a document as PDF

Convert a document into a PDF suitable for inline preview.

Accepts a file upload (multipart/form-data), a document URL, or a file_id referencing a document already ingested in the platform (JSON body). The conversion is synchronous — the PDF bytes are returned directly.

Supported file types: .pdf, .png, .jpg, .jpeg, .pptx, .ppt, .odp, .docx, .odt, .doc, .html, .xhtml

Size limit: 20 MB.

post/api/v3/preview

Request body

{"stackTrail":"paths:/api/v3/preview:post:requestBody:content:application/json:schema","oasType":"schema","type":"unknown"}

Response

PDF rendered successfully. Response body is the raw PDF bytes.