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

# Update outbound webhook

`PATCH /webhooks/{id}`

Updates an outbound webhook endpoint URL, name, status, or subscribed events. Changing the URL or enabling the endpoint resets stored endpoint failure state.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `url` string, uri
  - `status` 'enabled' | 'disabled'
  - `events` OutboundWebhookEventType[]

## Response `200`

Updated

- object
  - `success` boolean
  - `webhook` OutboundWebhookEndpoint
    - `id` string
    - `name` string
    - `url` string, uri
    - `status` 'enabled' | 'disabled'
    - `events` OutboundWebhookEventType[]
    - `consecutiveFailures` integer — Consecutive failed delivery attempts used for endpoint backoff.
    - `circuitOpenedAt` string, date-time, nullable
    - `circuitOpenUntil` string, date-time, nullable
    - `signingSecret` string — Returned only when creating a webhook or adding a signing secret.
    - `signingSecrets` object[] — Active signing secret metadata. Secret values are returned only once.
      - `id` string
      - `prefix` string
      - `createdAt` string, date-time
    - `lastSuccessAt` string, date-time, nullable
    - `lastFailureAt` string, date-time, nullable
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `400` — Invalid update
- `401` — Unauthorized
- `404` — Webhook not found

## Changes

- **2026-08-16** `6fd2903b91ce` — 3 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `404` status
- **2026-08-02** `36f92fc0caa2` — 3 breaking, 1 warning, 1 info
  - the response property `success` became optional for the status `400`
  - the response property `success` became optional for the status `401`
  - the response property `success` became optional for the status `404`
  - added the new `subscriber.created` enum value to the `webhook/events/items/` response property for the response status `200`
  - …1 more
- **2026-07-25** `b58891ac1cde` — 1 warning, 1 info
  - added the new `email.failed` enum value to the `webhook/events/items/` response property for the response status `200`
  - added the new `email.failed` enum value to the request property `events/items/`
- **2026-07-15** `8bc13491b9f6` — 2 warning, 2 info
  - added the new `subscriber.list_subscribed` enum value to the `webhook/events/items/` response property for the response status `200`
  - added the new `subscriber.list_unsubscribed` enum value to the `webhook/events/items/` response property for the response status `200`
  - added the new `subscriber.list_subscribed` enum value to the request property `events/items/`
  - added the new `subscriber.list_unsubscribed` enum value to the request property `events/items/`
- …earlier changes not shown

[Full history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/webhooks/:id/patch.md)

---

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