---
title: "Update Webhook Endpoint"
method: PATCH
path: "/webhook_endpoints/{id}"
---

# Update Webhook Endpoint

`PATCH /webhook_endpoints/{id}`

update an exisiting webhook endpoint

## Path parameters

- `id` string, required

## Request body

- object
  - `url` string — new url must start with https
  - `configured_events` object — hash of events and event names, empty for all events. list of events found here: https://app.moderntreasury.com/developers/webhooks/new
  - `enabled` boolean — true if enabled, false if paused

## Response `200`

200

- object
  - `id` string
  - `object` string
  - `live_mode` boolean
  - `url` string
  - `configured_events` object
    - `paper_item` string[]
    - `incoming_payment_detail` string[]
  - `enabled` boolean
  - `discarded_at` unknown
  - `created_at` string
  - `updated_at` string

## Other responses

- `422` — 422

---

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