post https://api.sunlightapi.com/api/extend_token_expiration
The Extend Token Expiration API is designed to extend the validity of an existing session token. To extend a session token, you must provide a valid user_external_id
and the access_token
you wish to extend. The response includes the extended session token's new expiration date (expired_at
). This allows you to extend the session token's lifespan by an additional 3 hours, which is particularly useful in scenarios where a session is nearing its expiration but is still required for ongoing operations. By effectively managing session durations, you ensure that tokens remain valid for the necessary duration of the user's interaction.