We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
anand19196
9 years agoExplorer | Level 4
API 1 vs API 2
Hi Support, While I am triying to access the Api "https://api.dropboxapi.com/2/users/get_account" its shown this site can't be reached. But i can use this https://api.dropboxapi.com/1/account/info...
Greg-DB
Dropbox Community Moderator
9 years agoAPI v2 does operate differently than API v1, so the way you call it will be different. The URL https://api.dropboxapi.com/2/users/get_current_account is the right endpoint for getting the user's account information via API v2. You can find the documentation for it here:
https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account
It requires a POST request, such as seen in the curl example in the documentation there:
curl -X POST https://api.dropboxapi.com/2/users/get_current_account \
--header "Authorization: Bearer ACCESS_TOKEN_HERE"
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!