You can do that using jsonpath checks and by saving the result to the session.
It is documented here in the http check and session pages.
This will look like this:
exec(
http("api 1")
.get("api1url")
.check(jsonPath("/my/json/field").saveAs("myValue"))
)
.exec(
http("api 2")
.get("api2url/${myValue}")
)