Webhooks

Create webhook subscription

post/api/webhooks

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/webhooks
  • Auth: none declared

Query parameters

tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Request body

urlstring required
eventsstring[] required
secretstring
headersobject
isActiveboolean
tokenstring

Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

Example request

{
  "url": "https://example.com/hooks/cernion",
  "events": [
    "cya.a2a.consensus.failed"
  ],
  "secret": "my-shared-secret",
  "headers": {
    "X-Customer": "tenant-a"
  }
}

Response

Successful response

object required

Changes

No recorded changes to this operation across all 2 revisions of this API.