101 lines
4.9 KiB
Markdown
101 lines
4.9 KiB
Markdown
---
|
|
title: Redelivering webhooks
|
|
shortTitle: Redeliver webhooks
|
|
intro: 'To help recover from failed deliveries, you can redeliver webhook deliveries from the past {% data variables.webhooks.retention %} days.'
|
|
versions:
|
|
fpt: '*'
|
|
ghes: '*'
|
|
ghec: '*'
|
|
topics:
|
|
- Webhooks
|
|
---
|
|
|
|
## 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](/rest/webhooks/repo-deliveries).
|
|
|
|
{% data reusables.repositories.navigate-to-repo %}
|
|
{% data reusables.repositories.sidebar-settings %}
|
|
1. 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 %}
|
|
1. Click the delivery GUID for the delivery that you want to redeliver.
|
|
1. 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](/rest/orgs/webhooks).
|
|
|
|
{% data reusables.organizations.navigate-to-org %}
|
|
{% data reusables.organizations.org_settings %}
|
|
1. 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 %}
|
|
1. Click the delivery GUID for the delivery that you want to redeliver.
|
|
1. 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](/rest/apps/webhooks).
|
|
|
|
{% data reusables.apps.settings-step %}
|
|
{% data reusables.apps.enterprise-apps-steps %}
|
|
1. Next to the {% data variables.product.prodname_github_app %} that you want to redeliver a webhook for, click **Edit**.
|
|
1. In the sidebar, click **Advanced**.
|
|
{% data reusables.webhooks.webhook_recent_deliveries_redeliver %}
|
|
1. 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.
|
|
|
|
1. Navigate to your [{% data variables.product.prodname_marketplace %} listing page](https://github.com/marketplace/manage).
|
|
1. Next to the {% data variables.product.prodname_marketplace %} listing for which you want to redeliver webhooks, click **Manage listing**.
|
|
1. In the sidebar, click **Webhook**.
|
|
{% data reusables.webhooks.webhook_recent_deliveries_redeliver %}
|
|
1. 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.
|
|
|
|
1. In the upper-right corner of any page, click your profile picture, then click **Your sponsors**.
|
|
1. Next to the account for which you want to redeliver webhooks, click **Dashboard**.
|
|
1. In the sidebar, click **Webhooks**.
|
|
{% data reusables.webhooks.webhook_url_list_redeliver %}
|
|
{% data reusables.webhooks.webhook_recent_deliveries_redeliver %}
|
|
1. 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 %}
|
|
1. Click **Redeliver**.
|
|
|
|
{% endif %}
|