Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Quan Vo
10 years agoNew member | Level 1
Get notification when any files were uploaded
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?
4 Replies
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
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:
- Quan Vo10 years agoNew member | Level 1
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).
- Greg-DB10 years ago
Dropbox Community Moderator
Once you receive the notification, you can call /delta for that user to find out specifically what changed:
- Quan Vo10 years agoNew member | Level 1
I see, thanks you so must.
Note: I hope we can have file's information when webhooks response to us in the future :)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
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!