Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.

Request Details

Request Properties
Email (required) String

User email address attached to their account

Password (required) String

Password for the PlayFab account (6-100 characters)

Username (required) String

PlayFab username for the account (3-20 characters)

POST https://{{TitleID}}
    Content-Type: application/json
    X-Authentication: <user_session_ticket_value>
  "Username": "theuser",
  "Email": "",
  "Password": "thepassword"

Response Details

Each account must have a unique username and email address in the PlayFab service. Once created, the account may be associated with additional accounts (Steam, Facebook, Game Center, etc.), allowing for added social network lists and achievements systems. This can also be used to provide a recovery method if the user loses their original means of access.

Result Properties
Username String

PlayFab unique user name.

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
  "code": 200,
  "status": "OK",
  "data": {
    "Username": "username"



Possible Error Codes

Name Code
AccountAlreadyLinked 1011
EmailAddressNotAvailable 1006
InvalidEmailAddress 1005
InvalidPassword 1008
InvalidTitleId 1004
InvalidUsername 1007
UsernameNotAvailable 1009