Rewrite webhook