Documentation

LinkAndroidDeviceID

Links the Android device identifier to the user's PlayFab account

Request Details

LinkAndroidDeviceIDRequest
Request Properties
AndroidDevice String

Specific model of the user's device.

AndroidDeviceId (required) String

Android device identifier for the user's device.

ForceLink Boolean

If another user is already linked to the device, unlink the other user and re-link.

OS String

Specific Operating System version for the user's device.

POST https://{{TitleID}}.playfabapi.com/Client/LinkAndroidDeviceID
    Content-Type: application/json
    X-Authentication: <user_session_ticket_value>
{
  "AndroidDeviceId": "526f79204261747479",
  "OS": "5.0",
  "AndroidDevice": "Nexus 6"
}
        

Response Details

LinkAndroidDeviceIDResult
Result Properties

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8


Authentication

SessionTicket

Possible Error Codes

Name Code
DeviceAlreadyLinked 1119
LinkedDeviceAlreadyClaimed 1118