Skip to content

pdfrest/pdfrest-api-samples

Repository files navigation

pdfRest

pdfRest.com | Get Started | API Lab | Explore the Toolkit | Solutions | Pricing | Documentation | Support

pdfRest API Toolkit

pdfRest is a professional-grade REST API Toolkit designed for developers who need to integrate high-quality PDF processing into web applications. Built on Adobe® technology, it allows you to rapidly deploy PDF capabilities in minutes.

Compress PDF Convert to PDF Convert to PDF/A Convert to PDF/X
Encrypt PDF Restrict PDF Merge PDFs Split PDF
Decrypt PDF Unrestrict PDF Add to PDF PDF to Images
Watermark PDF Flatten Transparencies Flatten Annotations Flatten Layers
Query PDF Linearize PDF Upload Files Zip Files
Flatten Forms Import Form Data Export Form Data Extract Text
PDF to Word PDF to Excel PDF to PowerPoint Extract Images
OCR to PDF API Polling Rasterize PDF Convert PDF Colors
Redact PDF PDF to Markdown Sign PDF Summarize PDF
Translate PDF

Integration Options

Package Managers & Containers

AI Automation

Connect with AI solutions to automate complex PDF operations. For example, pdfAssistant.ai uses this API to provide an intelligent, chat-based PDF processing interface.


Getting Started

  1. Get an API Key: Register for a free account to receive your key (includes 100 free monthly calls).
  2. Clone this Repo: Use the code samples in this repository to see how to submit requests programmatically.
  3. Configure Samples:
    • Find the comment: Place your api key here
    • Replace xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx with your actual key.

Downloading Files

Each directory contains a get-resource sample. When you perform a POST call, the API returns a UUID for your file. Replace xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in the sample with your specific UUID to download the output.

Privacy & File Deletion

To delete sensitive files immediately after processing, edit the sample file and set its local deletion flag to true. This is disabled by default.

  • JavaScript: Change const DELETE_SENSITIVE_FILES = false to true
  • Python: Change DELETE_SENSITIVE_FILES = False to True
  • PHP: Change $DELETE_SENSITIVE_FILES = false to true
  • .NET (C#): Change var deleteSensitiveFiles = false to true
  • Java: Change final boolean DELETE_SENSITIVE_FILES = false to true
  • cURL: Uncomment # DELETE_SENSITIVE_FILES=true

API Documentation

After you have successfully sent an API Call using these examples, take a look at the API Reference Guide for a full description of each endpoint and parameters you can adjust to customize your solution.


Support

Need help? Contact us through our Support form and our team will assist you.

About

pdfRest API Toolkit is a REST API service for processing PDF documents, made by developers, for developers. Rapidly integrate PDF workflows with your existing projects and applications, simply and seamlessly. Get started for free in seconds.

Topics

Resources

Stars

Watchers

Forks

Contributors