I just linked to the documentation
Heres a server example that covers recieveing webhook events and handling it’s callback/setup event
https://github.com/BarryCarlyon/twitch_misc/tree/master/webhooks/handlers/js
Doesn’t do the initial POST request(s) to make/manage subscriptions