---
title: "POST /teams"
method: POST
path: "/teams"
tags: ["Teams"]
---

# POST /teams

`POST /teams`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/teams`
- Auth: HTTP bearer

## Request body

- CreateTeamRequest
  - `description` string, nullable
  - `name` string, required
  - `slug` string, required

## Response `201`

Team created

- TeamResponse
  - `created_at` string, date-time, required
  - `created_by` integer, required
  - `description` string, nullable
  - `id` integer, required
  - `name` string, required
  - `slug` string, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Validation error
- `403`: Insufficient permissions
- `409`: Slug already taken

## Changes

- **2026-08-06** `fe64cc48eb6f`: 1 info
  - endpoint added
- **2026-08-06** `949964f26dd7`: 1 breaking
  - api path removed without deprecation
- **2026-08-04** `f5b05de1dacb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/teams/post.md)

---

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