Skip to main content
GET
/
api
/
players
/
{userId}
/
tournaments
Get player tournament history
curl --request GET \
  --url https://ts.playservices.tech/api/api/players/{userId}/tournaments \
  --header 'Authorization: Bearer <token>'
{
  "player_id": "<string>",
  "external_id": "<string>",
  "display_name": "<string>",
  "tournament_history": {
    "data": [
      {
        "tournament_id": "<string>",
        "tournament_name": "<string>",
        "tournament_type": "<string>",
        "status": "<string>",
        "started_at": "2023-11-07T05:31:56Z",
        "ended_at": "2023-11-07T05:31:56Z",
        "player_status": "<string>",
        "points_earned": "<string>",
        "final_position": 123,
        "total_players": 123
      }
    ]
  },
  "performance_statistics": {
    "total_tournaments": 123,
    "completed_tournaments": 123,
    "average_position": 123,
    "best_position": 123,
    "total_points_earned": 123
  }
}

Authorizations

Authorization
string
header
required

Operator API key with role-based permissions (tournaments.read, players.write, etc.)

Path Parameters

userId
string
required

Player's external user ID

Example:

"USER_12345"

Response

Player tournament history

player_id
string
external_id
string
display_name
string
tournament_history
object
performance_statistics
object