Sample - GitHub REST API
POST/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts

Redeliver an organization webhook delivery

Triggers a redelivery attempt for a specific delivery made by an organization webhook. Use org, hook_id, and delivery_id to identify the organization webhook delivery to send again. The redelivery is processed asynchronously, so a 202 response confirms acceptance rather than completion.

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

3 parameters
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 redeliver.

3 status codes
202Confirms that the webhook delivery redelivery attempt was accepted for processing and returns an object representing the queued operation.
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 delivery to redeliver.