Sample - GitHub REST API
GET/app/hook/deliveries/{delivery_id}

Get a GitHub App webhook delivery

Retrieves a delivery made by a webhook configured for a GitHub App. Use delivery_id to identify the delivery and inspect its event, delivery status, request, and response details.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
delivery_idintegerrequired
The integer identifier of the webhook delivery to retrieve.

3 status codes
200Returns the webhook delivery, including its identifiers, timestamps, redelivery state, duration, status, event details, associated installation and repository identifiers, request, and response.
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 malformed or `delivery_id` 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 malformed or delivery_id is invalid. A 422 is returned when validation fails or the endpoint has been spammed; authenticate with a JWT and provide the intended integer delivery_id.