---
title: "Update a Webhook"
method: PATCH
path: "/v0/webhooks/{id}"
tags: ["Webhooks"]
---

# Update a Webhook

`PATCH /v0/webhooks/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateWebhookParameters
  - `events` EventType[] — The events to trigger the webhook
  - `url` string, uri — The URL to send the webhook to
  - `metadata` object — Set of key-value pairs you want to associate with this object.

## Response `200`

Webhook

- Webhook
  - `id` string, required — The unique identifier for the webhook
  - `object` 'webhook', required
  - `status` 'active' | 'inactive', required — The status of the webhook
  - `events` EventType[], required — The events to trigger the webhook
  - `url` string, uri, required — The URL to send the webhook to
  - `secret` string, nullable, required — The secret to verify the webhook signature. Only returned on Webhook creation.
  - `metadata` object — The metadata of the webhook
  - `createdAt` string, date-time, required — The date and time the webhook was created
  - `updatedAt` string, date-time, required — The date and time the webhook was last updated

## Other responses

- `404` — Webhook not found

---

[API](https://skmtc.net/exa/apis/exa-public-api.md) · [All operations](https://skmtc.net/exa/apis/exa-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/exa/exa-public-api/versions/982a352e3781/schema)
