> ## Documentation Index
> Fetch the complete documentation index at: https://developer.surefeedback.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update webhook

> Update a webhook's URL, events, or active status.

Updates the configuration of an existing webhook.

## Path parameters

<ParamField path="id" type="string" required>
  UUID of the webhook.
</ParamField>

## Request body

<ParamField body="url" type="string">
  New endpoint URL.
</ParamField>

<ParamField body="events" type="array">
  Updated event subscriptions.
</ParamField>

<ParamField body="is_active" type="boolean">
  Enable or disable the webhook.
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "data": {
      "id": "dd0e8400-e29b-41d4-a716-446655440008",
      "is_active": false
    }
  }
  ```
</ResponseExample>
