Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add Text to PDF
CRAFTMYPDF_ADD_TEXT_TO_PDFTool to add text annotations to a PDF including page numbers, watermarks, and custom text at specified positions. Supports dynamic variables like {{pageNumber}} and {{totalPages}} for automatic page numbering. Use when you need to add watermarks, headers, footers, or any text overlay to existing PDF documents.
Add Watermark to PDF
CRAFTMYPDF_ADD_WATERMARKTool to add a text watermark to a PDF with customizable font, size, color, opacity, and rotation. Use when you need to overlay watermark text (e.g., CONFIDENTIAL, DRAFT) on PDF documents. For more advanced text placement and formatting options, consider using the add-text-to-pdf endpoint instead.
Create Editor Session
CRAFTMYPDF_CREATE_EDITOR_SESSIONTool to create an embeddable editor session URL for a template. Use when you need to embed the PDF editor for a specific template.
Create PDF Asynchronously (Extended)
CRAFTMYPDF_CREATE_PDF_ASYNC2Create a PDF asynchronously from a template and JSON data, returning a transaction reference and optionally sending a GET callback to a supplied webhook URL when the PDF is generated. Supports image optimization, resizing, and custom storage options.
Create PDFs in Parallel
CRAFTMYPDF_CREATE_PDF_PARALLELTool to create multiple PDF files in parallel from templates with JSON data. Processes multiple PDF generation requests concurrently for improved performance. Optionally merges all generated PDFs into a single file when merge parameter is enabled. Use when you need to generate multiple PDFs at once from different templates or data.
Merge PDF Files
CRAFTMYPDF_MERGE_PDFSTool to merge multiple PDF files from URLs into a single PDF document. Use when you need to combine multiple PDF files into one consolidated document. The API fetches PDFs from the provided URLs and merges them in the order specified.
Update PDF Fields
CRAFTMYPDF_UPDATE_PDF_FIELDSTool to update fillable fields in a PDF document such as text fields, checkboxes, and dropdowns. Use when you need to programmatically fill out PDF forms by updating field values. The PDF must contain fillable form fields with identifiable names that match the field IDs you provide.