Represents a Bitbucket Data Center webhook.

interface BitbucketWebhook {
    active: boolean;
    configuration?: Record<string, unknown>;
    createdDate?: number;
    events: string[];
    id: number;
    name: string;
    scopeType: WebhookScopeType;
    sslVerificationRequired: boolean;
    statistics?: BitbucketWebhookStatistics;
    updatedDate?: number;
    url: string;
}

Properties

active: boolean

Whether the webhook is currently active

configuration?: Record<string, unknown>

Optional webhook configuration (e.g. secret)

createdDate?: number
events: string[]

List of events this webhook subscribes to

id: number

Unique numeric ID

name: string

Display name of the webhook

scopeType: WebhookScopeType

Whether the scope is a project or a repository

sslVerificationRequired: boolean

Whether SSL certificate verification is required on delivery

Delivery statistics for this webhook

updatedDate?: number
url: string

Target URL that receives the event payload