API and mobile testing

Hi, I have a mobile application that uses API to send and receive info. In order to set some values for my test init I need to ‘‘sniff’’ the answer I get from the API in the app… is there a way to do this?