GET
/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}Get a repository webhook delivery
Retrieves a specific delivery made by a webhook configured for a repository. Provide owner, repo, hook_id, and delivery_id to identify the repository, webhook, and delivery record. The response includes delivery metadata together with the request and response details.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
ownerstringrequired
The account owner of the repository; the name is not case sensitive.
repostringrequired
The repository name without the `.git` extension; the name is not case sensitive.
hook_idintegerrequired
The unique identifier of the webhook, available in the `X-GitHub-Hook-ID` header of a webhook delivery.
delivery_idintegerrequired
The unique identifier of the webhook delivery to retrieve.
200Returns the webhook delivery, including its identifier, event and action, delivery timestamp, redelivery status, duration, status code, installation and repository identifiers, request details, and response details.
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.
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 is invalid. A 422 is returned when validation fails or the endpoint has been spammed. owner, repo, hook_id, and delivery_id must identify the requested repository webhook delivery.