cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Webhook functionality implementation.

Webhook functionality implementation.

snigdhakadam
Explorer | Level 3

Hello,

 

I want to implement Webhook functionality. I don't have server for my website right now. So created Webhook URI on other's server e.g " https://www.example.com/webhook_test_uri ". I created get & post method there. I verify the request by echoing value of challenge parameter & my URI get enabled.  My OAuth2  redirect API is "http://127.0.0.1:8000/dropbox_auth" & Webhook URI is "https://www.example.com/webhook_test_uri".

 

When I make any changes in dropbox, it is not sending me data on above Webhook URI.

I am not getting what is wrong in this? Please suggest me.

 

Thanks,

5 Replies 5

Anastasios
Collaborator | Level 9

Do you have admin access rights to the other server?

 

The URI needs to be one publicly accessible over the internet. For example, 127.0.0.1 and localhost URIs will not work, since Dropbox's servers will not be able to contact your local computer.

 

Check this for more info

snigdhakadam
Explorer | Level 3

I have admin access rights to the other server. So I have added valid Webhook URI of other server not localhost. My Webhook URI is enabled.

Then also it is not giving response on that post method.

 

My Oauth redirect URL is localhost.

Greg-DB
Dropbox Staff

Webhook notifications will only be sent for changes in the accounts of users that are "linked" to your app. Can you check that you have linked your account to your app and that you are making changes in that account?

snigdhakadam
Explorer | Level 3

Thanks for reply.

I followed following steps:

1. I have created application on dropbox with full access.

2. I created web application & I follwed OAuth 2 Flow.

3. Then I was able to access my  all dropbox files. I was able to upload, download, rename etc operation on the files.

4. I have created one Webhook URI  on my other server(My Website code is not resides on this server). I have added this URI in application & this URI has enabled.

 

I am making changes in this same dropbox acccount(which I have chosen while OAuth 2 Flow).  But I am not getting changed information on specified URI.

Please suggest me if I wrong.

 

Many Thanks,

Greg-DB
Dropbox Staff
Thanks, in that case, please open an API ticket with the specifics (i.e., the relevant app ID, user ID, webhook URI, and path and timestamp of a file change) so we can look into it for you:

https://www.dropbox.com/developers/contact
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    snigdhakadam Explorer | Level 3
  • User avatar
    Anastasios Collaborator | Level 9
What do Dropbox user levels mean?