Documentation Index
Fetch the complete documentation index at: https://docs.knoxcall.com/llms.txt
Use this file to discover all available pages before exploring further.
Create Webhook
secret_key for verifying webhook signatures is returned only once in the response.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name for the webhook |
url | string | Yes | The URL to deliver webhook payloads to |
event_types | string[] | Yes | Events to subscribe to (non-empty array). Supported: request.received, request.success, request.redirect, request.client_error, request.server_error, request.timeout, request.error, request.completed |
description | string | No | Description |
method | string | No | HTTP method for delivery (defaults to POST) |
auth_type | string | No | Authentication type: none, basic, bearer, hmac, header (defaults to none) |
auth_config | object | No | Auth credentials (depends on auth_type) |
request_headers | object | No | Custom headers to include in deliveries |
route_filter | string[] | No | Only trigger for events on these route IDs (array of UUIDs) |
include_request_body | boolean | No | Include the original request body in the payload (defaults to true) |
include_response_body | boolean | No | Include the upstream response body (defaults to false) |
include_headers | boolean | No | Include request/response headers (defaults to false) |
timeout_seconds | integer | No | Delivery timeout in seconds (defaults to 30) |
retry_on_failure | boolean | No | Retry failed deliveries (defaults to true) |
max_retries | integer | No | Maximum retry attempts (defaults to 3) |
enabled | boolean | No | Enable immediately (defaults to true) |
hmac_key_id | uuid | No | Crypto Keys transit key ID to use for HMAC signing (stage 2.5; replaces the secret_key-based default signing) |
hmac_format | string | No | Signature format when using hmac_key_id: legacy, stripe, github, slack, aws-sns, custom |
hmac_header_name | string | No | Custom header name when hmac_format is custom |
Response
Errors
| Status | Type | Description |
|---|---|---|
| 400 | validation_error | Missing required fields or empty event_types array |