name | example | route | scope | type |
---|---|---|---|---|
Get an organization webhook |
octokit.rest.orgs.getWebhook({ org, hook_id }) |
GET /orgs/{org}/hooks/{hook_id} |
orgs |
API method |
Returns a webhook configured in an organization. To get only the webhook config
properties, see "Get a webhook configuration for an organization."
octokit.rest.orgs.getWebhook({
org,
hook_id,
});
name | required | description |
---|---|---|
org | yes |
The organization name. The name is not case sensitive. |
hook_id | yes |
The unique identifier of the hook. You can find this value in the |
See also: GitHub Developer Guide documentation.