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

# Create a team for a company

`POST /teams`

> **Deprecated.**

## Request body

- TeamCreationRequest
  - `name` string, required — Team name
  - `code` string — Team code

## Response `200`

A team has been created

- TeamResponse
  - `id` string, required — The unique UUID identifier of the department
  - `name` string, required — Name of the department
  - `code` string — Code of the department
  - `employees` object[] — Team employee
    - `id` string, required — The unique UUID identifier of the employee
    - `firstName` string — Employee first name
    - `lastName` string — Employee last name
    - `email` string — Email
    - `jobTitle` string — Job title
    - `role` string — Role
    - `phone` string — Phone number
    - `avatar` object
      - `url` string — Employee avatar location
    - `code` string — External Id
    - `teamId` string — Team identifier
  - `reviewers` object[] — Team reviewers
    - `id` string, required — The unique UUID identifier of the employee
    - `firstName` string — Employee first name
    - `lastName` string — Employee last name
    - `email` string — Email
    - `jobTitle` string — Job title
    - `role` string — Role
    - `phone` string — Phone number
    - `avatar` object
      - `url` string — Employee avatar location
    - `code` string — External Id
    - `teamId` string — Team identifier

## Other responses

- `401` — request unauthorized
- `403` — Request forbidden; user has insufficient rights to a resource.
- `404` — route not found
- `500` — Something went wrong. Please contact the administrator if problems persist.

---

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