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
vineet
5 years agoExplorer | Level 3
webhooks notification
we have reviced the notification json format, but how can get actual file chnages.
- 5 years ago
When you first store the access tokens and cursors in your app (e.g., in your database), you should record which Dropbox account ID each one belongs to. (For any given access token, you can use /2/users/get_current_account to check the account ID, which just needs to be done once each.)
Then, when you get the webhook notification, you can use the account ID to look up the corresponding access token and cursor.
vineet
Explorer | Level 3
Thnaks, for the fast response
i want to ask question
we have recived Cursor response from Get lateat cursor API and save cursor data into database and
I have recived the notification and the save the notification json format into database
How can get User details from which API
{"list_folder": {"accounts": ["dbid:AADsKehzrQqxnG4GnclQAYU2mU0ER_f9vOw"]}, "delta": {"users": [2399690544]}}
please suggest me
Greg-DB
5 years agoDropbox Staff
When you first store the access tokens and cursors in your app (e.g., in your database), you should record which Dropbox account ID each one belongs to. (For any given access token, you can use /2/users/get_current_account to check the account ID, which just needs to be done once each.)
Then, when you get the webhook notification, you can use the account ID to look up the corresponding access token and cursor.
- vineet5 years agoExplorer | Level 3
Thanks for the response Greg
Can i use GetAccount API , i got the response dbId for reciving notification and pass the parameter dbId into GetAccount API so getting the response for particular user???
???????
- Greg-DB5 years agoDropbox Staff
You can technically use /2/users/get_account to look up the account information for a particular account based on an account ID, but for the sake of efficiency I recommend instead recording the information initially as described in my previous comment.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,884 PostsLatest Activity: 3 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!