API
⭐️ matchmaker.lobbies.find
API
⭐️ matchmaker.lobbies.find
Finds a lobby based on the given criteria.
If a lobby is not found and prevent_auto_create_lobby
is true
,
a new lobby will be created.
POST https://matchmaker.api.rivet.gg/v1/lobbies/find
curl -X POST -d '@body.json' 'https://matchmaker.api.rivet.gg/v1/lobbies/find'
Authorizations
Authorization[header]required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
origin
string
Body
captcha
object
Methods to verify a captcha
game_modesrequired
string[]
prevent_auto_create_lobby
boolean
regions
string[]
Response
lobbyrequired
object
A matchmaker lobby.
playerrequired
object
A matchmaker lobby player.
portsrequired
object
curl -X POST -d '@body.json' 'https://matchmaker.api.rivet.gg/v1/lobbies/find'