Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
maitrap
9 years agoExplorer | Level 3
Get user's account info on V2 api (javascript)
Hello,
I am trying to get the user detail information for my development, and the information that I am interested in is "display name" and the "email"
I use to get that using client.getAccountInfo() in V1 api.
Could you please let me know how to get them in V2?
Thanks
Maitrap
1 Reply
- Greg-DB9 years ago
Dropbox Community Moderator
For using API v2 from JavaScript, we recommend using the official Dropbox API v2 JavaScript SDK:
https://github.com/dropbox/dropbox-sdk-js
The equivalent method is usersGetCurrentAccount:
https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#usersGetCurrentAccount__anchor
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!