v1
latestOpenAPI 3.0.32026-07-24235275.4 KBCustom Events
Custom Events
Make a call to this endpoint for any event-based data representing user actions.
post/events/custom
Request body
Example request
{
"type": "Order Shipped",
"properties": {
"mediaUrl": "https://cdn.example.com/images/sample-image.jpg",
"orderStatusURL": "https://example.com/orderstatus/54321",
"delivery_date": "May 10",
"Order Id": "54321",
"products": [
"productId1",
"productId2"
],
"shipment": {
"carrier": "fedex",
"trackingNumber": "12345"
}
},
"externalEventId": "37fb97a9-6cfd-4983-bd65-68d104d53b70",
"occurredAt": "2021-03-30T14:38:29.000Z",
"user": {
"phone": "+13115552368",
"email": "test@gmail.com"
}
}Response
Ok