Skip to main content

Game Parsed Event

The game_parsed event occurs when a game has been fully processed and all data has been stored in the database.

Event Name

"event": "game_parsed"

Request Format

  • The request is sent as a POST request.
  • The Content-Type is application/json.
  • The request contains a Bearer token in the Authorization header (configured in your webhook settings).

Payload Format

{
"id": "550e8400-e29b-41d4-a716-446655440000",
"event": "game_parsed",
"payload": {
"game": {
"id": "3f1a2b4c-5678-90de-f123-456789abcdef",
"map": "de_dust2",
"players": [
{
"steam_id": 76561198000000000,
"nickname": "PlayerOne"
},
{
"steam_id": 76561198000000001,
"nickname": "PlayerTwo"
}
],
"duration": 3600,
"played_at": "2025-03-09T12:00:00Z"
},
"player": {
"steam_id": 76561198000000000,
"nickname": "PlayerOne"
}
}
}

Description

  • The game object contains details about the processed game, including:
    • id: Unique game identifier (UUID format).
    • map: The map where the game took place.
    • players: A list of players with their Steam IDs and nicknames.
    • duration: The total game duration in seconds.
    • played_at: The timestamp when the game was played.
  • The player object provides details about a specific player related to the update.

Handling the Event

  • Ensure your webhook processes the received data and verifies the Bearer token.
  • Store the game details in your system as needed.
  • Use the id field to prevent duplicate processing of the same update.