The need for PDF Optimization is increasing with the increasing usage of smartphones. Users want files that load faster, and webmasters discourage the upload of large PDF files. Even free email service providers don’t encourage users to use large attachments.

That is why PDF Optimization is becoming essential for many businesses. This is true especially for businesses that handle large amounts of user-generated data. With our PDF Optimization API, you can easily convert bulky PDF files to optimized PDFs, and do it in bulk!

You can even start with a FREE account now!

SIGN UP Zapier plugin  Explore API Docs

Benefits of Our PDF Optimization API

Secure Conversions

It is important that you protect client data and information from unauthorized third parties at all times. With our API, we use SSL encryption technology to secure our connections, and the files are processed on Amazon’s secure AWS infrastructure.

These measures can help you comply with ePHI requirements, which is important for businesses. Otherwise, you may expose yourself to lawsuits.

Integrates with Other Tools

We understand that you work with different automation tools, to increase efficiency, in order to lower production costs. That is why we have made it easy to integrate our PDF Optimization API with other tools. You can integrate it with Integromat, Zappier, UiPath, among other process automation tools.

How to Use PDF Optimization API

You need to upload your files to the PDF Optimization API’s temporary storage before you optimize a PDF for mobile viewing. You can also use external storage such as Gmail, but it’s more convenient to use the app’s temporary storage.

Step 1: Get PDF API Upload Link

You will upload your PDF to the API’s storage, using a link it will generate for you. To get that link, call the “/file/upload/get-presigned-url” method. The API will then generate a “presignedUrl” upload link and a “URL” access link. You will use the “URL” to access the uploaded PDF.

Step 2: Upload PDF to API Temporary Storage

Using the “presignedUrl” from step 1, upload your PDF for optimization, using the “PUT” method. You have to do that within 30 minutes after the upload link is generated.

Step 3: Execute PDF Optimization API

Once the PDF is uploaded, you can optimize it by calling the “/pdf/optimize” method and adding your API key to it. You will need to create an account with us before you can request your API key.

SIGN UP Zapier plugin  Explore API Docs

Resize PDF Asynchronously in the Background

For large PDF files, you have to optimize them in the background. That stops the API from sending a timeout error after 25 seconds. You can execute the PDF Optimization API asynchronously, by setting the “async” param to “true.

The API will respond by outputting a unique “jobId” for that task, and an output “URL” link. You can access the optimized PDF from that link after the API gives a “success” status.

You can check the status of the execution by calling the “/job/check” method, along with the tasks “jobId”. For detailed code samples, you can check our GitHub page. And if you have other questions, you can contact our support team at any time.

 

Related Pages: