---
title: "Update Webhook"
method: PATCH
path: "/v1/webhooks/{webhook_sid}"
tags: ["webhooks"]
---

# Update Webhook

`PATCH /v1/webhooks/{webhook_sid}`

Update the details of a webhook

## Path parameters

- `webhook_sid` string, required

## Request body

- StreemApiUpdateWebhookRequest
  - `label` string
  - `url` string
  - `method` string
  - `timeout_ms` integer
  - `max_attempts` integer
  - `headers` StreemApiWebhookHeader[]
    - `name` string
    - `value` string
    - `include_in_request_signature` boolean
  - `clear_headers` boolean

## Response `200`

Webhook updated successfully

- StreemApiUpdateWebhookResponse
  - `webhook` StreemApiWebhook
    - `sid` string
    - `company_sid` string
    - `label` string
    - `url` string
    - `method` string
    - `timeout_ms` integer
    - `max_attempts` integer
    - `headers` StreemApiWebhookHeader[]
      - `name` string
      - `value` string
      - `include_in_request_signature` boolean

## Other responses

- `403` — You do not have permission to update this webhook
- `404` — Webhook not found

---

[API](https://skmtc.net/streem/apis/streem-api.md) · [All operations](https://skmtc.net/streem/apis/streem-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/streem/streem-api/revisions/04250faebd19/schema)
