You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

suzuka's avatar
suzuka
Explorer | Level 4
7 years ago

How to add webhook in simple java project

I have used Java SDK to develop simple upload, download methods. Now I want to add support of webhooks in the same project. I don't find a good example for that anywhere. I don't want to move my project to spring. 

  • You can find the documentation for webhooks here:

    https://www.dropbox.com/developers/reference/webhooks

    Receiving webhooks isn't dependent on what, if any, Dropbox SDK you use, so the official Dropbox SDKs don't offer resources for it. Once you register a Dropbox webhook URI, Dropbox will send a POST request to the URI you registered when something changes in any of the accounts linked to your app. You can use whatever web framework you want for handling that, just like any other HTTP request.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    You can find the documentation for webhooks here:

    https://www.dropbox.com/developers/reference/webhooks

    Receiving webhooks isn't dependent on what, if any, Dropbox SDK you use, so the official Dropbox SDKs don't offer resources for it. Once you register a Dropbox webhook URI, Dropbox will send a POST request to the URI you registered when something changes in any of the accounts linked to your app. You can use whatever web framework you want for handling that, just like any other HTTP request.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,888 PostsLatest Activity: 23 hours ago
326 Following

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 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!