Forum Discussion

Rich's avatar
Rich
Icon for Super User II rankSuper User II
1 year ago

Re: Regarding Access Token Expiration Policy


kiranghuge wrote:

If we are generating access token directly without setuping the Oauth flow for how much time it will be valid?


Access tokens typically last about 4 hours.

 


And any way can we create a token or any other authentication method that we can use like instead of creating again and again create once and use until revoked ?

Long-lived access tokens are no longer available. You need to use short-lived tokens along with a refresh token. Refer to the OAuth Guide and authorization documentation.

 

1 Reply

Replies have been turned off for this discussion

About Discuss Dropbox Developer and API

Node avatar for Discuss Dropbox Developer and API
Explore Dropbox Developer & API discussions with developers like you.

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!