Skip to content

How do I get the hook_id? #670

Description

@robertherber

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: SupportAny questions, information, or general needs around the SDK or GitHub APIs

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions