---
title: "Create a new team"
method: POST
path: "/teams"
tags: ["teams"]
---

# Create a new team

`POST /teams`

Creates a new team with a name and optional member list.

**Rate limit:** 10 requests per minute

## Request body

- CreateTeamRequestBody
  - `name` string — The name of the team.
  - `user_ids` string[] — The list of user IDs to add to the team.

## Response `200`

- CreateTeamResponseBody
  - `data` Team
    - `id` string — The ID of the team.
    - `name` string — The name of the team.
    - `users` MiniUser[] — The users in the team.
      - `email` string — The email of the user.
      - `id` string — The ID of the user.
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `404`
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.net/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepylon/pylon-api/versions/484a11d5ddb2/schema)
