---
title: "Update a webhook"
method: PATCH
path: "/webhooks/{webhookId}"
tags: ["Webhooks"]
---

# Update a webhook

`PATCH /webhooks/{webhookId}`

Updates an existing webhook configuration.

## Path parameters

- `webhookId` string, required

## Request body

- object
  - `formId` string, required — The ID of the form the webhook is for
  - `url` string, required — The URL to send webhook events to
  - `signingSecret` string, nullable — Optional secret used to sign webhook payloads
  - `httpHeaders` object[], nullable — Optional custom HTTP headers to include in webhook requests
    - `name` string, required — The header name
    - `value` string, required — The header value
  - `eventTypes` EventType[], required — Types of events to receive
  - `isEnabled` boolean, required — Whether the webhook is enabled

## Response `204`

Webhook updated successfully

## Other responses

- `400` — Invalid request body
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Webhook not found

---

[API](https://skmtc.net/tally/apis/openapi.md) · [All operations](https://skmtc.net/tally/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tally/openapi/versions/3ae813325ad6/schema)
