Skip to content
ShapelessAI← Back
Publishing

Share a post preview

Mint a read-only link that shows a draft or queued post exactly as its platform will (the account's name and picture, the text where the feed folds it, the media) for a co-founder, a client or an approver with no account: no login, an unguessable 128-bit token, never indexed, and one call revokes it for good.

View as Markdown

Asking again answers the same link, so an agent can paste it into any chat.

Ask in plain words

  • "send my cofounder a preview of tomorrow's LinkedIn post"
  • "give the client a link to approve the draft"
  • "stop sharing that preview"

From an agent host (MCP)

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

  • posts_share: A read-only link that shows a draft or queued post in its platform's look, for a co-founder or client with no account (no login, unguessable, never indexed). Asking again answers the same link; revoke: true kills it for good. Needs the write scope.

From code (REST)

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

  • POST /api/posts/{id}/preview (write scope): Share a read-only preview link of the post (no login, unguessable, noindex): {id, previewUrl}. Asking again answers the same link.
  • DELETE /api/posts/{id}/preview (write scope): Revoke the preview link: the old URL answers 404 for good. Sharing again mints a new one.

From a terminal (CLI)

  • shapeless posts preview

Example

curl -s https://shapelessai.com/api/posts/<id>/preview -X POST -H "Authorization: Bearer $SHAPELESS_API_KEY"
// MCP tool call
{ "tool": "posts_share", "arguments": { "id": "<postId>" } }
shapeless posts preview <id>

Refusals

StatusMeaning
404No such post, or it is canceled.
404No such post.

Where else

More in Publishing

Publish a post · Post to a set of accounts · Tag posts and sign them · 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