Register Webhook
Register a webhook endpoint for your account.
Endpoint
POST /webhooks
Creates a new webhook endpoint for the authenticated customer. You can register up to 10 webhooks, each with its own URL, secret, and event filter. Event delivery fans out to every active webhook whose filter matches the event.
POSTs updated the same record. It now always creates a new webhook. To modify an existing webhook, use PATCH /webhooks/{webhook_id}. To remove one, use DELETE /webhooks/{webhook_id}.Request Body
JSON object with the following fields:Supported Event Types
cdd_state_changed: When the state of a CDD changes to either inconclusive or complete.monitoring_alert_fired: When a monitoring alert is fired on failure.cdd_document_fetched: When a new document is successfully added to a CDD case.search_completed: When a name screening search completes and results are available.alert_remediated: When a name screening alert has been remediated (all hits resolved).flow_run_completed: When a flow run finishes successfully (COMPLETED).flow_run_failed: When a flow run fails (FAILED).
Example Request
Responses
201 Created
The webhook was created. The response body is the created webhook (thesecret is never echoed — has_secret indicates whether one is set).
400 Bad Request
Input validation failed.409 Conflict
The customer already has the maximum of 10 webhooks. Delete one before creating another.500 Internal Server Error
Unexpected error occurred.Authentication
This endpoint requires authentication. The webhook is associated with the authenticated customer.Authorizations
Body
Must be a valid URL starting with https.
Indicates if the webhook is active.
Secret used to sign the webhook payload, passed in the X-Signature header. Write-only — it is never returned by the API.
List of events to trigger the webhook. If not provided, no events will be triggered.
cdd_state_changed: When the state of a CDD changes to either inconclusive or complete.
monitoring_alert_fired: When a monitoring alert is fired on failure.
cdd_document_fetched: When a new document is successfully added to a CDD case.
search_completed: When a name screening search completes and results are available.
alert_remediated: When a name screening alert has been remediated.
flow_run_completed: When a flow run finishes successfully (COMPLETED).
flow_run_failed: When a flow run fails (FAILED).
cdd_state_changed, monitoring_alert_fired, cdd_document_fetched, search_completed, alert_remediated, flow_run_completed, flow_run_failed Response
Webhook created.
Unique ID for the webhook.
Whether a signing secret is configured. The secret itself is never returned.
Derived health: disabled when inactive, failing when the last delivery returned a non-2xx status, otherwise active.
active, failing, disabled Timestamp of the most recent delivery attempt, or null if none.
HTTP status code of the most recent delivery attempt, or null if none.
cdd_state_changed, monitoring_alert_fired, cdd_document_fetched, search_completed, alert_remediated, flow_run_completed, flow_run_failed