Credentials lasting over 60 minutes
AnsweredHello to you all
I am new to box.com and its REST APIs. I made my first successful API calls.
I would like to know whether there is any way to get API credentials (tokens or else) lasting more than 60 minutes. (Something with the service account maybe ?)
Thank you for your attention.
Kind regards,
Pierre
-
Hello Pierre,
Welcome to Box and congratulations on your first API calls!
For security reasons we do not allow tokens that last more than 60 minutes. You will need to implement token handling to request a new token at around 50 minutes. Our SDKs all have this logic implemented already if you see a language you'd like to use.
Best,
Kourtney, Box Developer Advocate
Please sign in to leave a comment.
Comments
1 comment