When you create or delete a user or project, you might want to be notified, or you might have a backend system from which you want to receive notifications for this type of events. GitLab has support for this in the form of system hooks. In this recipe, we take a look at how you can set up system hooks for your GitLab instance.
The following events can trigger a system webhook call:
New team member
The team member is removed
A user is created
The user is removed
Log in to GitLab as an administrator.
Go to the Admin area section.
Click on Hooks.
As we want to have a place to test the webhook without having to create a lot of software for it, we are going to use a service called
RequestBin. Go to http://requestb.in and click on Create a RequestBin.
When you click on Add System Hook, the hook will...