lobbies.setState


Description

Sets the state JSON of the current 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

PUT
https://api.rivet.gg/matchmaker/lobbies/state
# Write the request body to body.json before running
curl -X PUT -d '@body.json' 'https://api.rivet.gg/matchmaker/lobbies/state'

Request Parameters


Request Body


Response Body

Empty response body.

Was this page helpful?

Edit Page