Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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
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.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!