Players
Players API is responsible for creating players.
Player
POST
/Integrations/InitializePlayer
Headers
Name | Type | Description |
---|---|---|
APIKey | string | client API key |
Request Body
Name | Type | Description |
---|---|---|
playerUniqueId | string | Player external ID used by integrator to uniquely identify the player in Gameball |
displayName | string | Player's Name |
string | Player's email | |
dateOfBirth | string | Player's date of birth |
gender | string | Player's gender |
mobileNumber | string | Player's phone |
joinDate | string | The date the player joined Gameball |
custom | object | player's custom attributes that could be added (eg: location, height) |
Examples
The example shown is a request sent to Gameball to create a player with playerUniqueId
“ac2635be”and with some custom attributes inside the custom
Object.
All attributes should be inside the playerAttributes
object, if the values of any attributes shown below are unavailable, remove the attribute from the playerAttributes
object.
Last updated