Skip to main content
GET
/
players
/
{playerId}
/
bets
/
count
Get total bet count for a player
curl --request GET \
  --url https://mock-api.cevro.ai/v1/players/{playerId}/bets/count \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Session-ID: <x-session-id>'
{
  "total_bets": 4
}

Authorizations

Authorization
string
header
required

API Bearer token. For this demo, any non-empty string is accepted.

Headers

X-Session-ID
string
required

Path Parameters

playerId
string
required

Response

Bet count retrieved successfully

total_bets
integer
Example:

4