Links the Game Center account associated with the provided Game Center ID to the user's PlayFab account

Request Details

Request Properties
ForceLink Boolean

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

GameCenterId (required) String

Game Center identifier for the player account to be linked.

PublicKeyUrl String

The URL for the public encryption key that will be used to verify the signature.

Salt String

A random value used to compute the hash and keep it randomized.

Signature String

The verification signature of the authentication payload.

Timestamp String

The integer representation of date and time that the signature was created on. PlayFab will reject authentication signatures not within 10 minutes of the server's current time.

POST https://{{TitleID}}
    Content-Type: application/json
    X-Authentication: <user_session_ticket_value>
  "GameCenterId": "2998h2998f0b000d0993"

Response Details

Result Properties

Sample Response

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



Possible Error Codes

Name Code
AccountAlreadyLinked 1011
LinkedAccountAlreadyClaimed 1012