---
title: "Create Prompt Webhook"
method: POST
path: "/api/v1/prompt-webhooks"
tags: ["prompt-webhooks"]
---

# Create Prompt Webhook

`POST /api/v1/prompt-webhooks`

Create a new prompt webhook.

## Request body

- PromptWebhookCreate — Schema for creating a prompt webhook.
  - `url` string, uri, required
  - `headers` object, nullable
  - `include_prompts` string[], nullable
  - `exclude_prompts` string[], nullable
  - `triggers` EPromptWebhookTrigger[]
  - `id` string, uuid, 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)
