# Test Webhook

Test a webhook.

Endpoint: POST /api/v1/webhooks/test
Version: 0.2.0
Security: bearerAuth

## Request fields (application/json):

  - `url` (string, required)
    The URL of the webhook endpoint.

  - `events` (array)
    The event types that will trigger the webhook. If none is provided, the webhook will be tested for enriched transaction state update events.
    Enum: "transactions", "enriched_transaction_state_update", "audit_log"

## Response 400 fields (application/json):

  - `title` (string, required)
    Human-readable error message.

  - `detail` (string, required)
    Detailed error message.

  - `full_detail` (string)
    Full error message with additional details, if available.

  - `request_id` (string)
    Request ID - for debugging purposes.

  - `system_error_code` (string)
    An additional system error code in Fordefi.

  - `error_type` (string)
    Enum: "http_error", "server_disconnected", "timeout", "client_connection_error", "unexpected_error"

## Response 401 fields (application/json):

  - `title` (string, required)
    Human-readable error message.

  - `detail` (string, required)
    Detailed error message.

  - `full_detail` (string)
    Full error message with additional details, if available.

  - `request_id` (string)
    Request ID - for debugging purposes.

## Response 422 fields (application/json):

  - `title` (string, required)
    Human-readable error message.

  - `detail` (array, required)

  - `detail.loc` (array, required)

  - `detail.msg` (string, required)

  - `detail.type` (string, required)

  - `full_detail` (string)
    Full error message with additional details, if available.

  - `request_id` (string)
    Request ID - for debugging purposes.


## Response 204 fields
