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

# Get tournament players for room assignment

> Get all players in a tournament with their internal IDs for game platform



## OpenAPI

````yaml api-reference/openapi.json get /api/internal/tournaments/{tournamentId}/players
openapi: 3.1.0
info:
  title: Tournament Platform API
  description: >-
    Comprehensive API for managing real-time multiplayer tournaments with Game
    Platform integration. Includes both external Casino Integration APIs and
    internal Game Platform APIs.
  version: 1.0.0
  license:
    name: MIT
  contact:
    name: Tournament Platform Support
    url: https://ts.playservices.tech/
    email: support@playservices.tech
servers:
  - url: https://ts.playservices.tech/api
    description: Production server
security:
  - OperatorAPIKey: []
  - InternalAPIKey: []
paths:
  /api/internal/tournaments/{tournamentId}/players:
    get:
      tags:
        - Game Platform - Configuration
      summary: Get tournament players for room assignment
      description: >-
        Get all players in a tournament with their internal IDs for game
        platform
      parameters:
        - $ref: '#/components/parameters/TournamentId'
      responses:
        '200':
          description: Tournament players for game platform
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalPlayersResponse'
        '404':
          $ref: '#/components/responses/NotFound'
      security:
        - InternalAPIKey: []
components:
  parameters:
    TournamentId:
      name: tournamentId
      in: path
      required: true
      description: Unique tournament identifier
      schema:
        type: string
        example: '12345'
  schemas:
    InternalPlayersResponse:
      type: object
      properties:
        tournament_id:
          type: string
        total_players:
          type: integer
        max_players:
          type: integer
        tournament_status:
          type: string
        players:
          type: array
          items:
            type: object
            properties:
              internal_player_id:
                type: string
              display_name:
                type: string
              external_id:
                type: string
              status:
                type: string
              points:
                type: string
              current_round_id:
                type: string
              current_group_id:
                type: string
              entry_count:
                type: integer
              registered_at:
                type: string
                format: date-time
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
        message:
          type: string
        details:
          type: object
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    OperatorAPIKey:
      type: http
      scheme: bearer
      description: >-
        Operator API key with role-based permissions (tournaments.read,
        players.write, etc.)
    InternalAPIKey:
      type: apiKey
      in: header
      name: X-Internal-Api-Key
      description: Internal API key for Game Platform integration

````