Tracking

Track Event

Forward a frontend product event to PostHog.

The user's email is automatically attached as distinct_id; the front never has to send it. Properties are passed through verbatim — keep them small (PostHog truncates very large payloads).

post/api/track

Request body

eventstring required

PostHog event name (e.g. 'panel.opened')

propertiesobject nullable

Response

Successful Response

{"stackTrail":"paths:/api/track:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.