Events Send Event Completions No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

OpenAPI spec version: v3

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

Constructors

Properties

email?: string

The visitor's email address. Used for associating the event data with a CRM record.

eventName: string

The internal name of the event (pe<portalID>_eventName). Can be retrieved through the event definitions API or in HubSpot's UI.

objectId?: string

The ID of the object that completed the event (e.g., contact ID or visitor ID).

occurredAt?: Date

The time when this event occurred. If this isn't set, the current time will be used.

properties?: {
    [key: string]: string;
}

The event properties to update. Takes the format of key-value pairs (property internal name and property value). Learn more about HubSpot's default event properties.

utk?: string

The visitor's usertoken. Used for associating the event data with a CRM record.

uuid?: string

Include a universally unique identifier to assign a unique ID to the event completion. Can be useful for matching data between HubSpot and other external systems.

attributeTypeMap: {
    baseName: string;
    format: string;
    name: string;
    type: string;
}[] = ...
discriminator: undefined | string = undefined
mapping: undefined | {
    [index: string]: string;
} = undefined

Methods