Contract Testing: Create Webhook
contract-testing_create_webhookSet up a webhook to receive HTTP notifications for contract lifecycle events, with optional filtering by consumer or provider.
Instructions
Create a new webhook to trigger on contract events.
Toolset: Webhooks
Parameters:
description (string) required: Human-readable description of the webhook
events (array) required: Events that trigger this webhook
request (object) required: HTTP request to send when triggered
consumer (object): Restrict to a specific consumer (omit for all)
provider (object): Restrict to a specific provider (omit for all)
enabled (boolean): Whether the webhook is enabled (default: true)
teamUuid (string): UUID of the owning team (null for global)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | Events that trigger this webhook | |
| enabled | No | Whether the webhook is enabled | |
| request | Yes | HTTP request to send when triggered | |
| consumer | No | Restrict to a specific consumer (omit for all) | |
| provider | No | Restrict to a specific provider (omit for all) | |
| teamUuid | No | UUID of the owning team (null for global) | |
| description | Yes | Human-readable description of the webhook |