Hello
You can pass the response from one api to another, as @Stefan says, you can wrap them into a server action and use it either you can call them separately in data action you need to, you can retrieve the token and send to another (make sure another one is set to only on demand otherwise it will show error message)
I have created a Oml to explain this to you,
I have set my both the Api data actions fetch property to on only on demand, then, I have saved my Api configuration data to Site Properties,
Now I have called my Token Data action( this will return Bearer token) on a button click so it will return a token,
then I show a message that token is generated, So now I got a token In my Output variable of data action,
Now passing that output parameter to my another data action input parameter which is a "Auth header"
Check sample
Hope this helps
Thanks