Imports multiple custom events in a single batch operation. Maximum 50 events per request. Auto-creates contacts if they don’t exist.
API token for authentication
The ID of the workspace
"ws_1234567890"
Array of custom events to import (1-50 events)
1 - 50 elements[
{
"event_name": "orders/fulfilled",
"external_id": "shopify_order_12345",
"email": "[email protected]",
"properties": {
"order_total": 129.99,
"product_name": "Premium Subscription"
},
"occurred_at": "2023-05-15T14:30:00Z"
},
{
"event_name": "payment/succeeded",
"external_id": "stripe_payment_67890",
"email": "[email protected]",
"properties": { "amount": 129.99, "currency": "USD" },
"occurred_at": "2023-05-15T14:29:00Z"
}
]