> ## Documentation Index
> Fetch the complete documentation index at: https://help.lobyco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get all games available to the member



## OpenAPI

````yaml openapi/game-v1.json GET /v1/games
openapi: 3.0.4
info:
  title: Game.WebService
  version: v1
servers:
  - url: https://{host}/game
    description: Your Lobyco environment
    variables:
      host:
        default: your-environment.lobyco.net
        description: >-
          The API host for your Lobyco environment. Replace it with the host you
          were given — this placeholder does not resolve.
security:
  - Bearer: []
paths:
  /v1/games:
    get:
      tags:
        - Game
      summary: Get all games available to the member
      parameters:
        - name: memberId
          in: header
          required: true
          schema:
            pattern: (?=\s*\S)^[\S\s]{1,36}$
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CurrentGameResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebServiceError'
components:
  schemas:
    CurrentGameResponse:
      required:
        - gameId
        - gameType
        - gameUrl
      type: object
      properties:
        gameId:
          type: integer
          description: Id of available game
          format: int64
        gameType:
          $ref: '#/components/schemas/GameType'
        allowedAttempts:
          type: integer
          description: Count of allowed attempts to play a game per day.
          format: int32
        gameUrl:
          type: string
          description: >-
            URL of the webview for the game. For informational purposes only.

            Use StartGame endpoint to get the actual game URL with session
            parameters.
          format: uri
        tags:
          type: array
          items:
            type: string
          description: Tags assigned to the game.
          nullable: true
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}
    WebServiceError:
      required:
        - message
        - name
      type: object
      properties:
        name:
          minLength: 1
          type: string
        message:
          minLength: 1
          type: string
        details:
          nullable: true
      additionalProperties: false
    GameType:
      enum:
        - withLogistic
        - withoutLogistic
        - dailyGame
      type: string
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        Opaque Authorization header using the Bearer scheme. Example:
        "Authorization: Bearer {token}"
      name: Authorization
      in: header

````