Same as other Git repositories, like Github or Gitlab, Bitbucket allows you to create webhooks for simplified application management. Bitbucket allows you to create up to 50 webhooks for different actions to make code push easier.
So, let's check these triggers and learn how to add Bitbucket webhooks.
To create webhooks in Bitbucket:
1. Navigate to your Bitbucket account and choose the repository you want to create a Bitbucket webhook for.
2. Go to the Repository Settings.
3. Find the Webhooks tab and press the Add Webhook button.
4. Set the webhook Title and enter the URL where the webhook requests will be sent to.
5. Check the Active option if you want the webhook to be active after you save it.
6. Check the Skip certificate verification option if you use self-signed certification and don't need to verify it.
7. Select the Triggers Bitbucket webhooks to be triggered by.
Once you finished setting up Bitbucket webhooks, don't forget to Save it. Besides, to have more control over the access to your webhook, you can configure the allowlist for Bitbucket IPs.