---
title: "API2PDF integration for LuumenAI"
url: "https://www.luumen.ai/integrations/api2pdf/"
entity: SoftwareIntegration
category: "Knowledge & documentation"
audience: "SRE, DevOps, platform engineering, IT operations"
---

# API2PDF integration for LuumenAI

Generate, merge, and trim PDFs from your operations runbooks

## What LuumenAI can do with API2PDF

LuumenAI connects to API2PDF with an API token and exposes 10 tools (2 read-only · 7 write · 1 destructive). Reads answer immediately; writes are shown as a plan and require approval by default, configurable per tool by an administrator.

## Key facts

- Authentication: API token
- Tools available: 10 tools (2 read-only · 7 write · 1 destructive)
- Plan: available on all plans
- Category: Knowledge & documentation

## About API2PDF with LuumenAI

Api2Pdf turns HTML, URLs, and office documents into PDFs using wkhtmltopdf, Headless Chrome, and LibreOffice. Connect it and Luumen can assemble incident reports, change records, and audit packets on request. Luumen checks service health and generates barcodes on the spot. Document changes are previewed and held for approval before they run.

## Example tools

Read-only (2 in total):

- `API2PDF_CHECK_STATUS` — Check the health status of the API2PDF service.
- `API2PDF_ZEBRA_GENERATE_BARCODE` — Generate barcodes or QR codes using Zebra Crossing (ZXING).

Write and destructive (8 in total, approval required by default):

- `API2PDF_ADD_HEADER_FOOTER` — Convert HTML to PDF with customizable headers and footers using Headless Chrome.
- `API2PDF_DELETE_PDF` — Delete a previously generated PDF from API2PDF storage by its response ID.
- `API2PDF_EXTRACT_PAGES` — Extract specific pages from a PDF document.
- `API2PDF_LIBREOFFICE_PDF_TO_HTML` — Convert a PDF document to HTML using LibreOffice.
- `API2PDF_LIBREOFFICE_THUMBNAIL` — Generate a thumbnail image of a document using LibreOffice.
- `API2PDF_MERGE_PDFS` — Merge multiple PDF documents into a single PDF file.
- `API2PDF_OPTIMIZE_PDF` — Optimize a PDF document to reduce file size while maintaining quality.
- `API2PDF_REORDER_PAGES` — Reorder pages of a PDF document by specifying a new page sequence.

## Frequently asked questions

### How does LuumenAI connect to API2PDF?

Authorize once with API token. Luumen lists the scopes each action needs before you approve the connection, and credentials never appear in the chat.

### Can LuumenAI change things in API2PDF on its own?

Read actions answer immediately. Anything that writes is shown as a plan and requires approval by default, including the 1 action classified as destructive. Administrators configure that per tool.

### Is there an audit trail?

Every call to API2PDF — read or write, approved or declined — is recorded with the actor, the input, and the result.

Full page: https://www.luumen.ai/integrations/api2pdf/
