Download OpenAPI specification:Download
Technical Documentation for The Business Game API. The aim is to permit to a client to chooose a Game and create a session.
To obtain a valid access data contact info@thebusinessgame.it
The versioning of the API will be done directly in the URL, https://api.thebusinessgame.it/v1/
Returns a JWT Token which is used to identify you. Include this token in all other requests in the header with token word as the key and the token-value as the value. Tokens will expire after 30 days. The token have full-access privileges. Pass your accountId and accountSecret in the request body to obtain the JWT Token.
| accountId | number Id of your account |
| accountSecret | string The secret received from The Business Game |
{- "accountId": 100,
- "accountSecret": 1
}{- "accountId": 100,
- "token": "egccr-235we-werwe3-wefw43wc4twe"
}Creates a new session and returns the newly created session data
| external | string An optional external customer session identifier. Can be empty. |
| gameId | number Id of the game in which the session will be created |
| lang | string Two characters ISO code identifying the language used in the session |
{- "external": "1001-a235-sdfs",
- "gameId": 1,
- "lang": "it"
}{- "sessionId": 1123300,
- "status": "READY"
}