About global webhooks
You can use global webhooks to automatically monitor, respond to, or enforce rules for user and organization management on your instance. For example, you can configure your webhooks to execute whenever:
- A user account is created or deleted
- An organization is created or deleted
- A collaborator is added to or removed from a repository
- A repository is forked
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
-
In the upper-right corner of any page, click .
-
In the left sidebar, click Enterprise.
-
In the enterprise account sidebar, click Settings.
-
Under " Settings", click Hooks.
-
Click Add webhook.
-
Type the URL where you'd like to receive payloads.
-
Optionally, use the Content type drop-down menu, and click a payload format.
-
Optionally, in the Secret field, type a string to use as a
secret
key. -
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.
Warning: SSL verification helps ensure that hook payloads are delivered securely. We do not recommend disabling SSL verification.
-
Decide if you'd like this webhook to trigger for every event or for selected events:
- For every event, select Send me everything.
- To choose specific events, select Let me select individual events.
-
If you chose to select individual events, select whether to trigger this webhook for organization or user activity.
-
Confirm that the Active checkbox is selected (it is selected by default).
-
Click Add webhook.
Editing a global webhook
- In the upper-right corner of any page, click .
- In the left sidebar, click Enterprise.
- In the enterprise account sidebar, click Settings.
- Under " Settings", click Hooks.
- Next to the webhook you'd like to edit, click Edit.
- Update the webhook's settings.
- Click Update webhook.
Deleting a global webhook
- In the upper-right corner of any page, click .
- In the left sidebar, click Enterprise.
- In the enterprise account sidebar, click Settings.
- Under " Settings", click Hooks.
- Next to the webhook you'd like to delete, click Delete.
- Read the information about deleting a webhook, then click Yes, delete webhook.
Viewing recent deliveries and responses
- In the upper-right corner of any page, click .
- In the left sidebar, click Enterprise.
- In the enterprise account sidebar, click Settings.
- Under " Settings", click Hooks.
- In the list of webhooks, click the webhook for which you'd like to see deliveries.
- Under "Recent deliveries", click a delivery to view details.