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

# Get Title Players From Master Player Account Ids

> Retrieves the title player accounts associated with the given master player account.



## OpenAPI

````yaml post /Profile/GetTitlePlayersFromMasterPlayerAccountIds
openapi: 3.0.0
info:
  version: '260922'
  title: PlayFab Profiles API
  description: >-
    All PlayFab entities have profiles, which hold top-level properties about
    the entity. These APIs give you the tools needed to manage entity profiles.
  termsOfService: https://playfab.com/terms/
  contact:
    url: https://community.playfab.com/index.html
  license:
    name: Apache 2.0
    url: https://github.com/PlayFab/API_Specs/blob/master/LICENSE
servers:
  - url: https://{titleId}.playfabapi.com
    description: PlayFab title endpoint
    variables:
      titleId:
        default: your_title_id
        description: Your PlayFab title ID (hex).
security: []
tags:
  - name: Account Management
    description: Account Management APIs
paths:
  /Profile/GetTitlePlayersFromMasterPlayerAccountIds:
    post:
      tags:
        - Account Management
      summary: Get Title Players From Master Player Account Ids
      description: >-
        Retrieves the title player accounts associated with the given master
        player account.
      operationId: GetTitlePlayersFromMasterPlayerAccountIds
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/GetTitlePlayersFromMasterPlayerAccountIdsRequest
        description: >-
          Given a master player account id (PlayFab ID), returns all title
          player accounts associated with it.
      responses:
        '200':
          $ref: >-
            #/components/responses/GetTitlePlayersFromMasterPlayerAccountIdsResponse
        '400':
          $ref: '#/components/responses/ApiErrorWrapper'
      security:
        - EntityToken: []
components:
  schemas:
    GetTitlePlayersFromMasterPlayerAccountIdsRequest:
      description: >-
        Given a master player account id (PlayFab ID), returns all title player
        accounts associated with it.
      type: object
      properties:
        CustomTags:
          description: >-
            The optional custom tags associated with the request (e.g. build
            number, external trace identifiers, etc.).
          type: object
        MasterPlayerAccountIds:
          description: Master player account ids.
          type: array
          items:
            type: string
        TitleId:
          description: Id of title to get players from.
          type: string
      required:
        - MasterPlayerAccountIds
      example:
        MasterPlayerAccountIds:
          - '1233455677'
        TitleId: abc123
    GetTitlePlayersFromMasterPlayerAccountIdsResponse:
      type: object
      properties:
        TitleId:
          description: >-
            Optional id of title to get players from, required if calling using
            a master_player_account.
          type: string
        TitlePlayerAccounts:
          allOf:
            - $ref: '#/components/schemas/EntityKey'
          description: >-
            Dictionary of master player ids mapped to title player entity keys
            and id pairs
      example:
        TitlePlayerAccounts:
          '1233455677':
            Id: '1234567787392'
            Type: title_player_account
            TypeString: title_player_account
          '2123345568':
            Id: '23458716980912'
            Type: title_player_account
            TypeString: title_player_account
    ApiErrorWrapper:
      description: The basic wrapper around every failed API response
      type: object
      properties:
        code:
          description: Numerical HTTP code
          type: integer
        status:
          description: String HTTP code
          type: string
        error:
          description: Playfab error code
          type: string
        errorCode:
          description: Numerical PlayFab error code
          type: integer
        errorMessage:
          description: Description for the PlayFab errorCode
          type: string
        errorDetails:
          description: Detailed description of individual issues with the request object
          type: object
      required:
        - code
        - errorCode
    EntityKey:
      description: >-
        Combined entity type and ID structure which uniquely identifies a single
        entity.
      type: object
      properties:
        Id:
          description: Unique ID of the entity.
          type: string
        Type:
          description: >-
            Entity type. See
            https://learn.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types
          type: string
      required:
        - Id
  responses:
    GetTitlePlayersFromMasterPlayerAccountIdsResponse:
      description: ''
      content:
        application/json:
          schema:
            type: object
            properties:
              code:
                type: integer
                description: >-
                  The Http status code. If X-ReportErrorAsSuccess header is set
                  to true, this will report the actual http error code.
              status:
                type: string
                description: The Http status code as a string.
              data:
                $ref: >-
                  #/components/schemas/GetTitlePlayersFromMasterPlayerAccountIdsResponse
            example:
              code: 200
              status: OK
              data:
                TitlePlayerAccounts:
                  '1233455677':
                    Id: '1234567787392'
                    Type: title_player_account
                    TypeString: title_player_account
                  '2123345568':
                    Id: '23458716980912'
                    Type: title_player_account
                    TypeString: title_player_account
    ApiErrorWrapper:
      description: This is the outer wrapper for all responses with errors
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorWrapper'
  securitySchemes:
    EntityToken:
      type: apiKey
      in: header
      name: X-EntityToken
      description: >-
        This API requires an Entity Session Token, available from the Entity
        GetEntityToken method.

````

## Related topics

- [Get Title Players From Master Player Account Ids](/api-reference/account-management/get-title-players-from-master-player-account-ids.md)
- [PFProfilesGetTitlePlayersFromMasterPlayerAccountIdsRequest](/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilesgettitleplayersfrommasterplayeraccountidsrequest.md)
- [PFProfilesGetTitlePlayersFromMasterPlayerAccountIdsAsync](/services/playfab/api-references/c/pfprofiles/functions/pfprofilesgettitleplayersfrommasterplayeraccountidsasync.md)
- [PFProfilesGetTitlePlayersFromMasterPlayerAccountIdsResponse](/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilesgettitleplayersfrommasterplayeraccountidsresponse.md)
- [PFProfilesGetTitlePlayersFromMasterPlayerAccountIdsGetResult](/services/playfab/api-references/c/pfprofiles/functions/pfprofilesgettitleplayersfrommasterplayeraccountidsgetresult.md)
