---
title: "Update webhook endpoint"
method: PATCH
path: "/v1/webhook_endpoints/{webhook_id}"
---

# Update webhook endpoint

`PATCH /v1/webhook_endpoints/{webhook_id}`

## Request

- Base URL: `https://api.turos.app`
- URL: `https://api.turos.app/v1/webhook_endpoints/{webhook_id}`
- Auth: HTTP bearer

Update a webhook endpoint URL, description, subscribed event types, or active status.

## Request body

- object
  - `destinationUrl` string, uri
  - `description` string, nullable
  - `subscribedEventTypes` string[]
  - `status` 'active' | 'disabled'

## Response `200`

Successful response

- WebhookEndpoint
  - `object` 'webhook_endpoint', required
  - `id` string, required
  - `createdAt` string, required
  - `updatedAt` string, required
  - `livemode` boolean, required
  - `orgId` string, required
  - `description` string, nullable, required
  - `destinationUrl` string, uri, required
  - `subscribedEventTypes` string[], required
  - `status` 'active' | 'disabled', required
  - `lastDeliveredAt` string, nullable, required
  - `signingSecret` string

## Other responses

- `default`: Contract-aware error response

---

[API](https://skmtc.dev/turos/apis/turos-api.md) · [All operations](https://skmtc.dev/turos/apis/turos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/turos/apis/turos-api/revisions/a68d3ec80a56?raw)
