---
title: "Update a webhook"
method: PUT
path: "/webhooks/{endpoint}"
---

# Update a webhook

`PUT /webhooks/{endpoint}`

## Path parameters

- `endpoint` string, required

## Request body

- object
  - `url` string
  - `description` string
  - `events` string[]

## Response `202`

Webhook endpoint updated

- object
  - `code` integer, required
  - `status` string, required
  - `message` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/notchpay/apis/notch-pay-api.md) · [All operations](https://skmtc.net/notchpay/apis/notch-pay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/notchpay/notch-pay-api/versions/483106380733/schema)
