Skip to main content

Player presence API

The player presence API allows you to automatically track the presence of players in your game. This can be useful for a variety of use cases, such as showing a player as online or offline, setting custom statuses and friends lists.

Endpoints


Get a player's online status and custom status

GET https://api.trytalo.com/v1/players/presence/:id

Headers

None available

Route params

KeyRequiredDescription
id YesThe ID of the player

Query keys

None available

Sample response

{ ... }

Update a player's online status and custom status

PUT https://api.trytalo.com/v1/players/presence

Sample request

{ ... }

Sample response

{ ... }