save your api1 data in variables and use that logic in api2 data testscripts. as mentioned by @jerry-li in 1st point.