Skip to main content
POST
/
api
/
tournaments
/
{tournamentId}
/
players
Register player
curl --request POST \
  --url https://ts.playservices.tech/api/api/tournaments/{tournamentId}/players \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "USER_12345",
  "display_name": "TestPlayer",
  "entry_payment_details": {
    "payment_id": "PAY_67890"
  }
}
'
{
  "player_id": "<string>",
  "internal_player_id": "TP_123_456_789",
  "tournament_id": "<string>",
  "status": "registered",
  "crash-classic": {
    "jwt": "<string>",
    "game_url": "https://games.casino.com/crash?jwt=eyJ0eXAi..."
  },
  "message": "<string>"
}
Register a player for a tournament. Returns a JWT token for game access and the game URL to launch the tournament. The player must have sufficient balance for the entry fee.

Authorizations

Authorization
string
header
required

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

Path Parameters

tournamentId
string
required

Unique tournament identifier

Example:

"12345"

Body

application/json
user_id
string
required
Example:

"USER_12345"

display_name
string
required
Example:

"TestPlayer"

entry_payment_details
object

Response

Player registered successfully

player_id
string
internal_player_id
string
Example:

"TP_123_456_789"

tournament_id
string
status
string
Example:

"registered"

crash-classic
object

Game access keyed by game slug

message
string