Skip to content
ShapelessAI← Back
Publishing

Comment under a post, in a chain

Queue what goes under a post with the post itself: up to 10 items in order, each with its own text, media where the platform takes media under a post, and a delay of up to 7 days after the item before it.

View as Markdown

Where the platform threads (X, Bluesky, Threads and Mastodon) each item replies to the one before it; on LinkedIn, Instagram, Facebook and Reddit each is a further comment on the post. Every item is checked against the platform's limits when the post is created, sent once the post is live, and its outcome and URL kept on the post. GET /api/platforms answers each platform's per-item characters, media and item count under comments.

Part of Publish a post: the same call, one more field. Every field and refusal is on that page.

Ask in plain words

  • "post this and put the link in the first comment"
  • "turn this into a five post X thread"
  • "add a follow-up comment an hour after it goes live"
  • "comment with the demo video under the LinkedIn post"

From an agent host (MCP)

Server: https://shapelessai.com/mcp (add it to your host).

  • posts_create: PUBLISHES CONTENT: puts a post you wrote on the rail for one connected account (connections_list), or with group for every account of a group (posts_setup lists groups and their defaults; the answer's posts lists each account's post, id and status are the first's), at a time, in the account's next free queue slot, or now. Optional tags, a saved signature, repeatEveryDays and shortenLinks. Read platforms_list first for the platform's limits and settings schema. Free plan: 10 posts a day and 60 a month, and X only once a day without links, because X bills per post (402 free_daily_cap / free_monthly_cap / free_x_daily_cap / free_x_link carry the reset time and what to do instead). Needs the publish scope.

From code (REST)

Bearer API key with the scope each call names (auth, OpenAPI).

  • POST /api/posts (publish scope): Queue a post: at a time, in the next free queue slot, or now, on one account (connectionId) or every account of a group (group: its id or name; the group's defaults fill what the post leaves out, and the answer is {group, posts, skipped?}). Optional tags, signature, repeatEveryDays and shortenLinks. Send an Idempotency-Key so a retry never makes a second post.
  • GET /api/posts/cap (read scope): The Free plan's day: how many posts already go out on the UTC day ?at= falls on, and the cap. Paid plans answer { cap: null }.

From a terminal (CLI)

  • shapeless posts create

Example

curl -s https://shapelessai.com/api/posts -H "Authorization: Bearer $SHAPELESS_API_KEY" -H "Content-Type: application/json" -d '{"connectionId":"<id>","postText":"We rebuilt onboarding.","comments":[{"text":"What broke first."},{"text":"What we changed.","delayMinutes":60}]}'
// MCP tool call
{ "tool": "posts_create", "arguments": { "connectionId": "<id>", "text": "We rebuilt onboarding.", "comments": [{ "text": "What broke first." }, { "text": "What we changed.", "delayMinutes": 60 }] } }
shapeless posts create --to <connectionId> --text "We rebuilt onboarding." --comment "What broke first." --comment "What we changed."

Where else

More in Publishing

Publish a post · Plug a post once it takes off · Add alt text and pick a video cover · Use each platform's own post options · Repeat a post every N days · Count clicks with short links · Post to a set of accounts · Tag posts and sign them · Share a post preview · Get post events by webhook · Attach a sound to an Instagram Reel · Review the queue · Set the posting schedule · Answer comments and work the inbox

Every capability · Docs · /llms.txt