---
title: "Update Webhook Event"
method: PUT
path: "/v1/webhook-events/{webhook_event_id}"
---

# Update Webhook Event

`PUT /v1/webhook-events/{webhook_event_id}`

This endpoint allows you to update a webhook event. You can use the `webhook_event_id` to update the webhook event's details.

## Path parameters

- `webhook_event_id` string, required

## Headers

- `X-BUSINESS-API-KEY` string, required

## Request body

- object
  - `name` string — The name of the webhook event. It is a required field.
  - `url` string — The URL of the webhook, must be a valid URL with `https` protocol. This is the URL that the webhook will send the event data to. It is a required field.
  - `event_types` string[] — The event types that the webhook will listen to. It is a required field.

## Response `200`

200

- object
  - `id` string, required
  - `business_id` string, required
  - `name` string, required
  - `url` string, required
  - `event_types` string[], required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `404` — 404

---

[API](https://skmtc.net/hitpayapp/apis/hitpay-api.md) · [All operations](https://skmtc.net/hitpayapp/apis/hitpay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hitpayapp/hitpay-api/versions/6aae1a736990/schema)
