Next, proceed by creating a new player. This step allows for the establishment of a new player profile within the MG+ system.
-
Find your API URL. This can be found in MG+ Backoffice, or given to you by your Account Manager.
-
Create a request.
-
Replace the URL with your API URL and DemoAgent with your Agent Code.
-
In the request example, this is the api-demo.k2net.io and the DemoAgent portions of the endpoint.
-
-
Set the Authorization token to be your STS Token.
-
In the request example, this is the (STS Token) portion of the request header.
-
-
Replace the playerId with your player.
-
In the request example, this is the testPlayer portion of the request body.
-
-
|
Request Example |
|---|
|
Request Headers
Request Body
|
-
You should receive a 201 response.
|
Response Example |
|---|
|
201 Response Body Example
|
Checklist
- Did you use the correct API URL from your Account Manager or MG+ Backoffice?
- Did you put /api/v1/ after your API URL?
- Did you use the POST method?
- Did you put the STS Token in the Authorization request header?
- Did you put the playerId in the request body?
- Has the STS Token expired?