HubSpot · JSON Structure

Hubspot Analytics Events Event Instance Structure

Represents a single event instance that occurred in the system

Type: object Properties: 6 Required: 3
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

EventInstance is a JSON Structure definition published by HubSpot, describing 6 properties, of which 3 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

id eventType objectId objectType occurredAt properties

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Represents a single event instance that occurred in the system",
  "name": "EventInstance",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the event instance"
    },
    "eventType": {
      "type": "string",
      "description": "The type of event that occurred"
    },
    "objectId": {
      "type": "string",
      "description": "The ID of the CRM object associated with this event"
    },
    "objectType": {
      "type": "string",
      "description": "The type of CRM object (e.g., contact, company, deal)"
    },
    "occurredAt": {
      "type": "datetime",
      "description": "ISO 8601 timestamp when the event occurred"
    },
    "properties": {
      "type": "object",
      "description": "Additional properties associated with the event"
    }
  },
  "required": [
    "id",
    "eventType",
    "occurredAt"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}