- Category: documents
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 10
- Triggers: 0
- Slug:
API2PDF - Version: 20261101_00
Tools
Check API Status
Check API Status
Delete PDF
Delete PDF
Slug:
API2PDF_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 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.).Input Parameters
The ResponseId returned from a previous API2PDF operation (e.g., merge, convert). This UUID identifies the PDF file to delete from API2PDF storage.
Output
Extract PDF Pages
Extract PDF Pages
Slug:
API2PDF_EXTRACT_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). Returns a URL to the extracted PDF.Input Parameters
Zero-based index of the last page to extract (exclusive). Negative values count from end. Defaults to end of document. When both start and end are 0 (or omitted), all pages are extracted.
Zero-based index of the first page to extract (inclusive). Negative values count from end (-1 is last page). Defaults to 0 (first page).
Output
LibreOffice PDF to HTML
LibreOffice PDF to HTML
LibreOffice Thumbnail
LibreOffice Thumbnail
Slug:
API2PDF_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.Input Parameters
Direct URL to a publicly accessible PDF or Office document (Word, Excel, PowerPoint) to generate a thumbnail from.
Output
Merge PDFs
Merge PDFs
Slug:
API2PDF_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 for 24 hours.Input Parameters
List of publicly accessible URLs pointing to PDF files to merge. The PDFs will be combined in the order they appear in this list.
Output
Optimize PDF
Optimize PDF
Reorder PDF Pages
Reorder PDF Pages
Slug:
API2PDF_REORDER_PAGESReorder pages of a PDF using a source URL and a list of zero-based page indices in the desired order. It extracts each requested page into an intermediate PDF before merging them; generated files are normally deleted after 24 hours.Input Parameters
List of zero-based page indices defining the new order. For example, [2,0,1] reorders a 3-page PDF to show page 3, then page 1, then page 2. Each index must be valid for the source PDF.
Output
Generate Barcode or QR Code
Generate Barcode or QR Code
Slug:
API2PDF_ZEBRA_GENERATE_BARCODERequest a barcode or QR code for a text value using ZXing. The tool sends a GET request and returns the raw response body as image bytes.Input Parameters
The text or data value to encode in the barcode. For 1D barcodes, this is typically alphanumeric. For QR codes, can include URLs, text, or other data.
Barcode format to generate. Supported 1D formats: CODABAR, CODE_39, CODE_93, CODE_128, EAN_8, EAN_13, ITF, RSS_14, RSS_EXPANDED, UPC_A, UPC_E, UPC_EAN_EXTENSION. Supported 2D formats: AZTEC, DATA_MATRIX, MAXICODE, PDF_417, QR_CODE. Most commonly used: QR_CODE (for 2D) or CODE_128 (for 1D).
When true, displays the human-readable text value below the barcode image. API default is false.