---
title: "Create a post's content group"
method: POST
path: "/v1/posts/{postId}/bucket"
tags: ["buckets"]
---

# Create a post's content group

`POST /v1/posts/{postId}/bucket`

## Request

- Base URL: `https://public.api.paragraph.com/api`
- URL: `https://public.api.paragraph.com/api/v1/posts/{postId}/bucket`
- Auth: HTTP bearer

Get the group a post belongs to, creating it if this is the first thing made from that post.

This is the first call in a repurposing pipeline: seed the group from the post, then pass the id as `bucketId` on every `POST /v1/content` derived from it. The writer then sees the post and its versions as one row under Content instead of unrelated drafts.

Safe to call repeatedly — a post that already has a group gets the same id back, and nothing is written.

## Path parameters

- `postId` string, required

## Request body

- object

## Response `200`

Content group ready

- object
  - `bucketId` string, required: The bucket this post is grouped in. Pass it as `bucketId`.

## Other responses

- `401`: Invalid or missing API key
- `404`: Post not found in your publication
- `500`: Internal server error

## Changes

- **2026-09-01** `2d43a4d31af2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/paragraph-xyz/apis/paragraph-api/changes/v1/posts/:postId/bucket/post.md)

---

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