Documentation

AddGenericID

Adds the specified generic service identifier to the player's PlayFab account. This is designed to allow for a PlayFab ID lookup of any arbitrary service identifier a title wants to add. This identifier should never be used as authentication credentials, as the intent is that it is easily accessible by other players.

Request Details

AddGenericIDRequest
Request Properties
GenericId (required) GenericServiceId

Generic service identifier to add to the player account.

POST https://{{TitleID}}.playfabapi.com/Client/AddGenericID
    Content-Type: application/json
    X-Authentication: <user_session_ticket_value>
{
  "GenericId": {
    "ServiceName": "BigBizSocial",
    "UserId": "1234567890"
  }
}
        

Response Details

AddGenericIDResult
Result Properties

Sample Response

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


Authentication

SessionTicket

Possible Error Codes

Name Code
IdentifierAlreadyClaimed 1238