Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
What is the length of Dropbox account ID. Is the lenght fixed or it may change?
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
Community Moderator @ Dropbox
dropbox.com/support
Did this post help you? If so please give it a Like below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Best Answer' button to help others find it.
Still stuck? Ask me a question! (Questions asked in the community will likely receive an answer within 4 hours!)
Kindly advise what is the number of characters of Dropbox Account ID.
Is the number of characters always the same for all the accounts?
Thanks for circling back to us @TS L.! If it’s not too much trouble for you, can you clarify how you’d wish to utilize this info, so as to further advise on how you could about on this matter?
Jane
Community Moderator @ Dropbox
dropbox.com/support
Did this post help you? If so please give it a Like below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Best Answer' button to help others find it.
Still stuck? Ask me a question! (Questions asked in the community will likely receive an answer within 4 hours!)
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.
@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)
I used
mDbxClient.users().getCurrentAccount().getAccountId()
will that get the value `account_id`?
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.
Got it. Thank you.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!