cURL
curl --request POST \ --url https://api.castled.io/backend/external/v1/collections/events \ --header 'Api-Key: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "userId": "email@domain.com", "event": "Added to cart", "properties": {}, "timestamp": "2012-12-02T00:30:08.276Z" }'
Send event data to the Castled.io service for tracking.
API generated from Castled dashboard.
Event data to be tracked.
Schema representing the event data.
Event successfully tracked