Events

Record an analytics event via the console API with explicit project ID.

The app backend forwards the user's encrypted Temps cookies, so visitor/session identity is resolved automatically by middleware. No geolocation or user-agent enrichment is performed — this is a lightweight server-side ingestion path.

post/projects/{project_id}/events/ingest

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/projects/{project_id}/events/ingest
  • Auth: HTTP bearer

Path parameters

project_idinteger required

Project ID

Request body

deployment_idinteger required

Deployment ID to attribute the event to

environment_idinteger required

Environment ID to attribute the event to

event_dataunknown
event_namestring required

Event name (e.g. "purchase", "signup", custom event names)

request_pathstring

Page path context (defaults to "/")

request_querystring

Query string context

session_idstring nullable

Encrypted _temps_sid cookie value from the user's browser

visitor_idstring nullable

Encrypted _temps_visitor_id cookie value from the user's browser

Response

Event recorded successfully

Changes

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