---
title: "Test a webhook"
description: "Other routes API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test a webhook

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="post">POST</span>
<code class="cvo-op-path-code">/v1/webhooks/&#123;id&#125;/test</code>
</div>
</div>

Posts one signed `{"type": "webhook.test", "invoiceId": null, "event": null}` to this webhook now and answers what the receiver said. It is not retried and not listed among the deliveries.

## Path parameters

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | What the receiver answered. `status` is null, with `error`, when no answer came. |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `404` | This company has no live webhook with this id (`unknown_webhook`). The same answer is given for a stopped one, another company's, or an invalid id. |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/test-a-webhook/index.mdx
