cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you an educator? Well we want to hear from you, so check out some tools we think might help you out 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: 

Get user's account info on V2 api (javascript)

Get user's account info on V2 api (javascript)

maitrap
Explorer | Level 3

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 1

Re: Get user's account info on V2 api (javascript)

Greg-DB
Dropboxer
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
Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?