Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.

Forum Discussion

TarunK's avatar
TarunK
New member | Level 2
4 years ago

Refreshing short lived access token after expiry

I login into my personal account, create an app in the app console and generate an short-lived access token. After this token has expired, can I use it to generate a new access token programmatically...
  • Greg-DB's avatar
    4 years ago

    No, it is not possible to use a short-lived access token to programmatically generate another access token. If you need long-term access without manual user intervention, you should use the OAuth flow to get a refresh token, which can be used to programmatically retrieve new short-lived access tokens on demand. Please refer to the OAuth Guide and authorization documentation for more information on doing so.

     

    This works the same way for both Business/Enterprise and non-Business/Enterprise accounts.