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
user44
2 years agoExplorer | Level 4
POJOs representing the Webhook event.
Hi there,
I am developing an integration with Dropbox and using Java SDK. While adding the webhooks based event notification functionality, I couldn't find the POJOS out of the SDK representing these. I could see this com.dropbox.core.v2.webhooks.DropboxWebhookEvent on internet, but couldn't spot the same in SDK, please clarify.
Can clarify where you saw "com.dropbox.core.v2.webhooks.DropboxWebhookEvent" online"? That's not part of the official Dropbox API v2 Java SDK, for which you can find the official documentation here.
In any case, using Dropbox webhooks actually does not require using any of the official Dropbox SDKs, and there are no objects provided for webhook events in the Dropbox Java SDK. Dropbox webhook notifications are sent as HTTP(S) requests from the Dropbox servers to your specified webhook URI server. You should use your web framework to receive those requests and handle them however you want. For instance, you can then perform calls to the Dropbox API using the Dropbox Java SDK as a result of the webhook notifications, but that's not required.
- Greg-DBDropbox Staff
Can clarify where you saw "com.dropbox.core.v2.webhooks.DropboxWebhookEvent" online"? That's not part of the official Dropbox API v2 Java SDK, for which you can find the official documentation here.
In any case, using Dropbox webhooks actually does not require using any of the official Dropbox SDKs, and there are no objects provided for webhook events in the Dropbox Java SDK. Dropbox webhook notifications are sent as HTTP(S) requests from the Dropbox servers to your specified webhook URI server. You should use your web framework to receive those requests and handle them however you want. For instance, you can then perform calls to the Dropbox API using the Dropbox Java SDK as a result of the webhook notifications, but that's not required.
- user44Explorer | Level 4
Thanks for clarification Greg. I saw that in Google search's generative AI response, and I thought there should be something like that in the SDK or maybe I am missing something.
I should have taken the screen shot, forgot to take it. Looks like it is one of those AI hallucinations, and my bias that anything coming on Google search's top result is worthy enough to be trusted.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 2 hours agoIf 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!