WebHook Setup Examples
GitHub
GitLab
Bitbucket
Azure (Formerly known as Microsoft VSTS)
GitHub
- Open your Git repository and go to the Settings tab (if you do not see Settings, please get in touch with your admin).
- Click on the Webhooks menu item and then on Add Webhook.
- Fill in the following information on the webhook configuration page:
- Payload URL: The pull request webhook URL with the base URL of the org where Copado is installed and your API Key.
e.g. https://app-api.copado.com/json/v1/webhook/githook/event/pullrequest/provider/github/version/cloud?api_key=XXXXX (if you are using the cloud version).
e.g.https://app-api.copado.com/json/v1/webhook/githook/event/pullrequest/provider/github/version/[version number]?api_key=XXXXX (if you are using the on-premise version).Please note that if you are using the on-premise option and your provider moves to a new version, you will need to update the webhook with the new version number. - Content type: Select "application/json".
- Secret: Leave it empty.
- Which events would you like to trigger this webhook? Check the Let me select individual events checkbox:
- Then select the Pull request, Pull request review and Issue comment events (leave all other deselected):
- Leave the Active checkbox selected and then click on Add webhook:
- Payload URL: The pull request webhook URL with the base URL of the org where Copado is installed and your API Key.

GitLab
- Set up a new repository webhook on GitLab. To do so open the Settings menu of your repository and click on Webhooks.
- Fill in the following information on the Webhook Settings page:
- URL: The pull request webhook URL with your API key.
e.g. https://app-api.copado.com/json/v1/webhook/githook/event/pullrequest/provider/gitlab/version/cloud?api_key=XXXXX (if you are using the cloud version).
e.g.https://app-api.copado.com/json/v1/webhook/githook/event/pullrequest/provider/gitlab/version/[version number]?api_key=XXXXX (if you are using the on-premise version).Please note that if you are using the on-premise option, and your provider moves to a new version, you will need to update the webhook with the new version number. - Secret Token: Leave it empty.
- Trigger: Select here Comments and Merge Request events:
- URL: The pull request webhook URL with your API key.
- Once you are done, click on Add webhook:

Bitbucket
- Set up a new repository webhook on Bitbucket. To do so, head over to the page of your repository and go to Settings. Then, go to Webhooks and click on Add webhook.
- Fill in the following information on the webhook Settings page and click on Save to save the webhook:
- URL: The pull request webhook URL with your API key.
e.g. https://app-api.copado.com/json/v1/webhook/githook/event/pullrequest/provider/bitbucket/version/cloud?api_key=XXXXX (if you are using the cloud version).
e.g.https://app-api.copado.com/json/v1/webhook/githook/event/pullrequest/provider/bitbucket/version/[version number]?api_key=XXXXX (if you are using the on-premise version).Please note that if you are using the on-premise option, and your provider moves to a new version, you will need to update the webhook with the new version number. - Status: Active.
- Triggers: Select here Choose from a full list of triggers and select all the Pull Request events:
- URL: The pull request webhook URL with your API key.

Azure
- Set up a new service hook for the repository. To do so, head over to the page of your repository and click on Project Settings.
- Next, navigate to the Service Hooks tab and click on Create subscription.
- Select Web Hooks in the service configuration wizard and click on Next:
- Create subscriptions for all pull request triggers: Pull request created, Pull request updated, Pull requested commented on and Pull request merge attempted.
- Fill in the following information on each of the pull request subscriptions:
URL: The pull request webhook URL with your API key.
e.g. https://app-api.copado.com/json/v1/webhook/githook/event/pullrequest/provider/azure-devops/version/cloud?api_key=XXXXX (if you are using the cloud version).
e.g.https://app-api.copado.com/json/v1/webhook/githook/event/pullrequest/provider/azure-devops/version/[version number]?api_key=XXXXX (if you are using the on-premise version).Please note that if you are using the on-premise option, and your provider moves to a new version, you will need to update the webhook with the new version number.