Render a document as PDF
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
Render a document as PDF
Documentation Index
Fetch the complete documentation index at: https://developers.lighton.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The body is of type any.
Response
PDF rendered successfully. Response body is the raw PDF bytes.