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

# Get game by ID

> Retrieves detailed information about a specific game by its unique identifier.



## OpenAPI

````yaml /api-reference/games/openapi.json get /games/{gameId}
openapi: 3.0.0
info:
  title: Games
  version: 1.0.0
  description: API endpoints for managing games in the 16TMS platform
servers:
  - url: https://api.16tms.com/api/v1
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /games/{gameId}:
    get:
      summary: Get game by ID
      description: >-
        Retrieves detailed information about a specific game by its unique
        identifier.
      operationId: getGameById
      parameters:
        - name: gameId
          in: path
          description: The unique identifier of the game
          required: true
          schema:
            type: string
            format: uuid
          example: de578779-61ec-4425-8e13-5b61971bd353
      responses:
        '200':
          description: Game retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetGameByIdResponse'
              example:
                success: true
                message: Game retrieved successfully
                data:
                  id: de578779-61ec-4425-8e13-5b61971bd353
                  name: test
                  description: dsf
                  shortName: test
                  region: Global
                  developer: ''
                  publisher: ''
                  platForm: Android/iOS
                  genre: ''
                  image: >-
                    https://metaninzamedia.blob.core.windows.net/media/games/20260209111206_8be0463e43471d299608f26d92555064.webp
                  coverImage: ''
                  uidPlaceholder: Enter UID
                  mapCount: 0
                meta:
                  traceId: 00-8340d7d724284b1e5036a4b43ce2b1ed-adcf19d2092cb268-00
                  elapsedMs: 1.85
                  serverTimestamp: '2026-02-09T11:12:15.9163903Z'
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Game not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                message: Game not found
                meta:
                  traceId: 00-8340d7d724284b1e5036a4b43ce2b1ed-adcf19d2092cb268-00
                  serverTimestamp: '2026-02-09T11:12:15.9163903Z'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    GetGameByIdResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Indicates if the request was successful
          example: true
        message:
          type: string
          description: A message describing the result of the operation
          example: Game retrieved successfully
        data:
          $ref: '#/components/schemas/Game'
        meta:
          type: object
          properties:
            traceId:
              type: string
              description: Unique trace identifier for debugging purposes
              example: 00-8340d7d724284b1e5036a4b43ce2b1ed-adcf19d2092cb268-00
            elapsedMs:
              type: number
              description: Time taken to process the request in milliseconds
              example: 1.85
            serverTimestamp:
              type: string
              format: date-time
              description: Server timestamp when the response was generated
              example: '2026-02-09T11:12:15.9163903Z'
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Indicates if the request was successful
          example: false
        message:
          type: string
          description: Error message describing what went wrong
          example: Invalid API key
        errors:
          type: array
          description: Detailed error information
          items:
            type: object
            properties:
              field:
                type: string
                description: The field that caused the error
                example: gameId
              message:
                type: string
                description: Description of the error
                example: Invalid game ID format
        meta:
          type: object
          properties:
            traceId:
              type: string
              description: Unique trace identifier for debugging purposes
            serverTimestamp:
              type: string
              format: date-time
              description: Server timestamp when the error occurred
    Game:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the game
          example: de578779-61ec-4425-8e13-5b61971bd353
        name:
          type: string
          description: Full name of the game
          example: PUBG Mobile
        description:
          type: string
          description: Detailed description of the game
          example: Battle royale game for mobile devices
        shortName:
          type: string
          description: Short name or abbreviation of the game
          example: PUBGM
        region:
          type: string
          description: Region where the game is available
          example: Global
        developer:
          type: string
          description: Game developer name
          example: Krafton
        publisher:
          type: string
          description: Game publisher name
          example: Tencent Games
        platForm:
          type: string
          description: Platform(s) where the game is available
          example: Android/iOS
        genre:
          type: string
          description: Game genre or category
          example: Battle Royale
        image:
          type: string
          format: uri
          description: URL to the game's main image
          example: >-
            https://metaninzamedia.blob.core.windows.net/media/games/20260209111206_8be0463e43471d299608f26d92555064.webp
        coverImage:
          type: string
          format: uri
          description: URL to the game's cover image
          example: https://example.com/cover.jpg
        uidPlaceholder:
          type: string
          description: Placeholder text for user ID input field
          example: Enter UID
        mapCount:
          type: integer
          description: Number of maps available for the game
          example: 0
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        API key for authentication. You can generate this from the 16TMS
        console.

````