Lodol Docs

PDFMonkey

API actions for the PDFMonkey integration.

PDFMonkey

Generate and manage documents using PDFMonkey templates.


Create document

Render a PDF from a PDFMonkey template with custom payload data.

Parameters

ParameterTypeRequiredDescription
template_idstringYesIdentifier of the PDFMonkey template to render.
payloadobjectYesJSON payload that fills the template variables.
metadataobjectNoOptional metadata to attach to the generated document.
test_modebooleanNoWhether to create the document in test mode (not counted toward usage).

Response

{
  "document_id": "mock_value",
  "document_status": "mock_value",
  "status": "mock_value"
}

Delete document

Delete a generated PDFMonkey document by its identifier.

Parameters

ParameterTypeRequiredDescription
document_idstringYesIdentifier of the PDFMonkey document to delete.

Response

{
  "deleted": true,
  "document_id": null,
  "status": "mock_value"
}

Get document status

Retrieve the processing status and download URL for a PDFMonkey document.

Parameters

ParameterTypeRequiredDescription
document_idstringYesThe PDFMonkey document identifier to inspect.

Response

{
  "document_id": null,
  "document_status": "mock_value",
  "download_url": "mock_value",
  "status": "mock_value"
}

On this page