Overview
How Webhooks Work
1. Event occurs (e.g., bias detected)
2. ATHENA sends HTTPS POST to your endpoint
3. Your server processes the event
4. Respond with 2xx status codeQuick Setup
1. Create a Webhook
curl -X POST https://api.athenatrust.ai/v1/webhooks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-app.com/athena-webhook",
"events": ["bias.detected", "trust.miscalibrated"]
}'2. Save the Secret
3. Handle Events
Webhook Payload
Available Events
Event
Description
When Fired
Security
Reliability
Feature
Description
Best Practices
Last updated