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

# Create a new group

`POST /make-group`

Creates a new user group under the specified company. A group can be used to manage permissions, assign sessions, or organize users.

**Parameters:**

-   `companyKey` _(string, required)_ - The company's secret key.
-   `name` _(string, required)_ – The name of the new group.
-   `memberIds` _(array of strings, optional)_ – A list of user IDs to be added to the group.
-   `description` _(string, optional)_ – A description of the new group.

## Request body

- MakeGroup
  - `companyKey` string
  - `name` string
  - `memberIds` string[]
  - `description` string

## Response `200`

Success

- MakeGroupResponse
  - `result` object
    - `id` string

## Other responses

- `400` — ArgumntError

---

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