CloseoutEndpointsDto Schema
The CloseoutEndpointsDto defines specific webhook endpoints for different search types. It now supports multiple webhook targets per search type, with optional custom headers, basic auth, and event filters.Currently Supported: Only EMPLOYMENT and EDUCATION search types are fully operational.
Supported Fields
| Field | Required | Type | Rules and behavior |
|---|---|---|---|
EMPLOYMENT | No | string, WebhookTargetDto, or WebhookTargetDto[] | Employment verification webhooks. Accepts a single URL string, a single target object, or an array of targets. |
EDUCATION | No | string, WebhookTargetDto, or WebhookTargetDto[] | Education verification webhooks. Accepts the same shapes as EMPLOYMENT. |
Complete Example
Usage Notes
- All fields are optional - specify only the search types you need
- Endpoints must be valid HTTPS URLs
- If a search type endpoint is not specified, the
fallbackEndpointfromWebhookConfigDtowill be used - When
eventsis omitted, the webhook defaults to receiving onlyverification.completed(backward compatible) - You can attach per-target headers and basic auth; HMAC signature header will still be sent (per-target secret overrides global secret)
Related Schemas
- WebhookConfigDto - Parent webhook configuration schema
- WebhookTargetDto - Single webhook target schema
Next Steps
- Create your first order using these endpoint configurations
- Learn about error handling for webhook delivery failures