---
title: "Update Prompt Webhook"
method: PATCH
path: "/api/v1/prompt-webhooks/{webhook_id}"
tags: ["prompt-webhooks"]
---

# Update Prompt Webhook

`PATCH /api/v1/prompt-webhooks/{webhook_id}`

Update a specific prompt webhook.

## Path parameters

- `webhook_id` string, uuid, required

## Request body

- PromptWebhookUpdate — Schema for updating a prompt webhook.
  - `include_prompts` string[], nullable
  - `exclude_prompts` string[], nullable
  - `url` string, uri, nullable
  - `headers` object, nullable
  - `triggers` EPromptWebhookTrigger[], nullable

## Response `200`

Successful Response

- PromptWebhook — Schema for a prompt webhook.
  - `url` string, uri, required
  - `headers` object, nullable
  - `include_prompts` string[], nullable
  - `exclude_prompts` string[], nullable
  - `triggers` EPromptWebhookTrigger[]
  - `id` string, uuid, required
  - `tenant_id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.net/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/a0acb3a6a101/schema)
