Load test only the second API , after getting data from first API

You can look in solution in below topic, there you have this kind of request what you need.
https://community.gatling.io/t/token-refresh-java-example/7935