4.9 KiB
title, intro, versions, topics
| title | intro | versions | topics | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Redelivering webhooks | To help recover from failed deliveries, you can redeliver webhook deliveries from the past 30 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 30 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" %} 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" %} 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 an organization has designated any app managers for a {% data variables.product.prodname_github_app %} owned by the organization, 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.user-settings.developer_settings %} {% data reusables.user-settings.github_apps %}
- 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 an organization has designated any app managers for a {% data variables.product.prodname_github_app %} owned by the organization, 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 ghae 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 %}