POST
/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attemptsRedeliver a delivery for an organization webhook
Triggers a redelivery attempt for a delivery made by a webhook configured in an organization. Use hook_id and delivery_id to identify the webhook and delivery to redeliver. You must be an organization owner, and OAuth app tokens and personal access tokens (classic) need the admin:org_hook scope.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
orgstringrequired
The organization name; it is not case-sensitive.
hook_idintegerrequired
The unique identifier of the webhook. You can find it in the `X-GitHub-Hook-ID` header of a webhook delivery.
delivery_idintegerrequired
The unique identifier of the delivery to redeliver.
202Returns an empty object to acknowledge that the redelivery attempt was accepted.
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, and a 422 is returned when validation fails or the endpoint has been spammed. The org path parameter is case-insensitive; the hook_id and delivery_id path parameters must be integers. You must be an organization owner, and OAuth app tokens and personal access tokens (classic) need the admin:org_hook scope.