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. OPERATOR API
  2. Protocol API

Create api-token

PreviousProtocol APINextRevoke api-token

Last updated 12 days ago

🔑
post

API tokens securely grant operators access to an API's services by authenticating and authorizing their requests, ensuring proper permission to access resources and perform actions.

Body
brand_idstringRequired

Unique identifier for the brand, provided by the TBB platform.

passwordstringRequired

Password associated with the brand, provided by the TBB platform.

Responses
200
Token successfully created
application/json
401
Unauthorized - Invalid credentials
application/json
post
POST /api/token HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 71

{
  "brand_id": "hsgfthyescf555JKJJKJH",
  "password": "hsgfthyescf555JKJJKJH"
}
{
  "api-token": "example-token"
}