Webhooks and Public Routes
Event delivery and controlled public endpoint exposure in Athena.
Webhook Management Routes
Athena exposes webhook management under the admin surface:
GET /admin/webhooksPOST /admin/webhooksGET /admin/webhooks/eventsGET /admin/webhooks/{id}PATCH /admin/webhooks/{id}DELETE /admin/webhooks/{id}GET /admin/webhooks/{id}/deliveriesPOST /admin/webhooks/{id}/test
Auth requirements:
X-Athena-Clientx-athena-admin-key
Public Route Management
Public route registration is managed via admin endpoints:
GET /admin/public-routesPOST /admin/public-routesPATCH /admin/public-routes/{route_key}DELETE /admin/public-routes/{route_key}
Public invocation is served through:
POST /public/{route_key}/{op}where{op}is one ofquery,fetch,insert,update,delete.
Recommended Workflow
- Create webhook endpoint and secret handling in your receiving service.
- Register webhook via
/admin/webhooks. - Trigger test delivery via
/admin/webhooks/{id}/test. - Inspect delivery logs using
/admin/webhooks/{id}/deliveries. - Register public routes only for operations that are explicitly safe to expose.
Reference
Use Reference -> Athena API Reference -> admin and public sections for operation-level schemas and response envelopes.