Loyalty.lt
Shop games

Get Game Session Status

Retrieves the status of a specific game session

GET/{locale}/shop/game-sessions/{sessionKey}

Retrieves the status of a specific game session

Authorization

bearerAuth
AuthorizationBearer <token>

Enter JWT token in the format: Bearer {token}

In: header

Path Parameters

locale*string

Locale code

sessionKey*string

Session key

Response Body

application/json

curl -X GET "https://example.com/en/shop/game-sessions/game_session_1234567890abcdef1234567890abcdef"
{  "success": true,  "data": {    "id": 1,    "user_id": 1,    "game_id": 1,    "session_key": "game_session_1234567890abcdef1234567890abcdef",    "status": "active",    "score": 1000,    "level": 5,    "progress_data": {      "level": 5,      "score": 1000    },    "started_at": "2023-10-27T10:00:00Z",    "expires_at": "2023-10-27T11:00:00Z",    "completed_at": null,    "reward_claimed": false,    "game": {      "id": 1,      "name": "Wheel of Fortune",      "type": "wheel_of_fortune",      "description": "Spin the wheel to win prizes",      "is_active": true,      "is_featured": false,      "points_cost": 100,      "daily_limit": 5,      "can_play": true,      "play_restriction": null    }  }}