Skip to main content

Game stat API

With Talo, you can track game stats on a per-player basis. For example, you could track the number of secrets discovered by a player or the amount of puzzles they've solved. Talo allows you to easily create and increment these kind of stats.

Learn more about game stats here.

Endpoints


Update a stat value

PUT https://api.trytalo.com/v1/game-stats/:internalName

Headers

KeyRequiredDescription
x-talo-player YesThe ID of the player

Route params

KeyRequiredDescription
internalName YesThe internal name of the stat

Body keys

KeyRequiredDescription
change YesThe amount to add to the current value of the stat (can be negative)

Sample request

{ ... }

Sample response

{ ... }