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

# Create a team

`POST /teams`

Creates a new team.

## Request body

- CreateTeamDto
  - `name` string, required
  - `avatarUrl` string, nullable
  - `description` string, nullable
  - `memberUserIds` string[], required
  - `emailAddresses` OrganizationalEmailAddressInputDto[]
    - `email` string, email, required
    - `purpose` 'personal' | 'work', nullable, required
    - `isPrimary` boolean
  - `phoneNumbers` OrganizationalPhoneNumberInputDto[]
    - `phoneNumber` string, required
    - `purpose` 'personal' | 'work', nullable, required
    - `isPrimary` boolean

## Response `201`

Team created successfully.

- CreateRecordResponseDto
  - `id` string, required

## Other responses

- `400` — Bad Request
- `500` — Error response

---

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