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
POST /v1/pdfs.
payload fills the template’s variables. The optional encryption_* fields password-protect the PDF and set its permissions.
Output
data full type
data full type
Templates
list
templates.list
List document templates in the PDFLess workspace.
Risk: read
GET /v1/document-templates. Query names are Page and PageSize. Official fields are id, name, imagePreviewUrl, pdfPreviewUrl, created, and modified.
Output
templates full type
templates full type
Workspace
get
workspace.get
Read the PDFLess workspace for the connected API key.
Risk: read