Documentation

GetPlayFabIDsFromSteamIDs

Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile IDs for the user accounts, available as SteamId in the Steamworks Community API calls.

Request Details

GetPlayFabIDsFromSteamIDsRequest
Request Properties
SteamStringIDs List<String>

Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers.

POST https://{{TitleID}}.playfabapi.com/Server/GetPlayFabIDsFromSteamIDs
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "SteamStringIDs": [
    "857498576495",
    "759374651209"
  ]
}
        

Response Details

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

GetPlayFabIDsFromSteamIDsResult
Result Properties
Data List<SteamPlayFabIdPair>

Mapping of Steam identifiers to PlayFab identifiers.

Sample Response

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

Authentication

SecretKey

Possible Error Codes

Name Code
AccountNotFound 1001
InvalidPublisherId 1126