---
title: "PATCH /app/webhooks/{webhook_endpoint_id}/"
method: PATCH
path: "/app/webhooks/{webhook_endpoint_id}/"
tags: ["app"]
---

# PATCH /app/webhooks/{webhook_endpoint_id}/

`PATCH /app/webhooks/{webhook_endpoint_id}/`

API endpoint that allows alerts to be viewed or edited.

## Path parameters

- `webhook_endpoint_id` string, uuid, required

## Request body

- PatchedWebhookEndpointRequest
  - `name` string, nullable
  - `webhook_url` string
  - `triggers_in` string[]

## Response `200`

- WebhookEndpoint
  - `webhook_endpoint_id` string, required
  - `name` string, nullable
  - `webhook_url` string, required
  - `webhook_secret` string, required
  - `triggers` WebhookTrigger[], required
    - `trigger_name` 'invoice.created' | 'invoice.paid' | 'usage_alert.triggered', required

## Changes

- **2023-01-16** `36b48cae00a3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/uselotus/apis/lotus-api/changes/app/webhooks/:webhook_endpoint_id/patch.md)

---

[API](https://skmtc.dev/uselotus/apis/lotus-api.md) · [All operations](https://skmtc.dev/uselotus/apis/lotus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uselotus/lotus-api/revisions/36b48cae00a3/schema)
