👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.
Article version: Enterprise Server 2.21

Managing global webhooks

Site administrators can view, add, edit, and delete global webhooks to track events at the instance level.

In this article

Were you able to find what you were looking for?

You can also use the GitHub Enterprise Server API to manage global webhooks. For a complete list of actions, see "Global webhooks."

Adding a global webhook

  1. In the upper-right corner of any page, click .

    Rocketship icon for accessing site admin settings

  2. In the left sidebar, click Enterprise.

    Enterprise tab in the Site admin settings

  3. In the enterprise account sidebar, click Settings.

    Settings tab in the enterprise account sidebar

  4. Under " Settings", click Hooks.

    Hooks tab in the enterprise account settings sidebar

  5. Click Add webhook.

    Add webhook button on Webhooks page in Admin center

  6. Type the URL where you'd like to receive payloads.

    Field to type a payload URL

  7. Optionally, use the Content type drop-down menu, and click a payload format.

    Drop-down menu listing content type options

  8. Optionally, in the Secret field, type a string to use as a secret key.

    Field to type a string to use as a secret key

  9. Optionally, if you would not like GitHub Enterprise Server to verify SSL certificates when delivering payloads, click Disable SSL verification. Read the information about SSL verification, then click I understand my webhooks may not be secure.

    Button for disabling SSL verification

    Warning: SSL verification helps ensure that hook payloads are delivered securely. We do not recommend disabling SSL verification.

  10. Decide if you'd like this webhook to trigger for every event or for selected events:

    Radio buttons with options to receive payloads for every event or selected events

    • For every event, select Send me everything.
    • To choose specific events, select Let me select individual events.
  11. If you chose to select individual events, select whether to trigger this webhook for organization or user activity.

    Checkboxes for organization and user events

  12. Confirm that the Active checkbox is selected (it is selected by default).

    Selected Active checkbox

  13. Click Add webhook.

Editing a global webhook

  1. In the upper-right corner of any page, click .
    Rocketship icon for accessing site admin settings
  2. In the left sidebar, click Enterprise.
    Enterprise tab in the Site admin settings
  3. In the enterprise account sidebar, click Settings.
    Settings tab in the enterprise account sidebar
  4. Under " Settings", click Hooks.
    Hooks tab in the enterprise account settings sidebar
  5. Next to the webhook you'd like to edit, click Edit.
    Edit button next to a webhook
  6. Update the webhook's settings.
  7. Click Update webhook.

Deleting a global webhook

  1. In the upper-right corner of any page, click .
    Rocketship icon for accessing site admin settings
  2. In the left sidebar, click Enterprise.
    Enterprise tab in the Site admin settings
  3. In the enterprise account sidebar, click Settings.
    Settings tab in the enterprise account sidebar
  4. Under " Settings", click Hooks.
    Hooks tab in the enterprise account settings sidebar
  5. Next to the webhook you'd like to delete, click Delete.
    Delete button next to a webhook
  6. Read the information about deleting a webhook, then click Yes, delete webhook.
    Pop-up box with warning information and button to confirm deleting the webhook

Viewing recent deliveries and responses

  1. In the upper-right corner of any page, click .
    Rocketship icon for accessing site admin settings
  2. In the left sidebar, click Enterprise.
    Enterprise tab in the Site admin settings
  3. In the enterprise account sidebar, click Settings.
    Settings tab in the enterprise account sidebar
  4. Under " Settings", click Hooks.
    Hooks tab in the enterprise account settings sidebar
  5. In the list of webhooks, click the webhook for which you'd like to see deliveries.
    List of webhooks with links to view each webhook
  6. Under "Recent deliveries", click a delivery to view details.
    List of the webhook's recent deliveries with links to view details

Were you able to find what you were looking for?

Ask a human

Can't find what you're looking for?

Contact us