import {updateWebhookHandler} from "attio/server"

Updates a webhook handler.

API

TypeScript
async function updateWebhookHandler(
    id: string,
    {externalWebhookId}: {externalWebhookId: string}
): Promise<void>

Arguments

An object containing:

id : string

The id of your webhook handler provided by createWebhookHandler().

data : {externalWebhookId: string}

An object containing:

externalWebhookId : string

A unique identifier on the third party system.