---
title: "Test webhook endpoint"
method: POST
path: "/webhooks/{id}/test"
tags: ["Webhooks"]
---

# Test webhook endpoint

`POST /webhooks/{id}/test`

## Path parameters

- `id` string, required

## Response `200`

Test result

- object
  - `success` boolean, required
  - `statusCode` integer, required
  - `error` string

## Other responses

- `400` — Webhook inactive
- `401` — Unauthenticated
- `402` — Payment required. Returns a WWW-Authenticate header with an MPP challenge for pay-per-use endpoints, or indicates a subscription/credit issue for identity-authenticated endpoints.
- `404` — Not found

## Changes

- **2026-04-25** `2adc33156b4b` — 6 warning, 9 info
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `400`
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `401`
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `404`
  - added the new `no_credits` enum value to the `error` response property for the response status `400`
  - …11 more

[Change history](https://skmtc.dev/xquik-dev/apis/xquik-api/changes/webhooks/:id/test/post.md)

---

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