---
title: "Create a group"
method: POST
path: "/groups/"
tags: ["Groups"]
---

# Create a group

`POST /groups/`

Group names are unique and cannot be repeated.

## Response `200`

Successful response

- object
  - `code` integer — Can be 1 for success, otherwise 0 for error
  - `message` string
  - `values` object
    - `id_group` integer

---

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