---
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:** 30 requests per minute

## Request body

- CreateTeamRequestBody
  - `name` string, required — 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.
- `403` — The authenticated caller or organization is not allowed to access this endpoint or operation.
- `404`
- `500` — An unexpected internal error occurred.

## Changes

- **2026-08-28** `fe3adb90ea45` — 1 info
  - added the non-success response with the status `403`
- **2026-08-18** `b387b041ea8e` — 1 breaking
  - the request property `name` became required

[Change history](https://skmtc.dev/usepylon/apis/pylon-api/changes/teams/post.md)

---

[API](https://skmtc.dev/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.dev/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usepylon/pylon-api/revisions/7b12ab92de27/schema)
