> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# updateWebhookHandler()

> Updates a webhook handler

```js theme={"system"}
import {updateWebhookHandler} from "attio/server"
```

Updates a [webhook handler](./webhook-handlers).

## API

```ts TypeScript theme={"system"}
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()`](./create-webhook-handler).

### `data : {externalWebhookId: string}`

An object containing:

#### `externalWebhookId : string`

A unique identifier on the third party system.
