Upload Files

Upload Files

Upload files is a REST API tool that supports flexible options for uploading one or more files from local storage or from public URL prior to processing.

Build Your Solution

You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.

Browse all solutions
The pdfRest logo is added to the Microsoft Power Automate logo with a representation of a PNG to PDF conversion workflow
Integrate pdfRest with Microsoft Power Automate
Ensure GDPR Compliance for PDF Processing with EU-Based Cloud API
Ensure GDPR Compliance for PDF Processing with EU-Based Cloud API
The Salesforce logo with APEX programming language is connected with the pdfRest logo around a PDF toolkit icon
Integrate PDF API Tools with Salesforce Apex Code
Why does pdfRest API offer the most convenient file uploads?
pdfRest offers the best solution for uploading files for processing, because it supports multiple files at once, upload from URL, and intuitive responses for easy resource tracking.

Multiple Files at Once

Easily upload many files with one API Call. There is no limit to the number of files you may upload at once. Choose between uploading files from local storage or files from public URLs. Receive a response with convenient reference IDs associated with each file to use for subsequent processing steps. Note that a file size limit applies to the total of all files included in the call - see your plan details on the Pricing page for more information about upload file size limits.

Upload from URL

If your files are hosted somewhere accessible by public URL, you can easily pass those URLs into the Upload Files API Tool without the need to download them to your own local storage first. pdfRest will directly download files from specified URLs to the processing server, saving you time and avoiding unnecessary storage requirements. You can even pass multiple URLs with the same call to upload many files from URL at once!

Keep Track of Uploads

Streamline your workflow by pre-uploading files before processing. The Upload Files API Tool makes it easy to upload files in advance and store information about each uploaded file. This tool returns a JSON response intuitively arranged to help you associate your uploaded file names with their generated resource IDs. These resource IDs can be used to initiate subsequent processing steps for uploaded files.

Start from Code Examples
See more code examples in our GitHub repository
Customize Your Solution

Learn about the parameters for this tool to create your custom solution.

File

Local file to be uploaded.

This parameter may be included multiple times to upload multiple files but may not be combined with url parameter.

Safe & Secure

Confidently process your sensitive data with pdfRest. Our platform is fortified for robust, Enterprise-grade security and compliance, including GDPR, HIPAA, and SOC 2 Type 2 certification in progress. Your data's protection is our priority.

Frequently Asked Questions
Need more help? Contact Us or visit our documentation.

The Upload Files API is a REST API tool that allows you to flexibly upload one or more files to the pdfRest processing server. This tool is a pre-processing step for subsequent API calls, enabling you to get files onto the server from either your local storage or a public URL.

No, using the Upload Files API is not a required step. While it is a convenient helper tool, all of pdfRest's processing tools also support direct file uploads within the same processing call. However, there are advantages to uploading files ahead of time, such as simplifying your API requests. By pre-uploading, you can avoid more complicated multipart/form-data calls and instead pass the file's resource ID along with other parameters in a simpler, single-part JSON payload.

Yes, the Upload Files API supports single-part binary file uploads. You can upload a single file directly in the request body by setting the Content-Type header to application/octet-stream and providing the file's name and extension in the Content-Filename header.

Yes, the API supports uploading multiple files in a single request. This is accomplished by using a multipart/form-data request, which allows you to include multiple files from your local storage or a public URL in one efficient API call.

pdfRest offers the most convenient file uploads because it supports multiple files at once and allows you to upload them directly from a public URL, a feature only supported by this specific tool. Additionally, the API provides an intuitive JSON response that makes it easy to keep track of each uploaded file by associating its original name with a unique resource ID for subsequent processing.

Ensuring the security and privacy of your data is a top priority at pdfRest. Our platform is built for robust, enterprise-grade security and compliance, including GDPR and HIPAA. All your files are secured with encryption during both transit and at-rest, and they are permanently deleted after the stated file retention period (30 minutes for most plans). For complete details, please refer to our Data Processing Agreement (DPA).

To facilitate GDPR compliance for your file uploads, pdfRest processes your data within the European Union and adheres to other strict data protection requirements. You can ensure all processing occurs within the EU by sending your API calls to the dedicated EU endpoint, https://eu-api.pdfrest.com/upload. Please note that a GDPR usage fee may apply for some plans. For more information, please review our Data Processing Agreement.

Integrating the Upload Files API is straightforward. We offer comprehensive API documentation and code samples in many programming languages. The API Lab also allows you to test and generate code snippets directly from your browser, simplifying the setup and ensuring a smooth integration experience.

Yes, pdfRest offers two self-hosted options that support the Upload Files API. The pdfRest API Toolkit on AWS allows you to deploy and manage your own backend processing infrastructure within your AWS environment with pay-as-you-go pricing through the AWS Marketplace. The pdfRest API Toolkit Container provides ultimate environmental control as a Docker Container, giving you the flexibility to run the API in on-premises data centers or public/private cloud environments with a flexible, custom licensing model.

Generate a self-service API Key now!
Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.