Creating webhooks in repositories which do not belong to a given user


Hello, I’d like to know if it’s possible (or scheduled) to create webhooks to repositories a given user does not own (e.g., public repositories)?

By doing some tests on your API this doesn’t seem possible and this SO post seems to corroborate that.



Hey @sashaafm, in order to initiate a subscription to any repository event you need to be an admin on that repository. I suggest reaching out to the owner of the org that the repository belongs to if you have a great idea that requires a webhook to be placed on the repo.

Hope this helped!