Operator
← All integrations
Api2pdf logo

Connect Api2pdf to OpenClaw on Operator.io

Api2Pdf is a REST API for generating PDFs from HTML, URLs, and documents using powerful engines like wkhtmltopdf and Headless Chrome. It streamlines document conversion and automation for developers and businesses.

Automate Api2pdf with AI

Operator puts an OpenClaw agent in front of Api2pdf. You describe the job from Telegram or Discord and it handles the rest inside Api2pdf, picking the right calls from the 10 Api2pdf actions and checking its own work as it goes.

Your agent reaches Api2pdf directly or through connectors like Composio MCP and Pipedream MCP, which handle the sign in and token refresh for you, so there is nothing to wire up and no API keys to paste.

What your agent can do with Api2pdf

Your agent can call any of these Api2pdf actions by name as part of a larger task. Ask for the outcome you want and it picks the right ones.

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

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

LibreOffice Thumbnail

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 PDFs

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.

Optimize PDF

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 PDF Pages

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

Generate Barcode or QR Code

Tool to generate barcodes or QR codes using Zebra Crossing (ZXING). Use when you need a barcode or QR code image from text values.

How to connect Api2pdf

You authorize Api2pdf once from your dashboard. Operator holds the connection and refreshes the access tokens on its own, so your agent keeps working with Api2pdf without you signing in again. The same setup unlocks every other app your agent can reach, so you only do it once.

When you are ready, the get started guide walks through standing up your OpenClaw agent.

Common questions about Api2pdf

How do I connect Api2pdf to Operator?
Connecting Api2pdf is a one time sign in from your Operator dashboard. Operator keeps the connection live and rotates the token on its own, so the agent stays connected to Api2pdf and you never reauthorize by hand.
Can my agent work with my files in Api2pdf?
Yes. It can create, read, update, and organize documents and files, and pull one back when you ask. Use it to file new documents in the right place, search for something across your account, or keep Api2pdf tidy without doing it by hand.
Do I need to write code or manage Api2pdf API keys?
No. Operator manages the Api2pdf connection and token refresh, so there are no API keys to paste and nothing to deploy.
Can my agent use Api2pdf together with my other apps?
Yes. The same agent reaches every app you connect, so it can move between Api2pdf and tools like Google Drive, Google Docs, Dropbox in one job, reading from one and acting in another without you wiring anything between them.

More apps to automate

Apps your agent runs alongside Api2pdf, or browse all integrations.

Put your agent on Api2pdf

Sign in, connect Api2pdf, and hand your agent the work. Your first week is free.

Try for free