GET
/v1/posts/{postId}/bucket

Find the group a post belongs to, without creating one.

Answers null when nothing has been made from the post yet. To attach something, call POST /v1/posts/{postId}/bucket instead, which creates the group on first use.

A post you've reopened for editing resolves to the live post's group, so a draft id and its published id give the same answer.

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

Response Body

Content group retrieved successfully

application/json
  1. response
bucketId*|

The bucket this post is grouped in, or null when nothing has been made from it yet

curl -X GET "https://example.com/v1/posts/string/bucket"
{  "bucketId": "string"}