Documentation

GetServerCustomIDsFromPlayFabIDs

Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers.

Request Details

GetServerCustomIDsFromPlayFabIDsRequest
Request Properties
PlayFabIDs (required) List<String>

Array of unique PlayFab player identifiers for which the title needs to get server custom identifiers. Cannot contain more than 25 identifiers.

POST https://{{TitleID}}.playfabapi.com/Server/GetServerCustomIDsFromPlayFabIDs
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "PlayFabIDs": [
    "1232421311"
  ]
}
        

Response Details

For a PlayFab account that isn't associated with a server custom identity, ServerCustomId will be null.

GetServerCustomIDsFromPlayFabIDsResult
Result Properties
Data List<ServerCustomIDPlayFabIDPair>

Mapping of server custom player identifiers to PlayFab identifiers.

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {
    "Data": [
      {
        "PlayFabId": "1232421311",
        "ServerCustomId": "asdasd9713jsdsdasasd"
      }
    ]
  }
}

Authentication

SecretKey

Possible Error Codes

Name Code