I agree, a backend flow might be needed to trigger the api call, save the returned token and its duration, and reschedule.
Some APIs require these temporary tokens and it gets tedious…
Look for Bubble’s backend flows and enable it