---
title: "Update Webhook Endpoint"
method: PATCH
path: "/v1/webhook-endpoints/{endpoint_id}"
tags: ["webhook-endpoints"]
---

# Update Webhook Endpoint

`PATCH /v1/webhook-endpoints/{endpoint_id}`

## Path parameters

- `endpoint_id` string, uuid, required

## Headers

- `X-API-Key` string, nullable

## Request body

- WebhookEndpointUpdate
  - `url` string, uri, nullable
  - `events` string[], nullable
  - `description` string, nullable
  - `active` boolean, nullable

## Response `200`

Successful Response

- WebhookEndpointOut
  - `id` string, uuid, required
  - `workspace_id` string, uuid, required
  - `url` string, required
  - `events` string[], required
  - `active` boolean, required
  - `description` string, nullable, required
  - `created_by` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ontora/apis/ontora-api.md) · [All operations](https://skmtc.dev/ontora/apis/ontora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ontora/ontora-api/revisions/7f57037fd94b/schema)
