cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
If you’ve changed your email address, now's the perfect time to update it on your Dropbox account and we’re here to help! Learn more 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: 

POJOs representing the Webhook event.

POJOs representing the Webhook event.

user44
Explorer | Level 4
Go to solution

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
Go to solution

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
Go to solution

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
Go to solution

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?
Who's talking

Top contributors to this post

  • User avatar
    user44 Explorer | Level 4
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?