API2PDF logo
ConnectorAPI2PDF

API2PDF integration for Claude and Codex

Create a API2PDF connection, then control which Spaces can use its approved tools and data without pasting credentials into prompts or threads.

Use API2PDF from Claude

Add the API2PDF connection to a Space that runs Claude, then use it from every channel in that Space.

Use API2PDF from Codex

Add the API2PDF connection to a Space that runs Codex, then use it from every channel in that Space.

Use API2PDF from Sidekick

Connect your own OpenClaw to Sidekick while Type provides the conversations, permissions, connections, skills, and automations.

Documents & Forms

What the API2PDF connector can do

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 Spaces

Connect API2PDF once, then decide which Spaces can use it in threads, skills, automations, 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 use API2PDF?

Yes. Add a API2PDF connection to a Space that runs Claude, then use its approved tools and data from any channel in that Space.

Can Codex work with API2PDF through Type?

Yes. Add a API2PDF connection to a Space that runs Codex, then use its approved tools and data from any channel in that Space.

Is this the same as a API2PDF MCP server?

Not exactly. Type uses connectors and connections to give selected Spaces access to approved app tools and data. Some connectors use hosted MCP, while others use OAuth, API keys, service accounts, or custom APIs.

More documents & forms connectors