Skip to main content

This version of GitHub Enterprise Server was discontinued on 2024-01-04. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Redelivering webhooks

To help recover from failed deliveries, you can redeliver webhook deliveries from the past 7 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 7 days. GitHub 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 GitHub web interface or the REST API to redeliver webhooks for a repository. For more information about using the REST API to redeliver webhooks, see "Repository webhooks."

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.

  2. Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of a repository header showing the tabs. The "Settings" tab is highlighted by a dark orange outline.

  3. In the "Code and automation" section of the sidebar, click Webhooks.

  4. In the list of webhooks, click the URL of the webhook you'd like to redeliver. If you do not have a webhook configured, no webhooks will be listed.

    Screenshot of a list of webhooks. The URL link to view a webhook is highlighted with an orange outline.

  5. Click Recent deliveries. All deliveries from the past 7 days will be listed. If this webhook has not been delivered within the past 7 days, no deliveries will be listed.

  6. Click the delivery GUID for the delivery that you want to redeliver.

  7. Click Redeliver.

Redelivering organization webhooks

Only organization owners can redeliver webhooks in that organization.

You can use the GitHub web interface or the REST API to redeliver webhooks for an organization. For more information about using the REST API to redeliver webhooks, see "Organization webhooks."

  1. On your GitHub Enterprise Server instance, navigate to the main page of the organization.

  2. Under your organization name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of the tabs in an organization's profile. The "Settings" tab is outlined in dark orange.

  3. In the "Code and automation" section of the sidebar, click Webhooks.

  4. In the list of webhooks, click the URL of the webhook you'd like to redeliver. If you do not have a webhook configured, no webhooks will be listed.

    Screenshot of a list of webhooks. The URL link to view a webhook is highlighted with an orange outline.

  5. Click Recent deliveries. All deliveries from the past 7 days will be listed. If this webhook has not been delivered within the past 7 days, no deliveries will be listed.

  6. Click the delivery GUID for the delivery that you want to redeliver.

  7. Click Redeliver.

Redelivering GitHub App webhooks

The owner of a GitHub App can redeliver webhooks for the app. If an organization has designated any app managers for a GitHub App owned by the organization, the app managers can also redeliver webhooks.

You can use the GitHub web interface or the REST API to redeliver webhooks for a GitHub App. For more information about using the REST API redeliver, see "GitHub App webhooks."

  1. In the upper-right corner of any page on GitHub, click your profile photo.

  2. Navigate to your account settings.

    • For a GitHub App owned by a personal account, click Settings.
    • For a GitHub App owned by an organization:
      1. Click Your organizations.
      2. To the right of the organization, click Settings.
  3. In the left sidebar, click Developer settings.

  4. In the left sidebar, click GitHub Apps.

  5. Next to the GitHub App that you want to redeliver a webhook for, click Edit.

  6. In the sidebar, click Advanced.

  7. Under "Recent deliveries", all deliveries from the past 7 days will be listed. If this webhook has not been delivered within the past 7 days, no deliveries will be listed. If webhooks are not active, the "Recent Deliveries" section will not be present.

    Click the delivery GUID for the delivery that you want to redeliver.

    Screenshot of the "Recent deliveries" list for a webhook. A delivery GUID in the list of deliveries is highlighted with an orange outline.

  8. Click Redeliver.

Redelivering global webhooks

Only enterprise owners can redeliver webhooks in that enterprise.

  1. In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings.

    Screenshot of the drop-down menu that appears when you click the profile photo on GitHub Enterprise Server. The "Enterprise settings" option is highlighted in a dark orange outline.

  2. In the enterprise account sidebar, click Settings.

  3. Under " Settings", click Hooks.

  4. In the list of webhooks, click the URL of the webhook you'd like to redeliver. If you do not have a webhook configured, no webhooks will be listed.

    Screenshot of a list of webhooks. The URL link to view a webhook is highlighted with an orange outline.

  5. Under "Recent deliveries", all deliveries from the past 7 days will be listed. If this webhook has not been delivered within the past 7 days, no deliveries will be listed. If webhooks are not active, the "Recent Deliveries" section will not be present.

    Click the delivery GUID for the delivery that you want to redeliver.

    Screenshot of the "Recent deliveries" list for a webhook. A delivery GUID in the list of deliveries is highlighted with an orange outline.

  6. Click Redeliver.