I shared where I call my API, it is in my third screenshot where I set the text of the popup as the result of my API call, is this not what you are asking?