Mint a demo session for a game
POST/games/:id/demo-sessions
Opens a demo session at the provider for a catalog game and returns its
launch URL, ready to hand to a seat as game_url / creator_game_url.
In production a player's session belongs to your casino and this route has no place in that flow. It exists for the case the bot path cannot serve: seating a real, playable session with no wallet behind it — a demo, a smoke test, or a support engineer reproducing a battle.
launch_url is a live session: whoever holds it plays it. It is returned
once and never logged. Hand it straight to a seat.
Every refusal that can be answered locally — unknown key, missing scope, unknown game, game not allowed — is answered before the provider is touched, so a rejected caller never opens a session under your credentials.
Scope: demo:mint
Request
Responses
- 200
- 401
- 403
- 404
- 502
- 503
A live demo session
Missing, malformed, revoked or expired API key
The key lacks demo:mint, the casino is suspended, or the game is not in this casino's allowlist
No such game in the catalog
The provider refused the session, or returned an empty launch URL
The instance has no provider credentials configured for this casino, so no demo session can be opened