API2PDF logo
AI agent integrationAPI2PDF

API2PDF integration for multiplayer collaboration with AI agents using Claude Code or Codex

One governed connection your whole team and its AI agents can share, with approved actions and human review, so working in API2PDF never means pasting credentials into a prompt.

Use API2PDF from Claude Code

Bring API2PDF context into engineering work while Type keeps app access attached to the teammate and workspace.

Automate API2PDF with Codex

Let coding agents ask for the right app action, preserve conversation context, and keep humans in the approval loop.

Connect open agent workflows

Use Type as the collaboration layer around OpenClaw and other LLM workflows that need app access.

Documents & Forms

What the API2PDF integration exposes

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.

One connection, many teammates

Connect API2PDF once, then decide which teammates can use it for threads, automations, skills, and coding work.

Representative actions

  • 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.

  • Check API Status

    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 PDF

    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.).

  • Extract PDF Pages

    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.

  • LibreOffice PDF to HTML

    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).

Connection

API and auth details

API2PDF provides REST APIs for PDF generation and document conversion, including HTML-to-PDF, URL-to-PDF, Markdown-to-PDF, Office document conversion, PDF merging, barcodes, screenshots, Chrome-based rendering, LibreOffice conversion, serverless document workflows, and authorization-header API-key requests.

FAQ

Questions people ask before connecting API2PDF

Can Claude Code use API2PDF?

Yes. Type lets an AI teammate use connected API2PDF actions from a governed workspace context, so Claude Code work can reference the app without copying credentials into a local prompt.

Can Codex work with API2PDF through Type?

Yes. Codex can collaborate through Type with app context, skills, and approved actions. The API2PDF catalog entry includes public integration details and example capabilities where available.

Is this the same as a API2PDF MCP server?

Type exposes connected app capabilities to AI teammates and coding agents through Type's integration layer. Teams use it when they want shared app access, human review, and teammate-level permissions around agent work.

More documents & forms apps for AI teammates