cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Get shareable links under a root path

New member | Level 2
New member | Level 2

Hello. I'm using the dropbox APIs (business) to build an app that is going to act as a service to save as well as retrieve documents. 

How do I go about making all files under a certain root path shareable? I'm currently using the filesListFolder API method to list out files, but this only lists out the path. Sharing the root folder and concatenating the shared link for this root URL with the relative path of a document in a sub-directory does not seem to work.

1 Reply 1
Highlighted

Re: Get shareable links under a root path

Dropboxer
Dropboxer

Thanks for reaching out. I'm not totally sure I follow your question. You can share files individually by creating a shared link via /create_shared_link_with_settings (https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_...), or if you want to share all files within a given root folder, then simply share the root folder itself via the /share_folder endpoint (https://www.dropbox.com/developers/documentation/http/documentation#sharing-share_folder). Does this answer your question?

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?