LobbyLab Multiplayer API reference

Status: private alpha. https://api.lobbylab.gg answers once the alpha opens; request a key at https://lobbylab.gg/developers. The routes below are the published contract and may still change before then.

Conventions

Client routes

MethodPathAuthShips
POST/v1/auth/anonymouspublishable keyalpha
POST/v1/roomsplayer tokenalpha
POST/v1/rooms/joinplayer tokenalpha
POST/v1/rooms/{roomId}/joinplayer tokenalpha
POST/v1/matchmakeplayer tokenalpha
GET/v1/roomspublishable keyalpha
GET/v1/rooms/{roomId}player tokenalpha
POST/v1/rooms/{roomId}/seatplayer tokenalpha
POST/v1/rooms/{roomId}/leaveplayer tokenalpha
POST/v1/rooms/{roomId}/reportsplayer tokenafter the alpha
GET/v1/plansnonealpha

Server routes

MethodPathAuthShips
POST/v1/player-tokenssecret key (backend only)alpha
POST/v1/roomssecret key (backend only)alpha
GET/v1/roomssecret key (backend only)alpha
GET/v1/rooms/{roomId}secret key (backend only)alpha
GET/v1/configsecret key (backend only)alpha
PUT/v1/configsecret key (backend only)alpha
GET/v1/usagesecret key (backend only)alpha
DELETE/v1/rooms/{roomId}secret key (backend only)after the alpha
GET/v1/rooms/{roomId}/statesecret key (backend only)after the alpha
PATCH/v1/rooms/{roomId}/statesecret key (backend only)after the alpha
POST/v1/rooms/{roomId}/messagessecret key (backend only)after the alpha
POST/v1/rooms/{roomId}/members/{memberId}/kicksecret key (backend only)after the alpha

After you have a seat

Open the seat's wsUrl and speak multiplayer-wire/v0: see the wire protocol and the room lifecycle.