---
search:
  tags:
    - Lobbies
    - GET
seo:
  description: >-
    Returns a lobby's seated players, config and board. Public lobbies are
    visible to… Reference for the GET /lobbies/{id} endpoint in the dartpilot
    Public API.
sidebar:
  label: Get a lobby
  badge: GET
title: Get a lobby
type: openapi-operation
---
Returns a lobby's seated players, config and board. Public lobbies are visible to any user key; private ones only to the host, its members and the host's friends.

`GET /lobbies/{id}`

**Responses**

- `200` — The lobby.
- `400` — Invalid request.
- `401` — Missing or invalid API key.
- `403` — The API key is missing a required scope or is the wrong type for this endpoint.
- `404` — Entity not found.
- `429` — Rate limit exceeded. See the \`Retry-After\` header.
- `500` — Internal server error.

Response example, 200:

```json
{
  "id": "string",
  "gameType": "string",
  "visibility": "private",
  "playerCount": 0,
  "host": {
    "displayName": "string",
    "image": "string"
  },
  "board": {
    "id": "string",
    "name": "string"
  },
  "createdAt": "string",
  "updatedAt": "string",
  "config": {
    "property1": null,
    "property2": null
  },
  "players": [
    {
      "userId": "string",
      "name": "string",
      "image": "string",
      "isHost": true,
      "isAi": true,
      "boardId": "string"
    }
  ]
}
```
