API Endpoint

GET /management/webhooks

List configured webhook endpoints and subscribed events.

GET /management/webhooks

Endpoint context

Use these endpoints from internal tooling or your frontend backend to inspect licenses, manage slug policy templates, provisioning API keys, webhook endpoint configuration/logs, and offline JWT signing keys. Management routes require the management bootstrap key configured via MANAGEMENT_API_KEYS or MANAGEMENT_API_KEY.

  • Requires management API key auth.
  • Useful for admin overview and configuration screens.
  • This endpoint only manages configuration; event delivery infrastructure is separate.
bash
curl -sS http://localhost:8080/management/webhooks \
  -H "Authorization: Bearer management_key_dev_123456"

Request body

json
{} (no request body)

Response body

json
{
  "webhooks": [
    {
      "id": 1,
      "name": "audit-sync",
      "url": "https://example.com/hooks/license",
      "events": ["license.generated", "license.revoked"],
      "enabled": true,
      "created_at": "2026-04-21T12:00:00Z",
      "updated_at": "2026-04-21T12:00:00Z"
    }
  ]
}

Response field types

webhooks

array

Configured webhook endpoint records.

Error codes

401

Missing or invalid management API key.

500

Unexpected server or storage error.

Back to API overview