Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com> Co-authored-by: isaacmbrown <isaacmbrown@github.com>
4.9 KiB
title, shortTitle, intro, versions, topics
| title | shortTitle | intro | versions | topics | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Redelivering webhooks | Redeliver webhooks | To help recover from failed deliveries, you can redeliver webhook deliveries from the past {% data variables.webhooks.retention %} days. |
|
|
About redelivering webhooks
You may want to redeliver a webhook to help you test your application or to recover from server downtime. You can redeliver webhook deliveries that occurred in the past {% data variables.webhooks.retention %} days. {% data variables.product.company_short %} does not automatically redeliver failed deliveries.
Redelivering repository webhooks
Only people with admin access to a repository can redeliver webhooks in that repository.
You can use the {% data variables.product.company_short %} web interface or the REST API to redeliver webhooks for a repository. For more information about using the REST API to redeliver webhooks, see AUTOTITLE.
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %}
- In the "Code and automation" section of the sidebar, click {% octicon "webhook" aria-hidden="true" aria-label="webhook" %} Webhooks. {% data reusables.webhooks.webhook_url_list_redeliver %} {% data reusables.webhooks.webhook_recent_deliveries_tab %}
- Click the delivery GUID for the delivery that you want to redeliver.
- Click Redeliver.
Redelivering organization webhooks
Only organization owners can redeliver webhooks in that organization.
You can use the {% data variables.product.company_short %} web interface or the REST API to redeliver webhooks for an organization. For more information about using the REST API to redeliver webhooks, see AUTOTITLE.
{% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %}
- In the "Code and automation" section of the sidebar, click {% octicon "webhook" aria-hidden="true" aria-label="webhook" %} Webhooks. {% data reusables.webhooks.webhook_url_list_redeliver %} {% data reusables.webhooks.webhook_recent_deliveries_tab %}
- Click the delivery GUID for the delivery that you want to redeliver.
- Click Redeliver.
Redelivering {% data variables.product.prodname_github_app %} webhooks
The owner of a {% data variables.product.prodname_github_app %} can redeliver webhooks for the app. If the app owner has designated any app managers for a {% data variables.product.prodname_github_app %}, the app managers can also redeliver webhooks.
You can use the {% data variables.product.company_short %} web interface or the REST API to redeliver webhooks for a {% data variables.product.prodname_github_app %}. For more information about using the REST API redeliver, see AUTOTITLE.
{% data reusables.apps.settings-step %} {% data reusables.apps.enterprise-apps-steps %}
- Next to the {% data variables.product.prodname_github_app %} that you want to redeliver a webhook for, click Edit.
- In the sidebar, click Advanced. {% data reusables.webhooks.webhook_recent_deliveries_redeliver %}
- Click Redeliver.
{% ifversion fpt or ghec %}
Redelivering {% data variables.product.prodname_marketplace %} webhooks
The owner of a {% data variables.product.prodname_github_app %} can redeliver {% data variables.product.prodname_marketplace %} webhooks for that app. If the app owner has designated any app managers for a {% data variables.product.prodname_github_app %}, the app managers can also redeliver webhooks.
- Navigate to your {% data variables.product.prodname_marketplace %} listing page.
- Next to the {% data variables.product.prodname_marketplace %} listing for which you want to redeliver webhooks, click Manage listing.
- In the sidebar, click Webhook. {% data reusables.webhooks.webhook_recent_deliveries_redeliver %}
- Click Redeliver.
{% endif %}
{% ifversion fpt or ghec %}
Redelivering {% data variables.product.prodname_sponsors %} webhooks
Only the owner of the sponsored account can redeliver sponsorship webhooks for that account.
- In the upper-right corner of any page, click your profile photo, then click Your sponsors.
- Next to the account for which you want to redeliver webhooks, click Dashboard.
- In the sidebar, click Webhooks. {% data reusables.webhooks.webhook_url_list_redeliver %} {% data reusables.webhooks.webhook_recent_deliveries_redeliver %}
- Click Redeliver.
{% endif %}
{% ifversion ghes or ghec %}
Redelivering global webhooks
Only enterprise owners can redeliver webhooks in that enterprise.
{% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} {% data reusables.enterprise-accounts.hooks-tab %} {% data reusables.webhooks.webhook_url_list_redeliver %} {% data reusables.webhooks.webhook_recent_deliveries_redeliver %}
- Click Redeliver.
{% endif %}