---
title: "Test a webhook endpoint by sending a sample payload."
method: POST
path: "/notification_webhook/test"
tags: ["notifications"]
---

# Test a webhook endpoint by sending a sample payload.

`POST /notification_webhook/test`

## Request

- Base URL: `https://api.replicated.com/vendor/v3`
- URL: `https://api.replicated.com/vendor/v3/notification_webhook/test`
- Auth: API key in header `Authorization`

Required RBAC Policy: team/notifications/subscriptions/create

## Request body

- object
  - `customHeaders` CustomHeaderInput[]
    - `name` string
    - `value` string
  - `eventType` string
  - `webhookSecret` string
  - `webhookUrl` string

## Response `200`

- TestWebhookResponseBody: TestWebhookResponseBody contains the result of a webhook test
  - `durationMs` integer
  - `error` string
  - `statusCode` integer
  - `success` boolean

## Other responses

- `400`: Returned on bad input
- `401`: Return if the caller is not authorized
- `403`: Returned if the caller does not have the needed permission

## Changes

- **2026-11-03** `a36c6aead22f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/replicated/apis/vendor-api-v3-2/changes/notification_webhook/test/post.md)

---

[API](https://skmtc.dev/replicated/apis/vendor-api-v3-2.md) - [All operations](https://skmtc.dev/replicated/apis/vendor-api-v3-2/llms.txt) - [OpenAPI document](https://skmtc.dev/replicated/apis/vendor-api-v3-2/revisions/a36c6aead22f?raw)
