Configure a Webhook in Visual Studio GIT

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.

Webhook API token details input screen in ARM
  1. Your webhook API token is now created.


B. Create a Webhook with Authentication in Visual Studio Git

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

  2. Navigate to the project’s Service Hooks page:

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

  2. The wizard will display a list of available services for integration.

Integration service selection wizard in Visual Studio Git
  1. Click Next to select an event trigger and optionally configure filters.

Trigger events configuration screen
Additional filters screen for webhook trigger events
  1. Enter the Payload URL to which webhook POST requests will be sent. Use the format:

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

  1. Configure Basic Authentication:

  • Username: Your ARM login username

  • Password: Webhook API Token generated from ARM

Basic authentication fields in webhook configuration screen
  1. Re-enter your AutoRABIT username and webhook token to complete authentication.

Note: For events like Pull Request Created or Pull Request Updated, use the same URL and credentials.

  1. Review the configuration, test the subscription, and complete the setup.

Test and confirm webhook subscription setup
  1. Click Finish. The webhook will now appear in the Service Hooks tab.

Service Hooks tab showing configured webhook in Visual Studio Git
  1. Once triggered, verify webhook success from the service hook tab. You can also view webhook history to see trigger count and outcomes.


Smart Commits

Use custom commit message patterns to link commits to ALM stories. Example:

Smart commit configuration in Visual Studio Git

To reveal the webhook configuration URL:

  • Enable the auto update on webhook checkbox.

For additional help, refer to:


For Enterprise Customers

Use these endpoints for enterprise configuration: /api/webhook/v2//enterprise/trigger-scm-push-request /api/webhook/v2//enterprise/sync-alm-commits

Last updated

Was this helpful?