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.
Get Account Information
CRAFTMYPDF_GET_ACCOUNT_INFOTool to retrieve account information including subscription and usage details. Use when you need to check quota limits, template usage, or account creation date.
Get PDF Information
CRAFTMYPDF_GET_PDF_INFOTool to retrieve information about a PDF file including metadata, page count, and other properties. Use when you need to analyze PDF file structure or extract metadata without downloading the entire file.
List PDF Templates
CRAFTMYPDF_LIST_TEMPLATESTool to retrieve a paginated list of PDF templates. Use when you need to browse available templates before generating a PDF.
List API Transactions
CRAFTMYPDF_LIST_TRANSACTIONSTool to retrieve a paginated list of API transactions. Use when you need to view transaction history with pagination support.
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.
Query Template Usage Statistics
CRAFTMYPDF_QUERY_TEMPLATE_USAGETool to retrieve usage statistics for specified templates within a date range. Use when you need to track PDF generation counts and credit consumption for specific templates.
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.