Push commands to Unity from an external source?

Hi everyone, I am new to Unity development, and am trying to figure out if there is a way I can expose an endpoint API inside a Unity application so that an external (cloud based) process can push information to it. The idea here being that I would like to be able to run some processes outside of the app, while still being able to affect the app with the result of the processes. I see a lot of information about how to call out of an application, which would obviously allow for pull notifications, but Ideally I would like to get this to work with push notifications so that external processes can affect the app in real time.

like the “twitch plays” integration?

I am not familiar with the “twitch plays” integration. It looks like it has been deprecated, so I am not sure exactly what it did.

Take a look at any network API for Unity.

Thanks, this looks like exactly what I am looking for