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

# Create a team

`POST /v2/teams`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/teams`
- Auth: HTTP bearer

Create a Sigma team.

  ### Usage notes
  - Specify members to add to the team by userId or memberId.
  - Retrieve the **memberId** by calling the [/v2/members](https://help.sigmacomputing.com/reference/list-members) endpoint.

## Request body

- object
  - `name` string, required
  - `description` string
  - `members` string[]: Specify memberIds
  - `createTeamFolder` boolean
  - `visibility` 'public' | 'private': Whether to make a public or private team. Defaults to private.

## Response `200`

The response body.

- TeamsCreateTeamResponse200
  - `teamId` string, required
  - `createdBy` string, required
  - `updatedBy` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `name` string, required
  - `description` string, nullable, required
  - `visibility` 'public' | 'private', required
  - `isArchived` boolean
  - `members` string[], required
  - `workspaceId` string, nullable, required

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
