Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
TS L.
7 years agoExplorer | Level 4
Length of Dropbox account ID
What is the length of Dropbox account ID. Is the lenght fixed or it may change?
- 7 years ago
It looks like you're referring to using the official Dropbox API v2 Java SDK. Yes, the getAccountId method on the FullAccount object returned by getCurrentAccount would return the account ID for the connected user.
Jane
Dropbox Staff
7 years agoTS L.
7 years agoExplorer | Level 4
I like to know what is the value of the number of characters. Is the value always the same. Or it can be any value?
- TS L.7 years agoExplorer | Level 4
Kindly advise what is the number of characters of Dropbox Account ID.
Is the number of characters always the same for all the accounts?
- TS L.7 years agoExplorer | Level 4
In my app, I want to verify that the account number is valid. One of the criterial used in my app is to verify the number of characters.
- Greg-DB7 years ago
Dropbox Community Moderator
TS L. The `account_id` value on the Dropbox API is always 40 characters long.
You can that documented in `FullAccount.account_id`, for instance, as returned by /2/users/get_current_account:
account_id String(min_length=40, max_length=40)
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!