Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.02 KB

getWebhook.md

File metadata and controls

44 lines (34 loc) · 1.02 KB
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

Get an organization webhook

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,
});

Parameters

name required description
orgyes

The organization name. The name is not case sensitive.

hook_idyes

The unique identifier of the hook. You can find this value in the X-GitHub-Hook-ID header of a webhook delivery.

See also: GitHub Developer Guide documentation.