Creating a webhoook endpoint on your server is no different from creating any page on your website. With PHP, you might create a new .php file on your server; with a framework like Sinatra, you would add a new route with the desired URL.
You can add webhook subcription on your HIPS Dashboard or specify a specific webhook url for each request (for multitenancy).