Create and save a PDF file in the user’s Workspace.
Documentation Index
Fetch the complete documentation index at: https://developers.luminpdf.com/llms.txt
Use this file to discover all available pages before exploring further.
Provide your API key in the X-API-Key header, e.g., X-API-Key: YOUR_API_KEY.
Creation method. One of:
file-upload — import from a file (PDF or other supported formats).template — create from a PDF template.file-upload, template Human-friendly title of the document (1–255 characters).
1 - 255Method-specific payload. Schema depends on the method chosen:
file-upload: Use DocumentDataFileUpload schema.template: Use DocumentDataTemplate schema.Returns the summary of the created document.
Unique identifier of the document in Lumin.
Human-friendly name of the document.
Unix timestamp (milliseconds) when the document was created.
Unix timestamp (milliseconds) when the document was last updated.
Where the document is stored.
Size of the PDF file in bytes.
MIME type of the file (e.g. application/pdf).
URL to open the document in Lumin's viewer.