lobbies.getState


Description

Get the state of any lobby.

This endpoint requires a lobby token for authentication, or a development namespace token for mock responses. When running on Rivet servers, you can access the given lobby token from the RIVET_TOKEN environment variable.


Code Examples

Request

GET
https://api.rivet.gg/matchmaker/lobbies/{lobby_id}/state
curl -X GET 'https://api.rivet.gg/matchmaker/lobbies/{lobby_id}/state'

Request Parameters

lobby_id

Path parameter, required


Response Body