cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right 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: 

Re: POJOs representing the Webhook event.

POJOs representing the Webhook event.

user44
Explorer | Level 4

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.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox 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.

View solution in original post

2 Replies 2

Greg-DB
Dropbox 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.

user44
Explorer | 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. 

Need more support?