Link Xbox Account
Links the Xbox Live account associated with the provided access code to the user’s PlayFab account
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| AccountAlreadyLinked | 1011 |
| AccountNotFound | 1001 |
| InvalidNamespaceMismatch | 1561 |
| InvalidXboxLiveToken | 1188 |
| LinkedAccountAlreadyClaimed | 1012 |
POST
Link Xbox Account
Authorizations
This API requires a title secret key, available to title admins, from PlayFab Game Manager.
Body
application/json
PlayFab unique identifier of the user to link.
Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/", "").
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.
Last modified on October 1, 2026
