Webhooks
Create or upsert a gateway webhook (idempotent natural key)
Header Parameters
apikey*string
The static admin key configured as ATHENA_KEY_12. Authorization headers (Bearer <key>), X-API-Key, X-Athena-Key, or ?api_key= are also accepted.
Request Body
application/json
[key: string]?any
Response Body
application/json
application/json
curl -X POST "https://athena-cluster.com/admin/webhooks" \ -H "apikey: string" \ -H "Content-Type: application/json" \ -d '{}'{
"status": "success",
"message": "string",
"data": {}
}{
"status": "error",
"message": "string",
"error": "string"
}List gateway webhooks GET
Definitions for outbound HTTP hooks fired after successful gateway operations (requires static admin key).
List webhook event types GET
Returns every supported `route_key` for `gateway_webhook` definitions, with titles and descriptions (gateway, PostgREST, and schema/management DDL triggers). Requires the static admin key.