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

# Create a new group

`POST /groups`

## Request body

- GroupRequest
  - `name` string, required — the name of the group
  - `description` string, required — the description of the group

## Response `200`

successfully created the group

- Group — Logical collection of users within a channel
  - `id` string — uid
  - `name` string — the name of the group
  - `description` string — the description of the group
  - `members_count` integer — member count
  - `created_at` string — when the group was created
  - `updated_at` string — when the group was updated
  - `user_permission` 'read' | 'manage' — permissions types for users * "read" - the group member can only view within the group * "manage" - the group member can both view and edit group and update users
  - `remote` boolean — remote group

## Other responses

- `400` — Server cannot execute request due to something that is perceived to be a client error
- `401` — Unauthenticated, no token is provided or token is invalid
- `403` — Access is forbidden
- `404` — The specified resource was not found
- `500` — Internal server error

---

[API](https://skmtc.net/anaconda/apis/anaconda-server-api.md) · [All operations](https://skmtc.net/anaconda/apis/anaconda-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anaconda/anaconda-server-api/revisions/6aef0cb7a151/schema)
