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

# Create a Group

`POST /group/`

Create a new group. The `name` is required and must be unique within the organization. The group is created with no members. Use the member endpoint to add users.

## Query parameters

- `_fields` string

## Request body

- CreateGroup
  - `name` string, required

## Response `201`

Successful response

- Group
  - `id` string, required
  - `members` GroupMember[], nullable
    - `user_id` string, required
  - `name` string, required
  - `organization_id` string, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found

---

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