Skip to main content

Seat a player

POST 

/battles/:id/seats

Takes the lowest-index empty seat, or upgrades the caller's existing FILLED seat to READY. Because a game_url is required, the seat is always READY afterwards — which is what can trigger auto-start.

A player already holding a READY or PLAYING seat cannot join again; one holding a FILLED seat is upgrading, which is allowed.

The response carries a viewer token when the instance has a signing key.

Scope: battles:write

Request

Responses

Seat taken