TypeScript SDKFeature Clients

Webhooks Client

Client for managing incoming webhooks in Hatchet.

Webhooks allow external systems to trigger Hatchet workflows by sending HTTP requests to dedicated endpoints. This enables real-time integration with third-party services like GitHub, Stripe, Slack, or any system that can send webhook events.

Methods

create()

Creates a new webhook.

Parameters

ParameterTypeDescription
requestCreateWebhookOptionsThe request options for the create operation.

Returns

Promise<V1Webhook>

A promise that resolves to the created webhook.

delete()

Deletes a webhook by its name.

Parameters

ParameterTypeDescription
webhookNamestringThe name of the webhook to delete.

Returns

Promise<V1Webhook>

A promise that resolves to the deleted webhook.

get()

Gets a webhook by its name.

Parameters

ParameterTypeDescription
webhookNamestringThe name of the webhook to get.

Returns

Promise<V1Webhook>

A promise that resolves to the webhook.

list()

Lists all webhooks for the current tenant.

Parameters

ParameterTypeDescription
options?{ limit?: number; offset?: number; sourceNames?: ...[]; webhookNames?: ...[]; }The options for the list operation.
options.limit?number-
options.offset?number-
options.sourceNames?...[]-
options.webhookNames?...[]-

Returns

Promise<V1WebhookList>

A promise that resolves to the list of webhooks.

update()

Updates a webhook by its name.

Parameters

ParameterTypeDescription
webhookNamestringThe name of the webhook to update.
optionsPartial<V1UpdateWebhookRequest>The options for the update operation.

Returns

Promise<V1Webhook>

A promise that resolves to the updated webhook.

Last updated on September 1, 2026

On this page