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

  • Base URL
    https://api.premierecopilot.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.premierecopilot.com/api/track
  • Auth
    OAuth 2
    Password
    Token URL: token

Request body

eventstring required

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

propertiesobject nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 11 revisions of this API.