---
title: "Edit webhook endpoint"
method: PATCH
path: "/webhook_endpoints/{id}"
tags: ["Webhook Endpoints"]
---

# Edit webhook endpoint

`PATCH /webhook_endpoints/{id}`

## Path parameters

- `id` integer, required

## Request body

- PatchWebhookEndpointsId — Edit webhook endpoint
  - `target_url` string — URL to send POST requests to in response to subscribed events. Must use HTTPS in production
  - `active` boolean — Return only active or inactive endpoints

## Response `200`

Successful

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

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