How to implement a webhook endpoint in Shopware?

I ended up using a simple controller. thank you!