Track event
Send event data to the Castled.io service for tracking.
POST
/
external
/
v1
/
collections
/
events
Headers
Api-Key
string
requiredAPI generated from Castled dashboard.
Body
application/json
Schema representing the event data.
userId
string
requiredEmail ID of the user triggering the event.
event
string
Name of the event being tracked.
properties
object
Flatmap for tracking additional properties related to the event.
timestamp
string
Time when the event took place. Optional, if not specified, event gets the current timestamp.