Skip to main content

Create new game

POST 

/create-new-game

Use this request to create a new game. It registers new demo or real game on the server and returns the Launcher URL for the game. You can redirect the user to this URL to start playing the game or open it in iFrame.

The currency and locale are validated against the supported sets (see Locales). An unsupported value returns 400 with code currency_not_supported / locale_not_supported. For an unsupported locale you can set fallbackToDefaultLocale: true to create the game with the default locale (en_us) instead of receiving the error. If the user is blacklisted or the client has no access to the requested game, the request returns 403 (account_blocked / game_not_found).

Request

Responses

ok