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

# Create team

`POST /v1/teams`

Creates a team inside an organization and can optionally attach existing organization members to it.

## Request body

- object
  - `name` string, required
  - `memberIds` string[]

## Response `201`

Team created successfully.

- TeamResponse
  - `team` object, required
    - `id` string, typeid, required — Den TypeID with 'tem_' prefix and a 26-character base32 suffix.
    - `organizationId` string, typeid, required — Den TypeID with 'org_' prefix and a 26-character base32 suffix.
    - `name` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `memberIds` string[], required
    - `managedByScim` boolean, required

## Other responses

- `400` — The team creation request was invalid.
- `401` — The caller must be signed in to create teams.
- `403` — Only workspace owners and admins can create teams.
- `404` — The organization or a referenced member could not be found.

---

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