---
title: "Create Team"
method: POST
path: "/account/team"
tags: ["account"]
---

# Create Team

`POST /account/team`

## Request

- Base URL: `https://api.confbuilder.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.confbuilder.com/account/team`
- Auth: none declared

Create a new team and link it to the current user.

## Request body

- TeamCreateSchema: Schema for creating a new team.
  - `organizationId` string, uuid, required
  - `name` string, required
  - `description` string, nullable

## Response `201`

Successful Response

- TeamSchema: Schema for team data.
  - `id` string, nullable
  - `name` string, required
  - `description` string, nullable
  - `createdAt` string, date-time, nullable
  - `createdBy` TokenDataSchema: Schema for token data.
    - `id` string, nullable
    - `name` string, nullable
    - `email` string, email, nullable
    - `isAdmin` boolean
    - `role` string, nullable
    - `teamIds` string[], nullable
    - `createdAt` string, date-time, nullable
  - `users` TokenDataSchema[], nullable
    - `id` string, nullable
    - `name` string, nullable
    - `email` string, email, nullable
    - `isAdmin` boolean
    - `role` string, nullable
    - `teamIds` string[], nullable
    - `createdAt` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/confbuilder/apis/confbuilder-api.md) · [All operations](https://skmtc.dev/confbuilder/apis/confbuilder-api/llms.txt) · [OpenAPI document](https://skmtc.dev/confbuilder/apis/confbuilder-api/revisions/9e576d664e16?raw)
