Documentation

GetPlayFabIDsFromXboxLiveIDs

Retrieves the unique PlayFab identifiers for the given set of XboxLive identifiers.

Request Details

GetPlayFabIDsFromXboxLiveIDsRequest
Request Properties
Sandbox String

The ID of Xbox Live sandbox.

XboxLiveAccountIDs (required) List<String>

Array of unique Xbox Live account identifiers for which the title needs to get PlayFab identifiers.

POST https://{{TitleID}}.playfabapi.com/Client/GetPlayFabIDsFromXboxLiveIDs
    Content-Type: application/json
    X-Authentication: <user_session_ticket_value>
{
  "XboxLiveAccountIDs": [
    "857498576495",
    "759374651209"
  ],
  "Sandbox": "RETAIL"
}
        

Response Details

For XboxLive identifiers which have not been linked to PlayFab accounts, null will be returned.

GetPlayFabIDsFromXboxLiveIDsResult
Result Properties
Data List<XboxLiveAccountPlayFabIdPair>

Mapping of PlayStation Network identifiers to PlayFab identifiers.

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {
    "Data": [
      {
        "XboxLiveAccountId": "857498576495",
        "PlayFabId": "5a446c83645201"
      },
      {
        "XboxLiveAccountId": "759374651209",
        "PlayFabId": "6345cd25a6c7cc"
      }
    ]
  }
}

Authentication

SessionTicket

Possible Error Codes

Name Code
AccountNotFound 1001