Skip to main content
Every pdfmonkey.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.

Documents

createDocument

documents.createDocument Create a document and queue it for PDF generation Risk: write
Input
Output

createDocumentSync

documents.createDocumentSync Create a document and wait for generation to complete Risk: write
Input
Output

deleteDocument

documents.deleteDocument Delete a document [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output

getDocument

documents.getDocument Get a full document including payload and generation logs Risk: read
Input Output

getDocumentCard

documents.getDocumentCard Get a document card with status and download URL Risk: read
Input Output

listDocumentCards

documents.listDocumentCards List document cards with pagination and filters Risk: read
Input
Output

updateDocument

documents.updateDocument Update a document’s payload, metadata, or template Risk: write
Input
Output

Templates

createTemplate

templates.createTemplate Create a new document template Risk: write
Input
Output

deleteTemplate

templates.deleteTemplate Delete a template [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output

getTemplate

templates.getTemplate Get a template by ID Risk: read
Input Output

listTemplateCards

templates.listTemplateCards List template cards for a workspace Risk: read
Input
Output

updateTemplate

templates.updateTemplate Update an existing template Risk: write
Input
Output