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: 

Get notification when any files were uploaded

Get notification when any files were uploaded

Quan Vo
New member | Level 1

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 4

Greg-DB
Dropbox Staff

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:

https://www.dropbox.com/developers/core/docs#longpoll-delta

Quan Vo
New 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-DB
Dropbox Staff

Once you receive the notification, you can call /delta for that user to find out specifically what changed:

https://www.dropbox.com/developers/core/docs#delta

Quan Vo
New 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 🙂

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Quan Vo New member | Level 1
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?