cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more 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: 

Can I do this with Dropbox API?

Can I do this with Dropbox API?

Michael S.22
New member | Level 1

I'm building an API for my app. I would like my API-server to have a Dropbox account. Each registered user would get a shared Dropbox link of his/her own.

When the user drops file in the shared folder the server is noticed and will import the files. The server will delete the file from Dropbox after importing. Instead a text file will be placed in the shared folder, describing that the uploaded files was successfully imported to the database.

More technically:

- I need one Dropbox account of some kind

- Need to create folders to be shared privately with each user (one folder per user)

- Need notification when new files are uploaded to shared folders

Is there such a Dropbox account and does these functions exist in the API?

Thanks,

//Michael

1 Reply 1

Greg-DB
Dropbox Staff

This sounds like it should be possible. Specifically:

- There isn't a special kind of account for this, but a normal account should work. You can register an account here: https://www.dropbox.com/register

- Yes, you can use the new API v2 shared folder endpoints to share folders and invite users:

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

Note that these endpoints are still in beta though.

- You can use webhooks to be efficiently notified of when things change in the account: https://www.dropbox.com/developers/webhooks

Moreover though, you probably don't actually need to use a central account with shared folders like this. If you just register an app normally (even just the app folder permission would suffice) and have users link their Dropbox accounts to it, your app could still be notified of changes in their accounts via webhooks, and then use the normal file uploading and downloading calls to get the contents and replace them, delete files, etc.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?