---
title: "Add user group"
method: POST
path: "/userGroups"
tags: ["Users"]
---

# Add user group

`POST /userGroups`

## Request

- Base URL: `https://api.app.subskribe.com`
- URL: `https://api.app.subskribe.com/userGroups`
- Auth: API key in header `X-API-Key`

Create a new user group based on the parameters in the input

## Request body

- UserGroupRequestJson
  - `id` string
  - `entityIds` string[]
  - `name` string
  - `description` string
  - `users` string[]
  - `externalId` string

## Response `200`

successful operation

- UserGroupJson
  - `id` string
  - `entityIds` string[]
  - `name` string
  - `description` string
  - `users` string[]
  - `externalId` string

---

[API](https://skmtc.dev/dealhub/apis/subskribe-api.md) - [All operations](https://skmtc.dev/dealhub/apis/subskribe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dealhub/apis/subskribe-api/revisions/c1ee531b82ce?raw)
