{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-hubspot-type-webhook-events",
  "title": "HubSpot Webhook Events",
  "section": "Library asset reference",
  "description": "HubSpot Webhook Events Typed classic CRM webhook event batch with unknown provider fields preserved. eventId is not globally unique; deduplicate with portal/subscription/object/time scope in durable storage. Required fields must be present;",
  "kind": "type",
  "url": "/wiki/reference-hubspot-type-webhook-events/",
  "markdown": "/wiki/reference-hubspot-type-webhook-events/index.md",
  "json": "/wiki/reference-hubspot-type-webhook-events/index.json",
  "headings": [
    {
      "id": "audited-socket-contract-21-october-2026",
      "title": "Audited socket contract (21 October 2026)",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "hubspot",
  "contract": {
    "key": "hubspot.type.webhook.events",
    "slug": "hubspot-type-webhook-events",
    "name": "HubSpot Webhook Events",
    "kind": "type",
    "family": "hubspot",
    "packId": null,
    "category": "HubSpot",
    "description": "",
    "inputs": [],
    "outputs": [],
    "configSchema": {},
    "documentation": "HubSpot Webhook Events\n\nTyped classic CRM webhook event batch with unknown provider fields preserved. eventId is not globally unique; deduplicate with portal/subscription/object/time scope in durable storage.\n\n Required fields must be present; optional fields remain absent. Null is accepted only where explicitly declared. Additional provider fields are accepted only by schemas that permit them. Use the matching Encode/Decode assets.\n\nAuthored 2026-10-20. Provider reference: [official documentation](https://developers.hubspot.com/docs/api-reference/latest/crm/using-object-apis). New assets are v1; callers must preserve exact dependency pins. Mock tests establish request/codec behavior only; live tenant access is unverified.\n\n## Audited socket contract (21 October 2026)\n\nInputs:\nNo data sockets.\n\nOutputs:\nNo data sockets.\n\nConfiguration:\nNo asset-specific configuration.\n\nKnown provider records and list elements have structural schemas. Explicit dynamic payloads, selected query results and provider extensions retain the recursive JSON Value vocabulary; they do not imply a known provider entity. Null is distinct from omission. Runtime validates the exact selected immutable type version; reading newer documentation never repins existing graphs. This audit used synthetic fixtures/local mocks and does not establish live provider authorization or delivery.\n\nAuthoritative JSON Schema:\n\n```json\n{\n  \"type\": \"array\",\n  \"items\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"eventId\": {\n        \"type\": [\n          \"integer\",\n          \"string\"\n        ]\n      },\n      \"subscriptionId\": {\n        \"type\": [\n          \"integer\",\n          \"string\"\n        ]\n      },\n      \"portalId\": {\n        \"type\": [\n          \"integer\",\n          \"string\"\n        ]\n      },\n      \"appId\": {\n        \"type\": [\n          \"integer\",\n          \"string\"\n        ]\n      },\n      \"occurredAt\": {\n        \"type\": \"integer\",\n        \"minimum\": 0\n      },\n      \"subscriptionType\": {\n        \"type\": \"string\"\n      },\n      \"attemptNumber\": {\n        \"type\": \"integer\",\n        \"minimum\": 0\n      },\n      \"objectId\": {\n        \"type\": [\n          \"integer\",\n          \"string\"\n        ]\n      },\n      \"propertyName\": {\n        \"type\": \"string\"\n      },\n      \"propertyValue\": {\n        \"$ref\": \"#/definitions/ONFJsonValue\",\n        \"description\": \"Explicit opaque JSON Value. This field is data-dependent, not a known provider record.\"\n      },\n      \"changeSource\": {\n        \"type\": \"string\"\n      },\n      \"changeFlag\": {\n        \"type\": \"string\"\n      }\n    },\n    \"required\": [\n      \"eventId\",\n      \"portalId\",\n      \"occurredAt\",\n      \"subscriptionType\"\n    ],\n    \"additionalProperties\": {\n      \"$ref\": \"#/definitions/ONFJsonValue\"\n    }\n  },\n  \"maxItems\": 1000,\n  \"definitions\": {\n    \"ONFJsonValue\": {\n      \"description\": \"Opaque JSON Value: null, text, finite JSON number, boolean, recursively typed list or dictionary. Only used for explicitly dynamic payloads and extension fields.\",\n      \"anyOf\": [\n        {\n          \"type\": \"null\"\n        },\n        {\n          \"type\": \"string\"\n        },\n        {\n          \"type\": \"number\"\n        },\n        {\n          \"type\": \"boolean\"\n        },\n        {\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        },\n        {\n          \"type\": \"object\",\n          \"additionalProperties\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        }\n      ]\n    }\n  }\n}\n```",
    "schema": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "eventId": {
            "type": [
              "integer",
              "string"
            ]
          },
          "subscriptionId": {
            "type": [
              "integer",
              "string"
            ]
          },
          "portalId": {
            "type": [
              "integer",
              "string"
            ]
          },
          "appId": {
            "type": [
              "integer",
              "string"
            ]
          },
          "occurredAt": {
            "type": "integer",
            "minimum": 0
          },
          "subscriptionType": {
            "type": "string"
          },
          "attemptNumber": {
            "type": "integer",
            "minimum": 0
          },
          "objectId": {
            "type": [
              "integer",
              "string"
            ]
          },
          "propertyName": {
            "type": "string"
          },
          "propertyValue": {
            "$ref": "#/definitions/ONFJsonValue",
            "description": "Explicit opaque JSON Value. This field is data-dependent, not a known provider record."
          },
          "changeSource": {
            "type": "string"
          },
          "changeFlag": {
            "type": "string"
          }
        },
        "required": [
          "eventId",
          "portalId",
          "occurredAt",
          "subscriptionType"
        ],
        "additionalProperties": {
          "$ref": "#/definitions/ONFJsonValue"
        }
      },
      "maxItems": 1000,
      "definitions": {
        "ONFJsonValue": {
          "description": "Opaque JSON Value: null, text, finite JSON number, boolean, recursively typed list or dictionary. Only used for explicitly dynamic payloads and extension fields.",
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            },
            {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            }
          ]
        }
      }
    },
    "runtime": "javascript",
    "tags": [
      "hubspot",
      "library-expansion",
      "type",
      "typed-data"
    ],
    "source": "baseline-catalog"
  }
}
