Create Room

Create Room is used to create rooms according to the game the player wants to play. Such as Connect4 or Caro...

Request

POST /v1/room/create HTTP/1.1
Host: roomkeeper.api.mimiland.io
mm-user-id: 662a347843e80ce0a0d73384
mm-client-id: mml
Content-Type: application/json
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
Content-Length: 310

{
    "groupName": "emote_game",
    "configId": "TIC_TAC_TOE",
    "tag": "TIC_TAC_TOE", 
    "roomMode": ["textMode"],
    "channelType": "public",
    "version": 1,
    
    "configVersion": "1",
    "rules": {
        "betValue": 20000,
        "betType": "COIN"
    }
}

Parameter

Key
Type
Description

groupName *required

String

Name of the game group

configId *required

String

Id of the config game

tag *required

String

tag name

roomMode *required

Array

Mode of the room

channelType *required

String

Type of the channel

configVersion *required

Interger

Version

betValue *required

Interger

Value of the bet

betType *required

String

Type of the bet

Last updated