Skip to main content
GET
Get player

Authorizations

Authorization
string
header
required

Supabase Auth JWT. Obtain via Supabase Auth sign-in.

Path Parameters

playerId
string<uuid>
required

Player UUID (from Supabase auth.users.id)

Example:

"abc123-def456"

Response

Player profile

playerId
string

Supabase auth UUID

Example:

"abc123"

username
string
Example:

"simon.hewins@gmail.com"

displayName
string
Example:

"Simon"

accountBalance
number

Total chips in the player's account (not at any table)

Example:

1000

avatarImageUrl
string
Example:

"/avatars/user_square.jpg"

role
enum<string>
Available options:
UNSPECIFIED_DUE_TO_ERROR,
BASIC_USER,
PAYING_USER,
ANON_USER,
ADMIN
Example:

"BASIC_USER"

isActive
boolean
Example:

true

personalTableId
integer | null

The player's personal table ID, if they have one

Example:

1