Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Vincent P.9
8 years agoExplorer | Level 4
How can I get public URLs for all files within a folder?
Hi, I use Dropbox to manage a photo gallery. Co-workers can change photos within the folder and I can show them on our website. Right now, I proxy the request to get the file but that's a lot...
Greg-DB
Dropbox Community Moderator
8 years agoIf you want to get the shared links like the one in your sample, you can use /2/sharing/create_shared_link_with_settings to create one, if one doesn't already exist:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
If you're using an official SDK, there will be a corresponding method for that.
Note that you'll need to call for each file in the folder that you want.
A link already exists, you can use /2/sharing/list_shared_links to retrieve it:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links
Also, note that by default, these shared links point to preview pages, not the files themselves, but you can modify them for direct access as shown here:
https://www.dropbox.com/help/desktop-web/force-download
https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
If you're using an official SDK, there will be a corresponding method for that.
Note that you'll need to call for each file in the folder that you want.
A link already exists, you can use /2/sharing/list_shared_links to retrieve it:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links
Also, note that by default, these shared links point to preview pages, not the files themselves, but you can modify them for direct access as shown here:
https://www.dropbox.com/help/desktop-web/force-download
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!