Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 935 Bytes

pingWebhook.md

File metadata and controls

44 lines (34 loc) · 935 Bytes
name example route scope type
Ping an organization webhook
octokit.rest.orgs.pingWebhook({ org, hook_id })
POST /orgs/{org}/hooks/{hook_id}/pings
orgs
API method

Ping an organization webhook

This will trigger a ping event to be sent to the hook.

octokit.rest.orgs.pingWebhook({
  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.