Event data model
View field support, webhooks, and list parameters for each integration on the Supported Integrations page.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | Unique identifier for this event object |
created_at | string (date-time) | No | The date that this event object was ingested (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
name | string | No | The specific event name (eg. "Product Purchased") |
type | enum | No | The unified structural category of the event Values: TRACK, PAGE, SCREEN, IDENTIFY, GROUP, ALIAS |
occurred_at | string (date-time) | No | When the event actually happened (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
profile_id | string | No | The profile this event is associated with; points to CdpProfile |
identifiers | CdpIdentifier[] | No | The identifiers that link this event to a profile |
identifiers[].type | enum | No | The type of the identifier (eg. EMAIL, USER_ID, ANONYMOUS_ID) Values: EMAIL, USER_ID, ANONYMOUS_ID, DEVICE_ID, PHONE, CRM_ID, LOYALTY_ID, OTHER |
identifiers[].value | string | Yes | The identifier value that resolves to the profile |
identifiers[].is_primary | boolean | No | Whether this is the primary identifier for the profile |
identifiers[].encoding | string | No | The encoding of the identifier value (eg. raw, sha256) |
identifiers[].source | string | No | The source that provided this identifier |
metadata | CdpMetadata[] | No | The event payload/properties |
metadata[].id | string | No | |
metadata[].slug | string | No | The attribute/trait key (eg. lifetime_value) |
metadata[].value | object | No | The attribute/trait value |
metadata[].namespace | string | No | The scope or origin of the attribute (eg. computed, event, visitor) |
metadata[].format | enum | No | The data type of the attribute value Values: TEXT, NUMBER, DATE, BOOLEAN, ARRAY, OBJECT |
metadata[].extra_data | object | No | |
source | string | No | The source that produced this event |
source_id | string | No | The cdp_source this event originated from; points to CdpSource |
Are we missing anything? Let us know