Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Currently, Dropbox API help us to download and upload file to dropbox.
But, I need a trigger on my application, when a files were uploaded to dropbox. Can we do that?
For web apps, you can get notified of changes in your linked users' account using webhooks:
https://www.dropbox.com/developers/webhooks/docs
For client-side apps, you can use /longpoll_delta:
Hi @Gregory, Thanks for your answering, I'm using web apps. But I have a concern, that the JSON body (notification) only have information about user who edit the file, don't have the file's name:
{ "delta": { "users": [ 12345678, 23456789, ... ] } }
What I need is the name of file was uploaded by any user (user can upload from web page of DropBox or Dropbox application).
Once you receive the notification, you can call /delta for that user to find out specifically what changed:
I see, thanks you so must.
Note: I hope we can have file's information when webhooks response to us in the future 🙂
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!