Get player
Returns a player’s profile, account balance, and personal table assignment.
On first call for a new OAuth user, automatically creates a players row
and a wallets row with a £1,000 welcome balance. Subsequent calls return
the live wallets.balance — reflecting any deposits, withdrawals, buy-ins,
and leave payouts since registration.
accountBalance is the lobby wallet (not the seat balance). To get the
seat balance at a specific table, call GET /api/tables/{tableId}/state.
Equivalent to ws_get_player_account_balance in the legacy C# server.
Authorizations
Supabase Auth JWT. Obtain via Supabase Auth sign-in.
Path Parameters
Player UUID (from Supabase auth.users.id)
"abc123-def456"
Response
Player profile
Supabase auth UUID
"abc123"
"simon.hewins@gmail.com"
"Simon"
Total chips in the player's account (not at any table)
1000
"/avatars/user_square.jpg"
UNSPECIFIED_DUE_TO_ERROR, BASIC_USER, PAYING_USER, ANON_USER, ADMIN "BASIC_USER"
true
The player's personal table ID, if they have one
1