Create a new webhook endpoint configuration.
Creates a webhook with an auto-generated signing secret. The secret is returned only in this response - store it securely immediately.
API Key authentication. Format: dk_test_
Request schema for creating a webhook configuration (POST /v1/webhooks).
A cryptographically secure signing secret will be auto-generated. The secret is returned only in the creation response.
Configure webhook endpoints once and receive notifications for all subscribed events. This follows the Stripe/Clerk pattern for webhook management.
Attributes: url: HTTPS webhook endpoint URL events: List of event types to subscribe to (default: document.processing.completed, document.processing.failed) is_active: Whether the webhook is active (default: True) retry_enabled: Whether to retry failed deliveries (default: True) max_retries: Maximum retry attempts (default: 5)
Available Events: - document.uploaded: Document successfully uploaded and queued - document.processing.completed: Extraction completed successfully - document.processing.failed: Extraction failed with error
HTTPS webhook endpoint URL
1 - 2048List of event types to subscribe to
document.uploaded, document.processing.completed, document.processing.failed Whether the webhook is active
Whether to retry failed deliveries
Maximum retry attempts (0-10)
0 <= x <= 10New webhook config with signing secret
Response for newly created webhook configuration (includes signing secret).
WARNING: The signing_secret field is shown only in this response. Store it securely immediately - it cannot be retrieved again.
Available Events: - document.uploaded: Document successfully uploaded and queued - document.processing.completed: Extraction completed successfully - document.processing.failed: Extraction failed with error
Unique webhook configuration identifier
HTTPS webhook endpoint URL
Webhook signing secret for HMAC verification (SHOWN ONLY IN THIS RESPONSE)
List of event types subscribed to
Whether the webhook is active
Whether to retry failed deliveries
Maximum retry attempts
Configuration creation timestamp (ISO 8601)