On this page, we have gathered a few simple steps on how to obtain the direct download (raw content) URL from multiple service providers, such as Dropbox, Google Drive, Box, and Amazon S3.

 

For Dropbox files:

To force a browser to download the contents of a link rather than display it, you can use dl=1 as a query parameter in your URL. For example:

https://www.dropbox.com/s/a1b2c3d4ef5gh6/example.docx?dl=1

 

For Google Drive files:

If the link is shared from Google Drive itself, it will look something like this:

https://drive.google.com/file/d/file_id/view?usp=sharing

To force it to download, we take the file_id and build the following URL:

https://drive.google.com/uc?export=download&id=file_id

For documents exported from Google Docs, Sheets, and Presentations the format is a bit different but the idea is the same:

  • Docs: https://docs.google.com/document/d/file_id/export?format=pdf
  • Spreadsheets: https://docs.google.com/spreadsheets/d/file_id/export?format=xlsx
  • Presentations: https://docs.google.com/presentation/d/file_id/export/pdf

 

Amazon S3

If you create a bucket named mybucket in the US West (Oregon) Region, and you want to access the invoice.pdf object in that bucket, you can use the following path-style URL:

https://s3.us-west-2.amazonaws.com/mybucket/invoice.pdf

Box

Direct links are a premium feature in Box, unavailable on free personal accounts.

At the bottom of the shared link settings pop-up, you will find a direct link to your file. A direct link is a web address (URL) that links directly to a file (without using Box Preview).

Please refer to their documentation for more information.

 

How to connect Zapier to PDF.co

PDF.co & Zapier tutorials

Getting Started with pre-made Zaps

Related Pages: