HubSpot · Schema

EventInstance

Represents a single event instance that occurred in the system

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Properties

Name Type Description
id string Unique identifier for the event instance
eventType string The type of event that occurred
objectId string The ID of the CRM object associated with this event
objectType string The type of CRM object (e.g., contact, company, deal)
occurredAt string ISO 8601 timestamp when the event occurred
properties object Additional properties associated with the event
View JSON Schema on GitHub

JSON Schema

hubspot-analytics-events-event-instance-schema.json Raw ↑
{
  "type": "object",
  "description": "Represents a single event instance that occurred in the system",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the event instance",
      "example": "500123"
    },
    "eventType": {
      "type": "string",
      "description": "The type of event that occurred",
      "example": "standard"
    },
    "objectId": {
      "type": "string",
      "description": "The ID of the CRM object associated with this event",
      "example": "500123"
    },
    "objectType": {
      "type": "string",
      "description": "The type of CRM object (e.g., contact, company, deal)",
      "example": "standard"
    },
    "occurredAt": {
      "type": "string",
      "description": "ISO 8601 timestamp when the event occurred",
      "format": "date-time",
      "example": "2025-03-15T14:30:00Z"
    },
    "properties": {
      "type": "object",
      "description": "Additional properties associated with the event",
      "example": {
        "key": "value"
      }
    }
  },
  "required": [
    "id",
    "eventType",
    "occurredAt"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "EventInstance"
}