How long does an access token last?
Owner, AdminLast checked 24 November 20261 min readArticle ID:
developers-token-lifetimeOn this page
One hour. Cache it, and ask for a new one shortly before it expires or when a call answers 401.
One hour. The token response says "expires_in": 3600.
Cache the token and reuse it until shortly before it expires: there's no refresh token, so ask for a new one the same way as the first. Don't fetch one per request, because the token endpoint is rate limited.
A token can stop earlier: revoking or suspending the app deletes its tokens. Its scopes are fixed when it's issued, so request a new token to pick up a scope you've added. On a 401, get a fresh token and retry once.