---
title: "Post a copy of the list into a group chat"
method: POST
path: "/api/grocery-lists/{id}/share"
tags: ["Meal Plans"]
---

# Post a copy of the list into a group chat

`POST /api/grocery-lists/{id}/share`

## 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/grocery-lists/{id}/share`
- Auth: HTTP bearer

## Path parameters

- `id` number, required

## Request body

- ShareGroceryListDto
  - `roomId` number, required: Group chat room to post the list into

## Response `201`

## Changes

- **2026-10-01** `b32a266fe351`: 3 info
  - api operation id `GroceryListsController_shareToGroup` removed and replaced with `GroceryListsController_share`
  - api tag `Meal Plans` added
  - api tag `Meal Planning` removed
- **2026-09-12** `0d5ef02a4fbe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/grocery-lists/:id/share/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)
