Listening for Messages from API
Check the console for incoming messages from the API.