Events API

Log any player interaction or system action. Events are the backbone of reports such as session counts, activity distribution, and retention.

Endpoint

POST /events/hit

Request body (example)

{
  "player_id": "p_123",
  "event_type": "achievement", 
  "metadata": {
    "level": 5,
    "map": "intro_forest",
    "difficulty": "normal",
    "session_id": "s_abc123"
  }
}
    

Response (preview)

{
  "success": true,
  "id": 942381,
  "created_at": "2025-08-10T14:23:01Z"
}
    

Tips

Need full metadata keys, limits, rate policies, and advanced filters? Join to unlock the complete event reference.