GET
/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}Get an organization webhook delivery
Retrieves a specific delivery made by an organization webhook. Use org, hook_id, and delivery_id to identify the organization webhook and delivery whose event, status, request, and response details you need. You must be an organization owner and have permission to view the webhook.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
orgstringrequired
The organization name; matching is not case sensitive.
hook_idintegerrequired
The unique identifier of the webhook, available from the `X-GitHub-Hook-ID` header of a webhook delivery.
delivery_idintegerrequired
The unique identifier of the webhook delivery to retrieve.
200Returns a webhook delivery object containing identifiers, delivery timing, redelivery state, event and action details, status information, associated installation and repository identifiers, and the request and response payloads.
idintegerrequired
Unique identifier of the delivery.
guidstringrequired
Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).
delivered_atstringrequired
Time when the delivery was delivered.
redeliverybooleanrequired
Whether the delivery is a redelivery.
durationnumberrequired
Time spent delivering.
statusstringrequired
Description of the status of the attempted 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.
urlstringoptional
The URL target of the delivery.
requestobjectrequired
responseobjectrequired
400Returned when the request is invalid or does not identify a valid organization webhook delivery.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
422Returned when validation fails or the endpoint has been spammed.
messagestringrequired
documentation_urlstringrequired
errorsarray<object>optional
Error handling
A 400 is returned when the request does not identify a valid organization webhook delivery. A 422 is returned when validation fails or the endpoint has been spammed. The org, hook_id, and delivery_id values must identify the requested webhook delivery.