POST request to your registered URL with a JSON payload describing the event. Use webhooks to power automated workflows such as blocking transactions, alerting your fraud team, or syncing decisions to your internal systems.
AntifraudAI signs every webhook delivery with an HMAC-SHA256 signature using your endpoint’s
signing_secret. Always verify the X-AntifraudAI-Signature header on incoming requests before processing the payload.POST /webhooks
Register a new webhook endpoint. After creation, AntifraudAI will begin delivering events to your URL immediately.Request Parameters
The HTTPS URL that will receive webhook
POST requests. Plain HTTP URLs are not accepted. The endpoint must respond with a 2xx status code within 10 seconds, or the delivery will be marked as failed and retried.An array of event type strings to subscribe to. Available event types include:
transaction.screened— a transaction was screenedtransaction.decision.block— a transaction was blockedevent.screened— a user event was screenedcase.created— a review case was createdcase.resolved— a review case was resolveddecision.reviewed— a manual review override was submitted
A human-readable label for this webhook endpoint to help identify it in the dashboard (e.g.,
"Production case alerts", "Staging test endpoint").cURL
Response Fields
The HMAC-SHA256 signing secret for this endpoint. Use this to verify the
X-AntifraudAI-Signature header on incoming webhook deliveries.GET /webhooks
List all webhook endpoints registered for your account. Thesigning_secret is not included in list responses.
cURL
DELETE /webhooks/
Permanently delete a webhook endpoint. No further events will be delivered to its URL after deletion.cURL
204 No Content with an empty response body.
Deleting a webhook immediately stops all future event deliveries to that endpoint. However, deliveries that were already in-flight at the time of deletion may still arrive at your URL. Ensure your endpoint can handle and safely ignore any such late deliveries.

