Sessions

Learn more about the session endpoints.

Track a player session

POST https://analytics.tebex.io/api/v1/server/sessions

Tracks the players in-game session.

Headers

Name
Type
Description

X-Server-Token*

string

The secret key of the server.

Request Body

Name
Type
Description

name*

string

The players username

uuid*

string

The players unique identifier

first_joined_at*

datetime

The first log-in date and time

joined_at*

datetime

The time the player joined the server.

quit_at*

datetime

The time the player quit the server.

country*

string

The 2-character country code the player joined from.

domain*

string

The domain name that the player used to connect.

{
  "success": true
}

Last updated