{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/everypage-co/json-schema/everypage-co-webhook-create-schema.json",
  "title": "WebhookCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/everypage-co-webhooks-api-openapi.yml#/components/schemas/WebhookCreate",
  "type": "object",
  "required": [
    "url",
    "events"
  ],
  "properties": {
    "url": {
      "type": "string",
      "description": "Plain HTTPS URL (no credentials, no private/local addresses)."
    },
    "events": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "file.opened",
          "file.viewed",
          "file.downloaded",
          "gate.completed",
          "note.created",
          "receipt.confirmed",
          "file.burned",
          "content.replaced",
          "invite.viewed",
          "proofing.updated"
        ]
      },
      "description": "Event kinds to deliver (at least one). `gate.completed` deliveries require the Pro plan at event time; other kinds deliver on every plan.\n"
    },
    "format": {
      "type": "string",
      "enum": [
        "json",
        "slack"
      ],
      "default": "json"
    },
    "fileUuid": {
      "type": "string",
      "description": "Optional: deliver only this file's events (UUID or short id; must be a file you own)."
    }
  }
}