Configure a webhook in Visual Studio GIT Enterprise

A. Create a Webhook API Token from ARM

  1. Log in to ARM.

  2. Navigate to Admin Section > API Token.

  3. Click Create API Token.

API Token creation screen in ARM
  1. Enter a Token Name.

  2. Select Type as webhook.

  3. (Optional) Enter a Description.

  4. Click Create Option.

ARM webhook API token created confirmation screen
  1. Your webhook API token is now created.


B. Create a Webhook with Authentication on Visual Studio Git

  1. Log in to your Microsoft Visual Studio Git account.

  2. Navigate to the project’s Service Hooks page: https://{orgName}/{projectname}/settings/serviceHooks

Service Hooks tab in Visual Studio Git settings
  1. Click Create Subscription.

  2. The wizard will list all services available for integration.

Integration services selection wizard
  1. Click Next to view a list of trigger events. Select a trigger and set filters as needed.

List of webhook trigger events in Visual Studio Git
Filter configuration options for webhook events
  1. Enter the Payload URL, which is the endpoint to receive webhook POST requests. Use the URL format:

Example: https://login.autorabit.com/api/webhook/v2/autorabit.com/trigger-scm-push-request

  1. Configure Basic Authentication:

  • Username: Your AutoRABIT login username

  • Password: Webhook API Token from ARM

Authentication setup for webhook in Visual Studio Git
  1. Re-enter your AutoRABIT username and API token to authenticate.

Note: If you wish to trigger events such as Pull Request or Pull Request Updated, use the same URL and credentials as configured above.

  1. Confirm your settings, test the subscription, and finish the wizard.

Service hook test and confirmation screen
  1. Click Finish. The new webhook will be listed under Service Hooks.

List of active service hooks in Visual Studio Git
  1. After a build is triggered via webhook and completes successfully, refresh the tab to verify success. Use the webhook history to review trigger events and results.


Smart Commits

Define a pattern to associate commits with ALM stories. Example:

Smart commit pattern configuration screen

To configure a webhook in your repository:


For Enterprise Customers

Use the following endpoints for enterprise environments: /api/webhook/v2//enterprise/trigger-scm-push-request /api/webhook/v2//enterprise/sync-alm-commits

Last updated

Was this helpful?