---
title: "Trigger a test webhook"
method: POST
path: "/v2/webhooks/test"
tags: ["Webhooks"]
---

# Trigger a test webhook

`POST /v2/webhooks/test`

Trigger a test event to mimic a webhook event at a given URL.

## Request body

- WebhookTestRequest
  - `event` 'customer.tokenized' | 'order.authorized' | 'order.captured' | 'order.refunded' | 'dispute.merchant_input_requested' | 'dispute.deadline_approaching' | 'dispute.closed.customer_win' | 'dispute.closed.merchant_win' | 'dispute.closed.neutral', required — One of the Valid Webhook Events
  - `url` string, required — A url to receive the test webhook. If omitted, the test webhook is sent to all urls subscribed to that event.

## Response `201`

Status Created

## Other responses

- `400` — Invalid request
- `401` — Unauthorized. Returned for any failed bearer or basic auth, including expired bearer tokens.
- `404` — The specified resource was not found
- `422` — Unable to process the request entity

---

[API](https://skmtc.dev/sezzle/apis/sezzle-api-v2.md) · [All operations](https://skmtc.dev/sezzle/apis/sezzle-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sezzle/sezzle-api-v2/revisions/878c32abbb37/schema)
