---
title: "Send a test webhook"
method: POST
path: "/api/webhookSubscriptions.test"
---

# Send a test webhook

`POST /api/webhookSubscriptions.test`

Sends a test webhook to the subscription's URL to verify connectivity and configuration.

## Request body

- TestWebhookRequest
  - `workspace_id` string, required — The ID of the workspace
  - `id` string, required — The ID of the subscription to test
  - `event_type` string — Optional event type to use for the test webhook payload

## Response `200`

Test webhook sent (check response for success/failure)

- TestWebhookResponse
  - `success` boolean — Whether the test webhook was delivered successfully
  - `status_code` integer — HTTP status code returned by the webhook endpoint
  - `response_body` string — Response body from the webhook endpoint
  - `error` string, nullable — Error message if the test failed

## Other responses

- `400` — Bad request - missing parameters
- `401` — Unauthorized - invalid or missing authentication token
- `404` — Webhook subscription not found
- `500` — Internal server error

## Changes

- **2025-12-19** `a1331825c4e5` — 1 info
  - added the new optional request property `event_type`
- **2025-12-01** `bca4a43d9d46` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/pierre-b/apis/notifuse-api/changes/api/webhookSubscriptions.test/post.md)

---

[API](https://skmtc.dev/pierre-b/apis/notifuse-api.md) · [All operations](https://skmtc.dev/pierre-b/apis/notifuse-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pierre-b/notifuse-api/revisions/d26605f2fc47/schema)
