Skip to main content
Every api2pdf.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Chrome

addHeaderFooter

chrome.addHeaderFooter Render HTML to PDF with custom headers and footers Risk: write
Input Output

Libreoffice

libreOfficePdfToHtml

libreoffice.libreOfficePdfToHtml Convert a PDF to HTML using LibreOffice Risk: write
Input Output

libreOfficeThumbnail

libreoffice.libreOfficeThumbnail Generate a thumbnail preview of a document Risk: write
Input Output

Pdfsharp

extractPages

pdfsharp.extractPages Extract a page range from a PDF Risk: write
Input Output

mergePdfs

pdfsharp.mergePdfs Merge multiple PDF URLs into a single document Risk: write
Input Output

optimizePdf

pdfsharp.optimizePdf Compress a PDF to reduce file size Risk: write
Input Output

watermarkPdf

pdfsharp.watermarkPdf Stamp a text watermark onto every page of a PDF Risk: write
Input Output

Utility

checkStatus

utility.checkStatus Check API2PDF service health status Risk: read
Input: empty object Output

deletePdf

utility.deletePdf Delete a previously generated PDF by response ID Risk: write
Input Output

Zebra

generateBarcode

zebra.generateBarcode Generate a barcode or QR code image Risk: write
Input Output