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

# Create group

`POST /groups`

Use when organizing entities into a group (e.g. for filtering prices or plans by product line or region).

## Request body

- CreateGroupRequest
  - `entity_type` string, required
  - `lookup_key` string, required
  - `name` string, required

## Response `201`

Created

- GroupResponse
  - `created_at` string, date-time
  - `entity_ids` string[]
  - `entity_type` string
  - `id` string
  - `lookup_key` string
  - `metadata` object
  - `name` string
  - `status` string
  - `updated_at` string, date-time

## Other responses

- `400` — Invalid request
- `500` — Server error

---

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