---
title: "Update a webhook endpoint"
method: PUT
path: "/api/v{version}/webhooks/endpoints/{endpointId}"
tags: ["webhooks"]
---

# Update a webhook endpoint

`PUT /api/v{version}/webhooks/endpoints/{endpointId}`

Updates an existing webhook endpoint configuration

## Path parameters

- `version` string, required
- `endpointId` string, required

## Headers

- `X-Tenant` string, required

## Request body

- UpdateEndpointRequest
  - `endpointId` string, nullable
  - `url` string, nullable
  - `description` string, nullable
  - `eventTypes` string[], nullable
  - `headers` object, nullable

## Response `200`

OK

- UpdateEndpointResponse
  - `id` string, nullable
  - `url` string, nullable
  - `description` string, nullable
  - `eventTypes` string[], nullable
  - `updatedAt` string, date-time

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/zrexpress/apis/zrexpress-api.md) · [All operations](https://skmtc.net/zrexpress/apis/zrexpress-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zrexpress/zrexpress-api/revisions/99b075e0b641/schema)
