---
title: "Modify Webhook"
method: PATCH
path: "/v1/workspaces/{workspaceId}/webhooks/{webhookId}"
tags: ["Webhook"]
---

# Modify Webhook

`PATCH /v1/workspaces/{workspaceId}/webhooks/{webhookId}`

## Request

- Base URL: `https://api-gw.sendspark.com`
- URL: `https://api-gw.sendspark.com/v1/workspaces/{workspaceId}/webhooks/{webhookId}`
- Auth: API key in header `x-api-key` and API key in header `x-api-secret`

Modify Webhook

## Path parameters

- `workspaceId` string, required
- `webhookId` string, required

## Request body

- ModifyWebhookRequestPayloadSchema
  - `name` string
  - `description` string
  - `extraHeaders` string[]
  - `url` string
  - `module` 'global' | 'dynamics'
  - `identifiers` string[]
  - `events` Model217[]
  - `enabled` boolean

## Response `200`

Successful

- ModifyWebhookResponseSchema

## Other responses

- `400`: Bad Request
- `404`: Not Found

## Changes

- **2026-07-15** `781b5762fe77`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sendspark/apis/sendspark-api/changes/v1/workspaces/:workspaceId/webhooks/:webhookId/patch.md)

---

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