The Bet Brothers
HomeNewsLinkedIn
  • The Bet Brothers APIS
    • 🧩Core Concepts
    • 🔁API Flow
  • OPERATOR API
    • 🔗Operator Integration Service
    • 🔑Protocol API
      • Create api-token
      • Revoke api-token
  • 🚀Game Launcher API
    • Get Game Providers
    • Get Games
    • Launch Game in Demo Mode
    • Launch game in Real Mode
  • 💰Wallet API
    • Balance
    • Bet
    • Win
    • Refund
    • Rollback Win
  • ⚡Free Spin API
    • Add Free Spin
    • Cancel Free Spin
  • 🎮Game Insights
    • Get Game Bet Levels
    • Get Round Info
  • 📖Addendum
    • TBB Error Codes
    • Wallet Error Response
  • SUPPLIER API
    • 🔗Supplier Integration Service
    • 🔑Supplier Protocol API
    • 🚀Game Launcher API
      • Launch Game in Demo Mode
      • Launch Game in Real Mode
  • 🎲Game Events
    • Balance
    • Bet
    • Win
    • Refund
  • 📖Addendum
    • TBB Error Codes
Powered by GitBook
On this page
  1. Game Launcher API

Launch Game in Demo Mode

PreviousGet GamesNextLaunch game in Real Mode

Last updated 11 days ago

🚀
post

Launch a game in demo mode (fun mode). Fun mode allows users to try the game using virtual currency, providing a real experience of the gameplay without using real funds.

Authorizations
Body
referencestringRequired

Game reference (e.g., Monkey)

languagestringRequired

Player language in ISO 639-1 format (e.g., en, fr). See ISO 639-1 for valid codes.

currency_codestringRequired

Currency code in ISO 4217 format (e.g., EUR, USD). See ISO 4217 for valid codes.

lobby_urlstringRequired

URL to redirect back to the operator site.

is_mobilebooleanRequired

True if it's a mobile client.

is_demobooleanRequired

True for demo mode.

Responses
200
Successfully returned demo game URL.
application/json
401
Unauthorized - Missing or invalid token.
application/json
post
POST /api/play HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 130

{
  "reference": "Monkey",
  "language": "en",
  "currency_code": "EUR",
  "lobby_url": "https://www.google.com",
  "is_mobile": false,
  "is_demo": true
}
{
  "status": "success",
  "game_url": "/game/play?session_token=8888"
}