Inbound integration event

Records a single event delivered by an integration (Shopify, an inbound webhook, …), authenticated by that integration’s own write key.

A first-party SDK write key (not tied to an integration) is rejected here — it belongs on /track / /batch.

Request

This endpoint expects an object.
event_idstringRequired

Unique event ID (ULID)

event_namestringRequired

Event name (page_view, order_completed, etc.)

event_timedoubleRequired

Event timestamp (Unix seconds)

anonymous_idstringRequired
Anonymous visitor ID
schema_version"1"OptionalDefaults to 1
Schema version
user_idstring or nullOptional
Known user ID after identify
traitsobject or nullOptional

User traits (email, phone, etc.)

contextobject or nullOptional
Event context.
consentobject or nullOptional
Google Consent Mode v2.
propertiesmap from strings to any or nullOptional
Event properties
test_modebooleanOptionalDefaults to false
Whether event is in test mode

Response

Successful Response
okbooleanDefaults to true
event_idstring or null
duplicatebooleanDefaults to false

Errors

422
Unprocessable Entity Error