---
title: "PUT /v2/webhooks/{webhook_id}"
method: PUT
path: "/v2/webhooks/{webhook_id}"
---

# PUT /v2/webhooks/{webhook_id}

`PUT /v2/webhooks/{webhook_id}`

Updates an existing webhook configuration. All fields are optional.

## Path parameters

- `webhook_id` string, uuid, required

## Request body

- UpdateWebhookRequest
  - `name` string — A friendly name for this webhook.
  - `url` string, uri — The HTTPS URL where webhook payloads will be sent.
  - `events` string[] — List of event types to subscribe to.
  - `data_options` DataOptions
    - `include_transcript` boolean — Include the full call transcript in webhook payload.
    - `include_recording_url` boolean — Include the call recording URL in webhook payload.
  - `custom_headers` CustomHeaders — Custom HTTP headers to send with webhook requests.
  - `is_active` boolean — Enable or disable the webhook.

## Response `200`

Webhook updated successfully

- object
  - `message` string, required
  - `data` WebhookResponse, required
    - `id` string, uuid — Unique identifier for the webhook.
    - `agent_id` string, uuid — The agent this webhook is associated with.
    - `name` string — The webhook name.
    - `url` string, uri — The webhook URL.
    - `secret` string — The webhook signing secret. Returned only on creation.
    - `events` string[] — Subscribed event types.
    - `data_options` DataOptions
      - `include_transcript` boolean — Include the full call transcript in webhook payload.
      - `include_recording_url` boolean — Include the call recording URL in webhook payload.
    - `custom_headers` CustomHeaders — Custom HTTP headers to send with webhook requests.
    - `is_active` boolean — Whether the webhook is active.
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400` — Invalid request body
- `404` — Webhook not found

---

[API](https://skmtc.net/i-stem/apis/samora-ai-api.md) · [All operations](https://skmtc.net/i-stem/apis/samora-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/i-stem/samora-ai-api/revisions/cb390cb388d1/schema)
