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

# Test Webhook

`POST /v1/webhooks/{webhookId}/test`

Send a test event to a webhook endpoint to verify it is configured correctly. Returns the HTTP status code and response time. Requires API key with webhook:write.

## Path parameters

- `webhookId` string, required

## Response `200`

Test result

- ApiResponseWebhookTest
  - `success` boolean, required
  - `data` object, nullable
    - `success` boolean
    - `statusCode` integer
    - `responseTime` integer — Response time in milliseconds
  - `error` string, nullable

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Resource not found

---

[API](https://skmtc.net/migma/apis/migma-ai-api-v1.md) · [All operations](https://skmtc.net/migma/apis/migma-ai-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/migma/migma-ai-api-v1/revisions/3f3dba69574b/schema)
