Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.73 KB

listWebhookDeliveries.md

File metadata and controls

62 lines (45 loc) · 1.73 KB
name example route scope type
List deliveries for an organization webhook
octokit.rest.orgs.listWebhookDeliveries({ org, hook_id })
GET /orgs/{org}/hooks/{hook_id}/deliveries
orgs
API method

List deliveries for an organization webhook

Returns a list of webhook deliveries for a webhook configured in an organization.

You must be an organization owner to use this endpoint.

OAuth app tokens and personal access tokens (classic) need admin:org_hook scope. OAuth apps cannot list, view, or edit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.

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

per_pageno

The number of results per page (max 100). For more information, see "Using pagination in the REST API."

cursorno

Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the link header for the next and previous page cursors.

redeliveryno

See also: GitHub Developer Guide documentation.