Skip to main content
New to Corsair? See API access, authentication, and error handling.

Pdfs

generate

pdfs.generate Render a PDF from a document template and return its download link. Uses one document from the workspace quota. Risk: destructive
Input POST /v1/pdfs. payload fills the template’s variables. The optional encryption_* fields password-protect the PDF and set its permissions. Output

Templates

list

templates.list List document templates in the PDFLess workspace. Risk: read
Input GET /v1/document-templates. Query names are Page and PageSize. Official fields are id, name, imagePreviewUrl, pdfPreviewUrl, created, and modified. Output

Workspace

get

workspace.get Read the PDFLess workspace for the connected API key. Risk: read
Input: empty object GET /v1/workspaces. Official fields are name, active, created, modified, quota, and remainingQuota. Output