# Test webhook

Send a test delivery to the webhook's endpoints. The given document is used to build a `document-updated` event, which is then dispatched to the webhook so you can verify that your endpoints receive and process deliveries correctly.
The event is dispatched regardless of the webhook's `accepted_events`, so the webhook does not need to listen to `document-updated` to be testable.

Endpoint: POST /public/v2/webhooks/{id}/test/{documentId}
Version: 0.1.0
Security: APIKey

## Security:

  - `APIKey` (unknown)
    http bearer API Key

## Path parameters:

  - `id` (string, required)
    Identifier of the webhook.

  - `documentId` (string, required)
    Identifier of the document used to build the test event.

## Response 204:

  - `204` (unknown)
    Successfully queued the test delivery. No content is returned.

## Response 401:

  - `401` (unknown)
    Authentication failed. The API key is missing or invalid.

## Response 401 fields (application/json):

  - `message` (string, required)
    Human-readable description of the error.
    Example: Unauthorized

## Response 404:

  - `404` (unknown)
    Webhook or document not found.

## Response 404 fields (application/json):

  - `message` (string, required)
    Human-readable description of the error.
    Example: Unauthorized

