cURL
curl --request POST \ --url https://api.castled.io/backend/external/v1/collections/users \ --header 'Api-Key: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "userId": "1a56624a-1223bc-127283d", "traits": {} }'
Send user data to the Castled.
API generated from Castled dashboard.
User data to be tracked.
Schema representing the user data.
User successfully tracked