cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right 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

Greg-DB
Dropbox Staff
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
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?