Lobby Host and Query
A 3-step recipe with Unity. We can help you get access.
Recipe · 3 steps
Lobby Host and Query
with Unity
Host a public lobby, heartbeat it, and confirm it is discoverable.
- Create a public lobby with the requesting player as host.
- Send a heartbeat to keep the lobby active so it is not automatically deleted.
- Query public lobbies that still have open slots to confirm the new lobby is discoverable by other players.
What you'll need to have ready
- accessToken: Bearer JWT for the hosting player.
- lobbyName: Display name for the new lobby.
- maxPlayers: Maximum number of players the lobby allows.
- hostPlayerId: The Unity player id of the host.
For your developer
Arazzo workflow unity:lobby-host-and-query, 3 operations: createLobby → heartbeatLobby → queryLobbies. Specs on APIs.io.