---
title: "Create webhook endpoint"
method: POST
path: "/webhook_endpoints"
tags: ["Webhook Endpoints"]
---

# Create webhook endpoint

`POST /webhook_endpoints`

## Request body

- PostWebhookEndpoints — Create webhook endpoint
  - `target_url` string, required — 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 `201`

Successful

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `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)
