If you look in the headers of the request you can parse the “link” header:
Something like (from my log)
"link":"<https://api.twitch.tv/helix/webhooks/hub>; rel=\"hub\", <https://api.twitch.tv/helix/users/follows?to_id=TWITCHOD>; rel=\"self\"
So you can parse that out.
Personally I’m using NodeJS and Express Param routing.