Get User Score by User ID (Public)
Retrieve a specific user's game score for a round. This endpoint does not require authentication.
Endpoint
GET /api/v2/game-point/game-client/{userId}/{roundId}
Authentication
None. This is a public endpoint.
Description
Returns the same score payload as the authenticated Get User Score game-client route, but identifies the player with userId in the path instead of a JWT. Use userId and roundId as two path segments after game-client (the single-segment URL continues to mean “current user” and still requires JWT and game client headers).
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | User identifier (typically Firebase UID) |
roundId | string | Yes | Unique identifier for the tournament round |
Request Example
GET /api/v2/game-point/game-client/user-abc123/round-456
Response
Success Response (200)
{
"score": 1500
}
Error Response (404)
Returned when the round or score data cannot be resolved in line with the underlying service behavior.
Response Fields
| Field | Type | Description |
|---|---|---|
score | number | User's game score for the specified round |
Usage Example
const response = await fetch("https://api.intraverse.io/api/v2/game-point/game-client/user-abc123/round-456", {
method: "GET",
});
const result = await response.json();
console.log(`User's score for this round: ${result.score}`);