Create Game Session

POST /create

The request body should have these following parameters:

  • roomId : A String representing the unique identifier for the room.

  • gameId : A Long specifying the ID of the game.

  • roomEntry: A BigDecimal defining the entry fee for the room.

  • entryTokenId: A String indicating the token ID used for entry.

  • maxPlayers: An Integer stating the maximum number of players allowed.

  • isFriendsOnly: A Boolean to determine if the session is exclusive to friends.

Payload :

{
    "roomId": "e6e92345-ae24-4d44-acd2-b2145d21c2aj",
    "gameId": 1,
    "entryTokenId": "BANA",
    "roomEntry": 2000,
    "maxPlayers": 2,
    "isFriendsOnly": false
}

Response :

Last updated