cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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: 

UID to Account Id migration

UID to Account Id migration

Naga Abhinaya T
Explorer | Level 4

Hi,

 

I am developing an app with Dropbox API v2. Previously I was using V1 APIs and used uid as primary mapping. However, V2 only supports accountID. Is there a way to migrate the existing uid to its corresponding account Id? Please help

2 Replies 2

Re: UID to Account Id migration

Greg-DB
Dropboxer
Yes, for each user that you have an uid for, use their access token to call /2/users/get_current_account:

https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account

That will return the account ID for that user, which you can record for that user, giving you that user ID to account ID mapping.

Re: UID to Account Id migration

Naga Abhinaya T
Explorer | Level 4
Thanks Greg!
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
    Naga Abhinaya T Explorer | Level 4
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?