Skip to content
Changelog

Report a bug

PDF.co integration: operations for AI agents

PDF.co connects to Type.com as an integration. This page lists the 69 operations documented for Claude and Codex in Type.com: 10 read, 58 write, 1 destructive.

About PDF.co

PDF.co API reference operations, subject to Type setup and account permissions.

Categories: Documents & Forms

How to connect PDF.co to Type.com

Connect
Configure provider-specific API target and authentication setup.
Access
Organization connection: one shared account for the workspace.

To add the connection, follow the steps in Space connections.

Documented operations

69 operations. Your connection's permissions determine which operations are available. API references describe the vendor surface; they do not expand your connection's credentials or access.

69 operations listed.

Extraction

  • Read

    List All Templates

    Returns all **Document Parser** data extraction templates available to the current user.

    GET /v1/pdf/documentparser/templates

  • Read

    Retrieve Template by ID

    Returns detailed information for document parser template by template’s id.

    GET /v1/pdf/documentparser/templates/{id}

  • Write

    AI Invoice Parser

    Process invoices faster than ever by extracting data and structuring it automatically with our advanced AI. Get quick and accurate data from any invoice, no matter the layout.

    POST /v1/ai-invoice-parser

  • Write

    Parse Document

    This API method extracts data from documents based on a document parser extraction template. With this API method, you can extract data from custom areas by searching form fields, tables, multiple pages, and more.

    POST /v1/pdf/documentparser

  • Write

    Extract Attachment

    Extracts attachments from a PDF file.

    POST /v1/pdf/attachments/extract

Editing

  • Write

    PDF Add

    Add text, images, forms, other PDFs, fill forms, links to external sites and external PDF files. You can update or modify PDF and scanned PDF files.

    POST /v1/pdf/edit/add

  • Write

    Search and Replace with Text

    Replaces text in a PDF file with a new text.

    POST /v1/pdf/edit/replace-text

  • Write

    Search and Replace with Image

    Modify a PDF file by searching for specific text and replacing it with an image.

    POST /v1/pdf/edit/replace-text-with-image

  • Write

    PDF Search and Delete Text

    Delete text from the PDF document with search strings.

    POST /v1/pdf/edit/delete-text

PDF Conversion

  • Read

    Return All Templates

    Return all HTML templates for the current user.

    GET /v1/templates/html

  • Read

    Return HTML Template by ID

    Returns HTML template by template’s id.

    GET /v1/templates/html/{id}

  • Write

    PDF to PDF/A

    Convert the complete PDF to PDF/A-3b and validate it with veraPDF. This endpoint is asynchronous only and has no async parameter. The submission response returns a jobId and planned file names, without output or report URLs. Poll /v1/job/check or use a callback for the final PDF, validation report and warnings. Completed non-compliant output is still charged; failed jobs refund the original processing debit once. See the full reference for validation states and limits.

    POST /v1/pdf/convert/to/pdfa

  • Write

    PDF to CSV

    Convert PDF and scanned images into CSV representation with layout, columns, rows, and tables.

    POST /v1/pdf/convert/to/csv

  • Write

    PDF to JSON

    Convert PDF and scanned images into JSON representation with text, fonts, images, vectors, and formatting preserved.

    POST /v1/pdf/convert/to/json2

  • Write

    PDF to JSON with AI

    Convert PDF and scanned images into JSON using AI.

    POST /v1/pdf/convert/to/json-meta

  • Write

    PDF to Text

    Convert PDF and scanned images to text with layout preserved. This method uses OCR and reporoduces layout.

    POST /v1/pdf/convert/to/text

  • Write

    PDF to Text (Simple)

    This endpoint works faster and requires fewer credits as it is not using AI-powered layout analysis, OCR support, and also has no support for profiles for fine-tuning. For advanced conversion with layout analysis, OCR (for scanned pages), PDF repair, and other features please use the [PDF to Text](/api/pdf-to-text/basic) endpoint instead.

    POST /v1/pdf/convert/to/text-simple

  • Write

    PDF to XLS

    Convert PDF to Excel(.xls) with layout and fonts preserved.

    POST /v1/pdf/convert/to/xls

  • Write

    PDF to XLSX

    Convert PDF to Excel(.xlsx) with layout and fonts preserved.

    POST /v1/pdf/convert/to/xlsx

  • Write

    PDF to XML

    Convert PDF to XML with information about text value, tables, fonts, images, objects positions.

    POST /v1/pdf/convert/to/xml

  • Write

    PDF to HTML

    Convert PDF and scanned images into HTML representation with text, fonts, images, vectors, formatting preserved.

    POST /v1/pdf/convert/to/html

  • Write

    PDF to JPG

    Convert PDF to JPEG image with high quality rendering.

    POST /v1/pdf/convert/to/jpg

  • Write

    PDF to PNG

    Convert PDF to PNG image with high quality rendering.

    POST /v1/pdf/convert/to/png

  • Write

    PDF to WEBP

    Convert PDF to WebP image with high quality rendering.

    POST /v1/pdf/convert/to/webp

  • Write

    PDF to TIFF

    Convert PDF to TIFF image with high quality rendering.

    POST /v1/pdf/convert/to/tiff

  • Write

    PDF from DOC

    Convert DOC, DOCX, RTF, TXT, XPS files into PDF.

    POST /v1/pdf/convert/from/doc

  • Write

    PDF from CSV

    Convert CSV, XLS, XLSX files into PDF.

    POST /v1/pdf/convert/from/csv

  • Write

    PDF from Image

    Convert JPG, PNG, TIFF image formats into PDF.

    POST /v1/pdf/convert/from/image

  • Write

    PDF from URL

    Convert URL into PDF. This method will process any JavaScript which the webpage triggers when it loads. For example if the the webpage triggers a JavaScript popup window then that will be included in the conversion process. There is no option to disable JavaScript on the supplied HTML page.

    POST /v1/pdf/convert/from/url

  • Write

    PDF from HTML

    Convert HTML into PDF. This method will process any JavaScript which the webpage triggers when it loads. For example if the the webpage triggers a JavaScript popup window then that will be included in the conversion process. There is no option to disable JavaScript on the supplied HTML page.

    POST /v1/pdf/convert/from/html

  • Write

    PDF from Email

    Convert email files (.msg or .eml) code into PDF. Extract attachments (if any) from input email and embeds into PDF as PDF attachments.

    POST /v1/pdf/convert/from/email

Excel Conversion

  • Write

    Excel to CSV

    Converts a xls/xlsx file to csv.

    POST /v1/xls/convert/to/csv

  • Write

    Excel to JSON

    Converts a xls/xlsx/csv file to json.

    POST /v1/xls/convert/to/json

  • Write

    Excel to HTML

    Converts a xls/xlsx/csv file to html.

    POST /v1/xls/convert/to/html

  • Write

    Excel to Text

    Converts a xls/xlsx/csv file to text.

    POST /v1/xls/convert/to/txt

  • Write

    Excel to XML

    Converts a xls/xlsx/csv file to xml.

    POST /v1/xls/convert/to/xml

  • Write

    Excel to PDF

    Converts a xls/xlsx/csv file to pdf.

    POST /v1/xls/convert/to/pdf

PDF Merging & Splitting

  • Write

    Merge PDF

    Merge multiple PDF files into a single PDF document.

    POST /v1/pdf/merge

  • Write

    Merge Various Document Type

    Merge PDF from two or more PDF, DOC, XLS, images, even ZIP with documents and images into a new PDF. This Merge 2 endpoint is similar to [Merge PDF](/api/merge/pdf) but it also supports `zip`, `doc`, `docx`, `xls`, `xlsx`, `rtf`, `txt`, `png`, `jpg` files as source. This Merge2 endpoint also consumes more credits than [Merge PDF](/api/merge/pdf) because of the internal conversions.

    POST /v1/pdf/merge2

  • Write

    Split PDF

    Split a PDF into multiple PDF files using page indexes or page ranges.

    POST /v1/pdf/split

  • Write

    Split PDF by Text Search

    Split a PDF into multiple PDF files using page indexes or page ranges.

    POST /v1/pdf/split2

Forms

  • Read

    PDF Forms Info Reader

    Get information about fillable form fields inside a PDF file.

    POST /v1/pdf/info/fields

Find & Search

  • Read

    PDF Find Text

    Find text in PDF and get coordinates. Supports regular expressions.

    POST /v1/pdf/find

  • Write

    Find Text in Table with AI

    AI powered document analysis can scan your document for tables and return the array of tables on pages with coordinates and information about columns detected in these tables.

    POST /v1/pdf/find/table

  • Write

    Make Text Searchable

    This method converts scanned PDF documents (where pages are fully or partially made from scanned images) or image files into a text-searchable PDF. It runs OCR and adds an invisible text layer on top of your document that can be used for text search, text indexing, etc.

    POST /v1/pdf/makesearchable

  • Write

    Make Text Unsearchable

    This method converts PDF files into a "text unsearchable" version by converting your PDF into a "scanned" PDF file which is effectively a flat image.

    POST /v1/pdf/makeunsearchable

Document, File & System

  • Read

    PDF Info Reader

    Get detailed information about a PDF document, it’s properties and security permissions.

    POST /v1/pdf/info

  • Read

    Background & Job Check

    Checks the [status](/api/job-check#available-status-values) of a background job that was previously created with PDF.co API. Use this API to check the status of your asynchronous API calls.

    POST /v1/job/check

  • Read

    Get Account Balance Info

    GET /v1/account/credit/balance

    GET /v1/account/credit/balance

  • Read

    Get MD5 Hash of File by URL

    Calculate and return MD5 hash of file by url. Commonly used to control if the source document has been changed or not because every little change will cause hash string to differ as well.

    POST /v1/file/hash

  • Write

    PDF Compress

    Compress PDF files to reduce their size.

    POST /v2/pdf/compress

  • Write

    PDF Optimize (Retired) (deprecated)

    Retired. Use PDF Compress (POST /v2/pdf/compress) instead. Optimize a PDF file to reduce its size.

    POST /v1/pdf/optimize

  • Write

    Document Classifier

    Automatically find class of input PDF, JPG, PNG document by analyzing its content using the built-in AI or custom defined classification rules.

    POST /v1/pdf/classifier

  • Write

    Send Email with File

    Send an email. An email can be with or without attachment.

    POST /v1/email/send

  • Write

    Extract Data from Email File

    Decode an email message to extract its components.

    POST /v1/email/decode

  • Write

    Extract Email Attachment

    Extract attachments from an email

    POST /v1/email/extract-attachments

  • Write

    Upload Small File

    Uploads a small (up to 100KB) local file as a temporary file in PDF.co storage. Note: temporary files are automatically permanently removed after 1 hour.

    POST /v1/file/upload

  • Write

    Upload File from URL

    Downloads file from a source url and uploads it as a temporary file. Temporary files are automatically permanently removed after 1 hour.

    GET /v1/file/upload/url

  • Write

    Upload File from URL

    Downloads file from a source url and uploads it as a temporary file. Temporary files are automatically permanently removed after 1 hour.

    POST /v1/file/upload/url

  • Write

    Upload File Using Base64

    Creates a temporary file using base64 source data. You may use this temporary file URL with other API methods. Temporary files are automatically permanently removed after 1 hour.

    POST /v1/file/upload/base64

  • Write

    Generate Pre-signed URL

    This method generates links to upload your local file to. Use this presignedUrl from the response to upload your file. Once you upload your file to this presignedUrl using PUT, you can use the url link to access the uploaded file.

    GET /v1/file/upload/get-presigned-url

  • Write

    Add Password to PDF

    Add password and security limitations to PDF

    POST /v1/pdf/security/add

  • Write

    Remove Password from PDF

    Remove existing limits and password from PDF file.

    POST /v1/pdf/security/remove

  • Destructive

    Delete Temporary File

    Deletes temporary file (that was uploaded by you or generated by API).

    POST /v1/file/delete

Pages

  • Write

    PDF Delete Pages

    Deletes selected pages inside a PDF file.

    POST /v1/pdf/edit/delete-pages

  • Write

    Rotate Selected Pages

    Rotates selected pages inside a PDF file.

    POST /v1/pdf/edit/rotate

  • Write

    Auto-rotate Pages with AI

    Uses AI to automatically fix the rotation of pages inside scanned PDF based on text analysis. To change text language change the lang parameter (eng by default).

    POST /v1/pdf/edit/rotate/auto

Barcodes

  • Write

    Barcodes Generator

    Generate high quality barcode images. Supports QR Code, Datamatrix, Code 39, Code 128, PDF417 and many other barcode types.

    POST /v1/barcode/generate

  • Write

    Barcodes Reader

    Read barcodes from images and PDF. Can read all popular barcode types from QR Code and Code 128, EAN to Datamatrix, PDF417, GS1 and many other barcodes.

    POST /v1/barcode/read/from/url

See How connections work for access and permissions, or browse all integrations.