send http command to iphone

HI... I use iPhone shortcuts to send http commands to my home automation system. I would like to know if it was possible to use them bidirectionally, in the sense that it is my home automation system that sends the http commands to the iPhone, and consequently with the quick commands I can create all the scenarios I want.

thank,luca.