Track event
documentedRecord a custom event for a person (or anonymous user) with optional properties.
POST /v1/trackPeopleno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://cdp.customer.io/v1/track" \
-X POST \
-u "{{CUSTOMER_API_KEY}}:" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"userId": "{{$user_id}}", "event": "{{$event}}", "properties": {{$properties}}, "integrations": {{$integrations}}, "messageId": "{{$message_id}}", "sentAt": "{{$sent_at}}", "originalTimestamp": "{{$original_timestamp}}"}'