We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
ch26
6 years agoHelpful | Level 7
webhook delta
Hi Team
How to get what file path has been changed using webhooks in conjunction with list_folder/continue using deltas?? It will be very helpful if anyone posts sample json returned value from webhook notification using delta???
Thanks
1 Reply
- Greg-DB6 years ago
Dropbox Community Moderator
Dropbox webhook notifications only tell you when something has changed. They don't include information about what exactly has changed. You can find an example of what a webhook notification body looks like in the webhook documentation under "Receiving notifications":
https://www.dropbox.com/developers/reference/webhooks#notifications
Note that webhook notifications contain both "delta" and "list_folder" values for backwards compatibility for old apps. If you're developing your app now, you should only use the "list_folder" values.
When you get a webhook notification, you should look up the access token you have stored for the specified account ID(s), and then use it, along with a corresponding cursor, if any, to call /2/files/list_folder[/continue] to find out what changed for that account.
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!