---
title: "Accept Team Invite"
method: POST
path: "/api/teams/accept"
---

# Accept Team Invite

`POST /api/teams/accept`

## Request

- Base URL: `https://sleipnir.tv` (the document declares no server; this is the origin it was published from)
- URL: `https://sleipnir.tv/api/teams/accept`
- Auth: none declared

Redeem an invite code. Race-safe via SELECT FOR UPDATE on the team.

## Cookies

- `relay_session` string, nullable

## Request body

- TeamJoinBody
  - `code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sleipnir/apis/relay-control-plane.md) · [All operations](https://skmtc.dev/sleipnir/apis/relay-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/sleipnir/apis/relay-control-plane/revisions/79829f6945a4?raw)
