cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right 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: 

Automatically accept shared folders

Automatically accept shared folders

gilbertwulff
Explorer | Level 3

Is there a setting that i can have that will automatically add a shared folder to my dropbox ?

Right now im getting prompted with this msg whenever someone added me into the list of users for a folder.

image.png

Is there a way that the folders are automatically added to my dropbox whenever im given permission to a folder?

3 Replies 3

Greg-DB
Dropbox Staff
There isn't a setting for that. If you're a programmer though (since you posted this in the "API support" forum), you could write something to programmatically add these using /2/sharing/list_mountable_folders[/continue] and /2/sharing/mount_folder (or the respective methods in an SDK):

https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_mountable_folders
https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_mountable_folders-c...

https://www.dropbox.com/developers/documentation/http/documentation#sharing-mount_folder

Richie4571
New member | Level 2

Could you please provide code sample of how this can be done?

Greg-DB
Dropbox Staff

@Richie4571 The documentation linked in my earlier comments includes samples for calling those endpoints using curl. Exactly what your code to call them would look like would depend on what language, platform, and SDK/library (if any) you're using. 

 

We do recommend using one of the official SDKs if possible:

 

https://www.dropbox.com/developers/documentation

 

Those have corresponding native methods for the HTTPS endpoints. If you do end up using one of those, check out the corresponding SDK documentation for information on how to get started. 

 

If you run in to any issues writing the code to connect to the Dropbox API from your app, please let us know and share what you have so far and what's giving you trouble.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Richie4571 New member | Level 2
What do Dropbox user levels mean?