WebhookTargetDto Schema
Defines a single webhook destination with optional custom headers, per-target secret, basic auth, and filters to control which events and search types it receives.Supported Fields
| Field | Required | Type | Rules and behavior |
|---|---|---|---|
url | Yes | string | Webhook URL. Must be a valid HTTPS URL. |
headers | No | object | Custom headers to include in the webhook request, such as { "X-Customer": "acme" }. |
basicAuth | No | object | HTTP Basic Auth credentials with username and password. |
secret | No | string | Per-target HMAC secret. Overrides the global webhook secret when present. |
events | No | string[] | Event types delivered to this target. If omitted, defaults to ["verification.completed"]. Allowed values: verification.completed, verification.notification, verification.action_required. |
searchTypes | No | string[] | For fallback targets, restrict delivery to specific search types. Allowed values: EMPLOYMENT, EDUCATION. |
enabled | No | boolean | Enables or disables this target. Default: true. |