Add Header Footer
Convert HTML to PDF with customizable headers and footers using Headless Chrome. Use for generating reports, invoices, or documents with consistent page numbering, titles, dates, or branding on every page.
Api2Pdf is a REST API that enables developers to generate PDFs from HTML, URLs, and various document formats using engines like wkhtmltopdf, Headless Chrome, and LibreOffice.
Convert HTML to PDF with customizable headers and footers using Headless Chrome. Use for generating reports, invoices, or documents with consistent page numbering, titles, dates, or branding on every page.
Tool to check the health status of the API2PDF service. Use when you need to verify if the API is available and responding. This endpoint does not require authentication and returns a simple status indicator.
Delete a previously generated PDF from API2PDF storage by its response ID. By default, API2PDF automatically deletes PDFs after 24 hours. Use this tool when you need to immediately remove a PDF for security or cleanup purposes. The response_id parameter is the ResponseId returned from any PDF generation operation (e.g., merge, convert HTML to PDF, etc.).
Tool to extract specific pages from a PDF document. Use when you need only certain pages from a larger PDF file. Provide a URL to the source PDF and optionally a page range (0-indexed, end exclusive). Returns a URL to the extracted PDF.
Tool to generate barcodes or QR codes using Zebra Crossing (ZXING). Use when you need a barcode or QR code image from text values.
Tool to convert a PDF document to HTML using LibreOffice. Use when you need HTML output of a PDF file (experimental; images may be excluded).
Tool to generate a thumbnail image of a document using LibreOffice. Use when you need a quick visual preview of a PDF or Office file's first page.
Merge multiple PDF documents into a single PDF file. Provide a list of publicly accessible PDF URLs, and they will be combined in the order specified. The merged PDF is available via a download URL for 24 hours.
Tool to optimize a PDF document to reduce file size while maintaining quality. Use when you need to minimize storage or bandwidth for an existing PDF.
Reorder pages of a PDF document by specifying a new page sequence. Provide a URL to the source PDF and a list of zero-based page indices in the desired order. For example, to reverse a 3-page PDF, use pages=[2,1,0]. The reordered PDF is available via a download URL for 24 hours.
The API2PDF integration connects your Dench AI CRM directly to API2PDF, so agents can read and act on your API2PDF data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.
10 actions are available for agents to invoke on your behalf. Every call runs through API2PDF's own authorization, scoped to the account you connect.
Sign in to your Dench workspace and open Integrations.
Find API2PDF and click Connect — you'll authorize access through API2PDF's own sign-in flow. No API keys or code required.
Ask an agent to use API2PDF in chat, or call it from an automation.
Manage or disconnect the connection any time from workspace settings.
The Dench API2PDF integration connects your AI CRM to API2PDF, so AI agents can work with your API2PDF data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.
The API2PDF integration currently exposes 10 actions, including Add Header Footer, Check API Status, Delete PDF, Extract PDF Pages, Generate Barcode or QR Code, and LibreOffice PDF to HTML. Agents invoke them on your behalf from chat or from automations.
No. You connect API2PDF from your Dench workspace using API2PDF's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.
Connections are authorized through API2PDF's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the API2PDF connection from your workspace settings at any time.