# 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

## Path parameters:

  - `id` (string, required)
    Identifier of the webhook.
    Example: "Wd3k2a"

  - `documentId` (string, required)
    Identifier of the document used to build the test event.
    Example: "6DdwkO"

## Response 401 fields (application/json):

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


## Response 204 fields
