---
title: "Create a new group"
method: POST
path: "/groups/my"
---

# Create a new group

`POST /groups/my`

Creates a new group. The group can be either created empty or contacts can be added to it during the creation. The contacts can be added by using filters.

## Headers

- `Content-Type` string, required
- `Authorization` string, required

## Request body

- object
  - `name` string — The name of the group to be created. Length must be between 2 and 30 characters.

## Response `200`

200

- object
  - `name` string
  - `size` integer

## Other responses

- `400` — 400

---

[API](https://skmtc.net/routee/apis/auth.md) · [All operations](https://skmtc.net/routee/apis/auth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/routee/auth/revisions/5cef04e8f7d8/schema)
