Skip to main content
POST
Create Play Session

Authorizations

Authorization
string
header
required

Bearer token issued by Softmax

Body

application/json
coworld_id
string
required
Pattern: ^cow_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
variant_id
string | null
game_config
Game Config · object | null
player_count
integer | null
Required range: x > 0
allow_spectators
boolean
default:false
policy_slots
PlaySessionPolicySlotRequest · object[]

Response

Successful Response

session_id
string
required
join_url
string
required
lobby_url
string
required
player_count
integer
required
global_url
string | null
required