Documentation

LinkTwitch

Links the Twitch account associated with the token to the user's PlayFab account.

Request Details

LinkTwitchAccountRequest
Request Properties
AccessToken (required) String

Valid token issued by Twitch

ForceLink Boolean

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

POST https://{{TitleID}}.playfabapi.com/Client/LinkTwitch
    Content-Type: application/json
    X-Authentication: <user_session_ticket_value>
{
  "AccessToken": "TwitchAccessToken"
}
        

Response Details

LinkTwitchAccountResult
Result Properties

Sample Response

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


Authentication

SessionTicket

Possible Error Codes

Name Code
DownstreamServiceUnavailable 1127
FeatureNotConfiguredForTitle 1177
InvalidTwitchToken 1232
LinkedAccountAlreadyClaimed 1012
TwitchResponseError 1233