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

# Test Prompt Webhook

`POST /api/v1/prompt-webhooks/test`

Test a specific prompt webhook.

## Request body

- PromptWebhookTest — Schema for testing a prompt webhook.
  - `webhook` PromptWebhookBase, required — Base schema for prompt webhooks.
    - `url` string, uri, required
    - `headers` object, nullable
    - `include_prompts` string[], nullable
    - `exclude_prompts` string[], nullable
    - `triggers` EPromptWebhookTrigger[]
  - `payload` PromptWebhookPayload, required
    - `prompt_id` string, required
    - `prompt_name` string, required
    - `manifest` object, required
    - `commit_hash` string, required
    - `created_at` string, required
    - `created_by` string, required
    - `event` 'commit' | 'tag:create' | 'tag:update', required — Valid trigger types for prompt webhooks.
    - `tag_name` string, nullable

## Response `200`

Successful Response

- object

## 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)
