Skip to main content

I have problem about Access Token, I am trying to use Box API to upload file to box drive from other web, the problem is  access tokens expire after 60min. And my app was built for normal User who don’t know how to get Access Token.

Is there a work around about it ? Or is there anyway I can make that process to be automatic ?! 

My company have box drive Account paid version, Can that give me unexpired token !?

Box API access tokens expire after 60 minutes. To manage this, use refresh tokens to obtain new access tokens periodically. Store refresh tokens securely and implement a mechanism to automatically refresh access tokens before they expire. Consider using a server-side approach for improved security and user experience. If your company has a Box Enterprise account, explore options like admin-managed tokens or the Enterprise API for advanced token management.


Box API access tokens expire after 60 minutes. To manage this, use refresh tokens to obtain new access tokens periodically. Store refresh tokens securely and implement a mechanism to automatically refresh access tokens before they expire. Consider using a server-side approach for improved security and user experience. If your company has a Box Enterprise account, explore options like admin-managed tokens or the Enterprise API for advanced token management.

Thank you, I will try that


Reply