Skip to main content
POST
Create a game

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The session table to play on and the game type

game_type_id
string<uuid>
required
session_table_id
string<uuid>
required

Response

The created game.

data
object

The payload. Left out when there is none.

message
string

Text that is safe to show a user. Left out when there is none.

status
enum<string>

success or error. A 410 for a session that has ended says ended instead.

Available options:
success,
error,
ended