---
title: "Update Webhook"
method: PUT
path: "/api/webhooks/{webhook_id}"
tags: ["Webhooks"]
---

# Update Webhook

`PUT /api/webhooks/{webhook_id}`

Update a webhook by ID

## Path parameters

- `webhook_id` string, required

## Request body

- WebhookUpdate — Schema for updating an existing webhook.
  - `events` string[], nullable
  - `url` string, uri, nullable
  - `enabled` boolean, nullable

## Response `200`

Successful Response

- WebhookResponse — Response model for webhook API endpoints.
  - `events` string[], required
  - `url` string, uri, required
  - `enabled` boolean
  - `id` string, required
  - `secret` string, required

## Other responses

- `401` — Unauthorized: API key is missing, invalid, or inactive
- `404` — Not Found: Webhook with the specified ID doesn't exist
- `422` — Unprocessable Entity: Invalid response data
- `500` — Internal Server Error: Unexpected server error

---

[API](https://skmtc.net/e-invoice-be/apis/e-invoice-be-peppol-access-point-api.md) · [All operations](https://skmtc.net/e-invoice-be/apis/e-invoice-be-peppol-access-point-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/e-invoice-be/e-invoice-be-peppol-access-point-api/revisions/a5b8396effe8/schema)
