level_complete. You see the totals in Stats. An event has no personal data in it. A game sends events with the SDK’s og.track.
Authentication covers each credential, and errors covers the JSON error body.
Record the game’s own events
POST https://api.opengame.gg/v1/events
Authentication: A game session token.
A batch of named events with allowlisted properties. At most 200 events a request. Each event counts against per-session (600 a minute), per-player (1200) and per-address (3000) budgets; events over budget are counted in limited and not stored. String values that look like contact details are dropped. A malformed event is counted in refused without failing the rest. Traffic from datacenters and known bots is answered with filtered: true and not stored. A private preview’s events are accepted and marked, and no rollup counts them. While OpenGame is not taking analytics events, a batch whose events include eventId gets 503 analytics_unavailable and should be kept.
Body
Sent asapplication/json.
Request
cURL
Response 200
Accepted.acceptedIds names each event stored; retry the others with the same IDs. Also the answer to a batch with no valid events, and to filtered traffic with filtered: true.