Webhook registration and management.

Constructors

Methods

Constructors

Methods

  • Registers a new webhook for shard events.

    Parameters

    • url: string

      Webhook delivery URL.

    • events: string[]

      Array of event types to subscribe to.

    • Optionalsecret: string

      Optional shared secret for webhook signature verification.

    Returns Promise<ShardWebhookRegisterResponse>

    The created webhook entry and its generated secret.