API2PDF for AI agents

Agents read API2PDF at once. Changes and sends are held for a person's approval by default.

About API2PDF

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.

What an agent can do in API2PDF

Every API2PDF action is classed by the platform as a read, a change or a send. Reads run at once. Changes and sends are held for a person by default.

Runs at once (reads)

Looks things up in API2PDF without asking first. 2 actions.

  • Check API StatusTool 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 in
  • Generate Barcode or QR CodeTool to generate barcodes or QR codes using Zebra Crossing (ZXING). Use when you need a barcode or QR code image from text values.

Held for approval by default (changes and sends)

Held for a person's approval by default. The approval is recorded and the action is sent once, never twice, with 10 seconds to undo. 8 actions.

  • Add Header FooterConvert 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
  • Delete PDFDelete 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 se
  • Extract PDF PagesTool 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).
  • LibreOffice PDF to HTMLTool to convert a PDF document to HTML using LibreOffice. Use when you need HTML output of a PDF file (experimental; images may be excluded).
  • LibreOffice ThumbnailTool 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 PDFsMerge 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 fo
  • Optimize PDFTool 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 PDF PagesReorder 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

Changes wait in Needs you

Changes and sends in API2PDF are held for a person's approval by default. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.

How approvals work

API2PDF questions

Can an agent change data in API2PDF on its own?

Not by default. Changes and sends in API2PDF are held for a person's approval. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.

What can an agent read in API2PDF?

This connector lists 2 read actions. Reads run at once, without waiting for approval.

How does API2PDF connect?

It connects with API key. Connectors are built and maintained by third-party developers; availability is confirmed during scoping.

Bring API2PDF to your agents.