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

# Create a new group

`POST /api/admin/groups`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/admin/groups`
- Auth: HTTP bearer

## Request body

- CreateGroupDto
  - `name` string, required
  - `description` string
  - `startDate` string
  - `endDate` string
  - `programId` number: Which program this group cohort represents

## Response `200`

- unknown

## Changes

- **2026-09-12** `0d5ef02a4fbe`: 1 info
  - added the new optional request property `programId`

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/admin/groups/post.md)

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
