POST
/
external
/
v1
/
collections
/
events

Headers

Api-Key
string
required

API generated from Castled dashboard.

Body

application/json

Schema representing the event data.

userId
string
required

Email 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.