---
title: "Create Livekit Token"
method: POST
path: "/livekit/token"
tags: ["livekit"]
---

# Create Livekit Token

`POST /livekit/token`

## Request

- Base URL: `https://api.getathly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getathly.com/livekit/token`
- Auth: HTTP bearer

## Request body

- LiveKitTokenRequest
  - `athlete_slug` string, required
  - `room_name` string, nullable
  - `participant_name` string, nullable
  - `participant_identity` string, nullable
  - `participant_metadata` string, nullable
  - `participant_attributes` object, nullable

## Response `201`

Successful Response

- LiveKitTokenResponse
  - `server_url` string, required
  - `participant_token` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getathly/apis/athly-api.md) - [All operations](https://skmtc.dev/getathly/apis/athly-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getathly/apis/athly-api/revisions/6adfdc258d75?raw)
