---
title: "Update a Webhook Endpoint"
method: PATCH
path: "/v1/webhook/endpoint.update"
tags: ["Webhooks"]
---

# Update a Webhook Endpoint

`PATCH /v1/webhook/endpoint.update`

update an existing webhook endpoint

## Request body

- object
  - `endpoint_id` string — the endpoint's id you want to update
  - `url` string — the new post url you want to set for the endpoint
  - `events` string[] — the new events array you want to set for your endpoint

## Response `200`

200

- object
  - `code` integer
  - `data` object
    - `endpoint_id` string
    - `url` string
    - `secret` string
    - `status` string
    - `events` unknown
    - `username` string
    - `created_at` string
  - `msg` unknown

## Other responses

- `400` — 400
- `404` — 404

---

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