Passer au contenu principal
POST
Link Google Play Games Services Account

Autorisations

X-Authorization
string
header
requis

This API requires a client session ticket, available from any Client Login function.

Corps

application/json

Google Play Games sign-in is accomplished by obtaining a Google OAuth 2.0 credential using the Google Play Games sign-in for Android APIs on the device and passing it to this API.

Google Play Games sign-in is accomplished by obtaining a Google OAuth 2.0 credential using the Google Play Games sign-in for Android APIs on the device and passing it to this API.

ServerAuthCode
string
requis

OAuth 2.0 server authentication code obtained on the client by calling the requestServerSideAccess() (https://developers.google.com/games/services/android/signin) Google Play Games client API.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

If another user is already linked to the account, unlink the other user and re-link. If the current user is already linked, link both accounts

Réponse

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
Dernière modification le 6 octobre 2026