GET
/orgs/{org}/hooks/{hook_id}/deliveriesList 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.
orgstringrequired
The organization name. The name is not case sensitive.
hook_idintegerrequired
The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.
per_pageintegeroptional
The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
cursorstringoptional
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.
statusstringoptional
Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries with a `status_code` in the 200-399 range (inclusive). A `status` of `failure` returns deliveries with a `status_code` in the 400-599 range (inclusive).
200Response
idintegerrequired
Unique identifier of the webhook delivery.
guidstringrequired
Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).
delivered_atstringrequired
Time when the webhook delivery occurred.
redeliverybooleanrequired
Whether the webhook delivery is a redelivery.
durationnumberrequired
Time spent delivering.
statusstringrequired
Describes the response returned after attempting the delivery.
status_codeintegerrequired
Status code received when delivery was made.
eventstringrequired
The event that triggered the delivery.
actionstringrequired
The type of activity for the event that triggered the delivery.
installation_idintegerrequired
The id of the GitHub App installation associated with this event.
repository_idintegerrequired
The id of the repository associated with this event.
throttled_atstringoptional
Time when the webhook delivery was throttled.
400Bad Request
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
422Validation failed, or the endpoint has been spammed.
messagestringrequired
documentation_urlstringrequired
errorsarray<object>optional
Error handling
A 400 is returned: Bad Request. A 422 is returned: Validation failed, or the endpoint has been spammed.