create_webhook
Set up automated notifications for repository events in Bitbucket by configuring webhooks to send data to specified URLs when actions like pushes or pull requests occur.
Instructions
Create a webhook for a repository.
Args: repo_slug: Repository slug (name) url: The URL to receive webhook events events: List of events to subscribe to (e.g., ["repo:push", "pullrequest:created"]) description: Webhook description (optional) active: Whether the webhook is active (default: True) workspace: Bitbucket workspace (optional if configured)
Returns: Created webhook details or error message
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| url | Yes | ||
| events | Yes | ||
| description | No | ||
| active | No | ||
| workspace | No |