---
title: "Get Connection Check Token"
method: GET
path: "/api/diagnostics/livekit-token"
tags: ["diagnostics", "diagnostics"]
---

# Get Connection Check Token

`GET /api/diagnostics/livekit-token`

Mint a LiveKit token for a throwaway room, so the browser can run
livekit-client's `ConnectionCheck` suite before joining a real class.

NOT a token for the class they are about to enter. `ConnectionCheck` opens
and closes up to eight separate room connections (websocket, webrtc, turn,
protocol, publish audio, publish video...). Pointed at the real room, a
student running it thirty seconds before the bell would appear and vanish
from the roster eight times, fire eight rounds of participant events at
everyone already inside, and be indistinguishable from a student with a
flapping connection. So the check gets its own room.

The room name is derived from the user id rather than random, so one person
running the check repeatedly reuses a single empty LiveKit room instead of
stranding a new one on each attempt. The room is created implicitly by the
first connect and reaped by LiveKit once it empties.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

> 24 revisions in range; 1 not diffed.

- **2026-09-13** `3c5400a294e1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/changes/api/diagnostics/livekit-token/get.md)

---

[API](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored.md) · [All operations](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/llms.txt) · [OpenAPI document](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/revisions/ecd3f19d9e8b?raw)
