This endpoint returns a URL to download the contents of a file (of all sizes).

For a file object of type file, this endpoint provides a URL that can be used to download the file contents. It works for files of all sizes (in particular, files greater than 4 MB).

The downloadUrl is an s3 signed URL and is valid up to 15 minutes after being returned.

Once you receive the downloadUrl, you can download it like this:

curl "<downloadUrl>" -o filename.txt

The file will be downloaded and named filename.txt in your working directory.

Note: This does not support downloading objects of type folder or link.

If the requested file is under 4 MB, the Download a File endpoint can be used to directly download a file via our API.

Language
Authorization
Header
Click Try It! to start a request and see the response here!