POST
/v1/posts/{postId}/bucket

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.

Authorization

apiKey
headerAuthorizationBearer <token>

API key for authenticating protected endpoints. Pass as Bearer token in Authorization header.

Path Parameters

postId*string

Unique identifier of the post

Request Body

Body

application/json
  1. body

Response Body

Content group ready

application/json
  1. response
bucketId*string

The bucket this post is grouped in. Pass it as bucketId.

curl -X POST "https://example.com/v1/posts/string/bucket" \  -H "Content-Type: application/json" \  -d '{}'
{  "bucketId": "string"}