---
title: "Test Webhook"
method: POST
path: "/api/webhooks/{webhook_id}/test"
tags: ["Webhooks"]
---

# Test Webhook

`POST /api/webhooks/{webhook_id}/test`

Send a test event to a webhook for testing and debugging purposes

## Path parameters

- `webhook_id` string, required

## Request body

- WebhookTestRequest — Schema for webhook test request.
  - `event_type` string, required — Must be valid WebhookEventType
  - `data` object, required — Custom event data payload

## Response `200`

Successful Response

- WebhookTestResponse — Schema for webhook test response.
  - `success` boolean, required — Whether the test completed successfully
  - `message` string, required — Descriptive message about the test result
  - `webhook_delivery_result` object, required — Result from process_webhook_task

## Other responses

- `401` — Unauthorized: API key is missing, invalid, or inactive
- `404` — Not Found: Webhook with the specified ID doesn't exist
- `422` — Unprocessable Entity: Invalid event_type or event_type not subscribed
- `500` — Internal Server Error: Unexpected server error

---

[API](https://skmtc.net/e-invoice-be/apis/e-invoice-be-peppol-access-point-api.md) · [All operations](https://skmtc.net/e-invoice-be/apis/e-invoice-be-peppol-access-point-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/e-invoice-be/e-invoice-be-peppol-access-point-api/revisions/a5b8396effe8/schema)
