Use Nabu Casa URL to use HA API?

Webhooks are made for this scenario!

Also see this discussion: