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

# Create team

`POST /api/v2/teams/create`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v2/teams/create`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Create a new team in the organization. Returns the ID of the newly created team.

## Request body

- TeamsCreateRequest
  - `organizationId` string
  - `name` string, required

## Response `200`

Created team ID

- TeamsCreateResponse
  - `id` string, required

## Other responses

- `400`: Error Response
- `401`: Error Response

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api/revisions/126e9c80ba0d?raw)
