Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Andy
Super User alumni
9 years agoHow do I work with Client.AccountInfo?
I'm looking to check a user's email and verification status through Client.AccountInfo. I currently use a 3rd party JavaScript Core SDK, but it's syntactically the same as the Datastore JS API, at le...
Steve M.
Dropbox Staff
9 years agoAre you by chance using https://github.com/dropbox/dropbox-js? (In general, it would probably help if you told people what library you're actually using.)
Assuming you are, AccountInfo is a class. You'll need an instance of that class.
I think you're looking for code like this (completely untested):
client.getAccountInfo(function (err, accountInfo) {
if (err) {
console.log("ERROR: " + err);
}
else {
console.log("Email: " + accountInfo.email);
}
});About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!