3
votes

I found this post on getting Notified when a file changes on dropbox. The problem is that the "/delta" API endpoint requires polling. I want instead to subscribe to events about file changes.

Ideally, I could subscribe to both "new file" and "file updated" events for a specific folder. I could then give dropbox a URL pointing to my own app that would be called when those events occurred. This is similar to how Twilio works. You can provide a URL to be POSTed to whenever your phone number receives a text message, and then your app can respond to POSTs to that URL however it wants. This seems like a much more elegant solution than polling -- is there any way to do it with the dropbox API?

4

4 Answers

4
votes

http://developers.box.com/webhooks/

it seems like Box API has webhook. You may want to try it.

4
votes

UPDATE 6/5/2014

We actually have webhooks now: https://www.dropbox.com/developers/webhooks

(original reply below)


No, Dropbox doesn't support this.

BTW, the general term for the sort of notification you describe is a "webhook."

2
votes

I received an email today regarding Dropbox WebHooks that is in the beta phase:

If you're interested in helping us out, just click through to fill out your information, and we'll be in touch:

https://dropboxapi.wufoo.com/forms/dropbox-webhooks-api-beta-feedback-contact-info

Happy Dropboxing!

0
votes

Dropbox now offers webhooks, although not with a event_type filter

https://www.dropbox.com/developers/blog/90/announcing-dropbox-webhooks