---
title: "PATCH /api/users/{user}/webhooks/{webhook}"
method: PATCH
path: "/api/users/{user}/webhooks/{webhook}"
tags: ["UserService"]
---

# PATCH /api/users/{user}/webhooks/{webhook}

`PATCH /api/users/{user}/webhooks/{webhook}`

## Request

- The document declares no server URL.
- Auth: none declared

UpdateUserWebhook updates a webhook. Only the owner may call it.

## Path parameters

- `user` string, required
- `webhook` string, required

## Query parameters

- `updateMask` string, field-mask

## Request body

- UserWebhook: UserWebhook is a webhook owned by a user.
  - `name` string: Identifier. The resource name of the webhook. Format: users/{user}/webhooks/{webhook}
  - `displayName` string: A human-readable name for the webhook.
  - `url` string: The URL the webhook request is sent to. Required on create.
  - `signingSecret` string: Input only. The secret used to HMAC-SHA256 sign the webhook request body. Never returned; use GetUserWebhookSigningSecret to read it.
  - `signingSecretSet` boolean: Output only. Whether a signing secret is configured for this webhook.
  - `createTime` string, date-time: Output only. The creation timestamp. Currently never set.
  - `updateTime` string, date-time: Output only. The last update timestamp. Currently never set.

## Response `200`

OK

- UserWebhook: UserWebhook is a webhook owned by a user.
  - `name` string: Identifier. The resource name of the webhook. Format: users/{user}/webhooks/{webhook}
  - `displayName` string: A human-readable name for the webhook.
  - `url` string: The URL the webhook request is sent to. Required on create.
  - `signingSecret` string: Input only. The secret used to HMAC-SHA256 sign the webhook request body. Never returned; use GetUserWebhookSigningSecret to read it.
  - `signingSecretSet` boolean: Output only. Whether a signing secret is configured for this webhook.
  - `createTime` string, date-time: Output only. The creation timestamp. Currently never set.
  - `updateTime` string, date-time: Output only. The last update timestamp. Currently never set.

## Other responses

- `default`: Default error response

## Changes

- **2026-10-08** `1846a777b0ef`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/usememos/apis/untitled-api/changes/api/users/:user/webhooks/:webhook/patch.md)

---

[API](https://skmtc.dev/usememos/apis/untitled-api.md) - [All operations](https://skmtc.dev/usememos/apis/untitled-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usememos/apis/untitled-api/revisions/f587355e35b4?raw)
