
If you're using an official SDK, there will also be a corresponding method for this endpoint. To list the contents of a shared link for a folder, you instead provide the shared link URL in the shared_link parameter to /2/files/list_folder. This can be accomplished using the same interface as listing a folder in a connected user's account, via the list_folder functionality. How to force a Dropbox link to download To force a browser to download the contents of a link rather than display it, you can use dl1 as a query parameter in your URL. So its more work for them, which can be super annoying. They then have to click the link at the top to download it.

The /2/sharing/get_shared_link_metadata endpoint unfortunately doesn't return the file listing though, so if you need to programmatically get the file listing for use with /2/sharing/get_shared_link_file, as a workaround you can use the API v1 endpoint /1/metadata/link.ĭropbox API v2 now supports listing the contents of a shared link for a folder. Install Dropbox on your computer to start sharing your photos, docs, and videos, all from one secure place. which is the link you get when you ask to copy dropbox link within your dropbox account, it takes them to a screen that looks like this (obviously YOUR file will be in the place of where mine is right now). to download files from a shared link: /2/sharing/get_shared_link_file.to get the metadata for a shared link: /2/sharing/get_shared_link_metadata.

The current version of the Dropbox API, has endpoints for getting the metadata of shared links, as well as downloading files from shared links:
