{
  "name": "webhook-post",
  "title": "POST JSON to a webhook",
  "category": "HTTP",
  "tags": [
    "curl",
    "http"
  ],
  "version": "1.0.0",
  "date": "2026-07-17",
  "notes": "Initial release.",
  "latest": false,
  "installable": false,
  "url": "https://catalog.dagweave.com/api/v1/items/webhook-post/1.0.0.json",
  "entrypoint": "post",
  "parameters": [
    {
      "name": "json-body",
      "title": "JSON body",
      "description": "The raw JSON payload to send as the request body.",
      "type": "string",
      "required": true,
      "example": "{\"event\":\"deploy\",\"status\":\"ok\"}"
    },
    {
      "name": "url",
      "title": "Webhook URL",
      "description": "Absolute webhook URL to POST the JSON payload to.",
      "type": "string",
      "required": true,
      "example": "https://hooks.example.com/services/T000/B000/XXXX"
    },
    {
      "name": "auth-secret-key",
      "title": "Auth secret key",
      "description": "Key within the Secret that holds the Authorization header value.",
      "type": "string",
      "required": false,
      "default": "authorization"
    },
    {
      "name": "auth-secret-name",
      "title": "Auth secret name",
      "description": "Name of the Kubernetes Secret holding an optional Authorization header value (e.g. \"Bearer abc123\"). If the Secret is absent the header is omitted.",
      "type": "string",
      "required": false,
      "default": "webhook-auth"
    }
  ],
  "images": [
    {
      "ref": "curlimages/curl@sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93",
      "repository": "curlimages/curl",
      "tag": "8.23.0",
      "digest": "sha256:3fb7e13e5d179a845c97d78204f3f1064d1907037f26a3ebf91710571151fd93"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/webhook-post",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
