Import up to 1,000 past events
/events/importThe backfill endpoint, with its own scope. Same request and response as /events/bulk, but EVERY event is stored as historical, whatever its date: it is kept, counted and visible on the profile, and never triggers a flow or an outbound webhook.
Permission: events:import · on the API key screen: Import past events → Full access · All permissions
Body parameters
metricstringrequiredA metric key (placed_order) or name (Placed Order). An unknown name creates a custom metric (at most 200 per account).
At least 1 characters. At most 100 characters.
profileobjectrequiredExactly one of id, external_id or email.
Show propertiesHide properties
idstringAt most 2,000 characters.
external_idstringAt least 1 characters. At most 255 characters.
emailstringAt most 254 characters.
occurred_atstringDefault: now. Events older than 48 hours are stored as historical: they never trigger flows or webhooks.
At most 2,000 characters.
valuestring | numberA decimal amount, as a string or number.
currencystringAt most 2,000 characters.
propertiesobjectUp to 200 keys, 2,000 values in total, 5 levels deep, 32 KB.
unique_idstringYour id for this event. A repeat with the same unique_id records nothing. Without one, a repeat is prevented only by an Idempotency-Key or by sending occurred_at (identical events then collapse).
At least 1 characters. At most 190 characters.
Response
recordednumberrequiredduplicatesnumberrequiredfailednumberrequiredresultsobject[]requiredAt most 1000 items.
Show propertiesHide properties
indexnumberrequiredstatusstringrequiredOne of:
recordedduplicatefailedAt most 2,000 characters.
event_idstring | nullrequiredAt most 20 characters.
codestring | nullrequiredAt most 64 characters.
paramstring | nullrequiredAt most 300 characters.
messagestring | nullrequiredAt most 500 characters.