How to hit api in output template card content and get response?



Hi, I have created an API that i want to hit in place of content in the card of output template.

My use case is, when I say “Alexa, send me the recipe”, then instead of showing the recipe from the content of the card, it will hit an API, which I will use to open in the browser.

It will be real help.
Thank you


You can call an API in an output class: