This endpoint accepts both public keys (
pk_*) and secret keys (sk_*). Use a public key for client-side tracking (browser, mobile) and a secret key for server-side calls.POST /v1/track
The contact’s email address. If no contact with this email exists in the project, a new one is created.
Event name, e.g.
signed_up, purchased, plan_upgraded. Must not be a reserved system event name.Sets the contact’s subscription status. For new contacts this defaults to
true. For existing contacts the value is only updated when this field is explicitly provided; omitting it preserves the current subscription state.Custom data associated with the event and contact. Simple values are saved to the contact record (persistent). Use the non-persistent format for values that should only be available within workflows triggered by this event.
Response
true when the event was tracked successfully.Examples
Example response
200