Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
I am writing a regex for the Oauth2.0 Access Token. What are the possible special characters that can occur in that token? As far as I know, it contains '-' and '_'. Am I missing any special characters?
The Dropbox API doesn't make any guarantees about the exact format of an access token like this, so we don't recommend trying to validate them using a regex.
Further, access tokens can be revoked remotely anyway, so the only way to check if an access token is actually valid is to attempt an API call with it (e.g., most developers use the account information call, since there aren't any side effects) to check if it succeeds or fails.
Hi Gregory,
Thanks for that explanation
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!