Athena
Webhooks

Create or upsert a gateway webhook (idempotent natural key)

POST
/admin/webhooks

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"
}