LogoLogo
  • Welcome
  • Authentication
  • Error Handling
  • Official Plugins
  • Endpoints
    • Information
    • Plugin Information
    • Sessions
    • Heartbeats
    • Setup
  • Configuration
    • Encryption Key
    • Debug Mode
    • Excluding Players
    • Bedrock Support
  • Features
    • Custom Events
    • Revenue Tracking
  • Java SDK
    • Information
    • Players
    • Events
    • Modules
  • Integrations
    • TCP Shield
Powered by GitBook
On this page
  1. Endpoints

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
}

PreviousPlugin InformationNextHeartbeats

Last updated 1 year ago