Register Play Fab User
Registers a new Playfab user account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. You must supply a username and an email address.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| EmailAddressNotAvailable | 1006 |
| EncryptionKeyMissing | 1290 |
| EvaluationModePlayerCountExceeded | 1490 |
| InvalidEmailAddress | 1005 |
| InvalidPartnerResponse | 1193 |
| InvalidPassword | 1008 |
| InvalidUsername | 1007 |
| NameNotAvailable | 1058 |
| ProfaneDisplayName | 1234 |
| SignedRequestNotAllowed | 1302 |
| UsernameNotAvailable | 1009 |
Body
Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
An optional parameter for setting the display name for this title (3-25 characters).
User email address attached to their account
Base64 encoded body that is encrypted with the Title's public RSA key.
Flags for which pieces of info to return for the user.
Password for the PlayFab account (6-100 characters)
Player secret that is used to verify API request signatures.
An optional parameter that specifies whether both the username and email parameters are required. If true, both parameters are required; if false, the user must supply either the username or email parameter. The default value is true.
PlayFab username for the account (3-20 characters)
Response
Each account must have a unique 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.
The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.
The Http status code as a string.
Each account must have a unique 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.
