webhooks.js icon indicating copy to clipboard operation
webhooks.js copied to clipboard

How do I get the hook_id?

Open robertherber opened this issue 3 years ago • 0 comments

I'm really missing a way to see which hook_id triggered a webhook request. Not sure if this is a question regarding @octokit/webhooks or how Github webhooks work in general (didn't find any hook id in those docs either). The id on the request is unique for the request as far as I can tell, and apart from the ping request I can't seem to find the hook_id in the request body?

I'm building an app where multiple parties could potentially listen to the same repositories, and I wan't to ensure that I only update the data for the party in question.

robertherber avatar Feb 11 '22 11:02 robertherber