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.
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-DB
Dropbox Community Moderator
7 years agoTS 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)
- TS L.7 years agoExplorer | Level 4
I used
mDbxClient.users().getCurrentAccount().getAccountId()will that get the value `account_id`?
- Greg-DB7 years ago
Dropbox Community Moderator
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.
- TS L.7 years agoExplorer | Level 4
Got it. Thank you.
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!