GET
/
v1
/
lobbies
/
{ids}
cURL
curl --request GET \
  --url https://api.adventure-builder.net/v1/lobbies/{ids}
[
  {
    "id": 123,
    "creatorId": 123,
    "type": "public",
    "maxPlayers": 3,
    "players": [
      123
    ],
    "locked": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "serverCode": "<string>"
  }
]
Lobbies are highly dynamic and may change or disappear within moments.

Path Parameters

ids
integer[]
required

Array of lobby IDs (max 10).

Maximum length: 10

Response

Array of lobby information

id
integer
required

The unique ID of the lobby.

creatorId
integer
required

The ID of the player who created the lobby.

players
integer[]
required

Array of player IDs currently in the lobby.

type
enum<string>

The type of lobby.

Available options:
public,
friends
maxPlayers
integer

Maximum number of players allowed in the lobby.

Required range: 2 <= x <= 5
locked
boolean

Whether the lobby is locked (in game).

createdAt
string<date-time>

The timestamp when the lobby was created.

serverCode
string

The server code where the lobby is located (only visible with auth).