Onboard a Player
POST {{baseUrl}}/{{version}}/onboarding/player/{{user_id}}
Once you have created a player account this endpoint will help you set up a bit more information about the player. This is the onboarding endpoint.
Onboarding is not a mandatory step since the account is already created and ready to go.
Request Body
[{"name"=>"first_name", "value"=>"John", "datatype"=>"string"}, {"name"=>"last_name", "value"=>"Smith", "datatype"=>"string"}, {"name"=>"email", "value"=>"mylovely@email.com", "datatype"=>"string"}, {"name"=>"password", "value"=>"MyS3cur3P4ssw0rd", "datatype"=>"string"}, {"name"=>"gender", "value"=>"", "datatype"=>"null"}, {"name"=>"dob", "value"=>"", "datatype"=>"null"}, {"name"=>"send_welcome_email", "value"=>"", "datatype"=>"null"}, {"name"=>"team_id", "value"=>"", "datatype"=>"null"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token |
RESPONSES
status: OK
{"error":false,"code":200,"message":"The new account has been created successfully!","user_id":100}