I have a bearer token in extract profile which dynamically changes for every 20 min, then again I have to use that bearer token in header to call another api to get data. can we do that? if so how?

I have a bearer token in extract profile which dynamically changes for every 20 min, then again I have to use that bearer token in header to call another api to get data.
can we do that? if so how?