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

# Test Webhook

`POST /api/v1/webhooks/test`

Test a webhook.

## Request body

- TestWebhookRequest
  - `url` string, uri, required — The URL of the webhook endpoint.
  - `events` WebhookEventType[] — The event types that will trigger the webhook. If none is provided, the webhook will be tested for enriched transaction state update events.

## Response `204`

Successful Response

## Other responses

- `400` — Bad Request
- `401` — Unauthorized User
- `403` — Forbidden User
- `408` — Request Timeout
- `422` — Validation Error
- `429` — Rate Limit Exceeded
- `500` — Unexpected Error

---

[API](https://skmtc.net/fordefi/apis/fordefi-api.md) · [All operations](https://skmtc.net/fordefi/apis/fordefi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fordefi/fordefi-api/versions/8014fd69ea17/schema)
