cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you interested in hearing how one of our Community members uses Dropbox for sailing trips? Read all about it here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get shareable links under a root path

Get shareable links under a root path

Vivek S.3
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

Stephen C.14
Dropbox Staff

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?

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Stephen C.14 Dropbox Staff
What do Dropbox user levels mean?