add routing to call webhooks
fix hook url generation, fix click button bugs
make param passing in api consistent