Skip to content

How do I get the hook_id? #670

Open
Open
@robertherber

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    Status

    🔥 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions