---
title: "Self-enroll authenticated user into a team using a join code"
method: POST
path: "/team-management/join"
tags: ["team-management"]
---

# Self-enroll authenticated user into a team using a join code

`POST /team-management/join`

## Request

- Base URL: `https://api.focusbear.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.focusbear.io/team-management/join`
- Auth: HTTP bearer

## Request body

- JoinTeamDto
  - `join_code` string, required

## Response `200`

User is already a member of this team

## Other responses

- `201`: Successfully joined team
- `400`: Invalid or expired join code, or team has reached its member limit
- `404`: Join code or team not found

---

[API](https://skmtc.dev/focusbear/apis/focusbear-api.md) - [All operations](https://skmtc.dev/focusbear/apis/focusbear-api/llms.txt) - [OpenAPI document](https://skmtc.dev/focusbear/apis/focusbear-api/revisions/3a83a3b9a811?raw)
