---
title: "Create New Game"
method: POST
path: "/game-create-new"
tags: ["Game Launcher"]
---

# Create New Game

`POST /game-create-new`

Create new game. This method is used to register a new Game Session on our server and get a URL to the game.  
URL to the game contains our game launcher.

## Headers

- `X-REQUEST-SIGN` string, required

## Request body

- CreateNewGameRequest
  - `cid` string, uuid, required — Client's ID (internal). It's provided by us and is used to identify the client.
  - `extcid` string — External Client's ID (game aggregator or casino). This is your ID, which helps you to identify us. We use it in all callbacks to you.
  - `gameid` string, required — Game's ID. See the list of supported games in `Game IDs` section.
  - `sessionid` string — External Client's Session ID (game integrator or casino).This is your Session ID. We use it in all callbacks to you. Could be missed for a demo game.
  - `providerid` 'playhub' — Provider ID. If you're using `Playhub Integration Adapter` pass `playhub` here.
  - `returnurl` string — Return URL
  - `currency` string, required — Currency code in ISO4217
  - `locale` string, required — Locale code in ISO639-1
  - `demo` boolean — Demo mode. If true, the game will be launched in demo mode (means no callbacks will be called on your side, and we use our demo balance for the game). If false, the game will be launched in real mode.
  - `user` object — User information we show in the game.
    - `id` string, required — User's ID (external)
    - `firstname` string
    - `lastname` string
    - `nickname` string
    - `country` string — Country code ISO 3166-1

## Response `200`

ok

- CreateNewGameResponse
  - `game_url` string, required
  - `game_session_id` string, uuid, required

## Other responses

- `401` — Wrong signature or API key
- `500` — Server error occurred

---

[API](https://skmtc.dev/fastplaynetwork/apis/playhub-core-api.md) · [All operations](https://skmtc.dev/fastplaynetwork/apis/playhub-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fastplaynetwork/playhub-core-api/revisions/2cfd86cc6d48/schema)
