Skip to content
ShapelessAI← Back
Publishing

Tag posts and sign them

Label posts with named, coloured tags ("Launch", "Evergreen", "Client A") and filter the queue and the calendar by one; a post names tags by name and a new name becomes a tag on the spot.

View as Markdown

Save signatures, text blocks a post appends on request (a sign-off, a hashtag set, a call to action), with one optional default; the appended text counts against the platform's length limit like the rest of the post. One read lists the tags, signatures, groups and webhooks together.

Ask in plain words

  • "tag these posts as launch"
  • "show me only the evergreen posts"
  • "add my usual hashtags to the end of every LinkedIn post"
  • "make a default sign-off for my posts"

From an agent host (MCP)

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

  • posts_setup: What the account's posts can carry and where their news goes: post tags (filter posts_list by tag), signatures (a post appends one with signature), groups of accounts with their posting defaults (posts_create group posts to all of them), and webhook endpoints with their secrets. Needs the read scope.
  • tags_save: Create a post tag (no id), rename or recolor one (id), or delete it (id, delete: true; it comes off every post). Needs the write scope.
  • signatures_save: A saved text block a post appends with posts_create signature: create one (no id; name and body), edit it (id), make it the account's default (isDefault: true; posts_create signature "default" picks it), or delete it (id, delete: true). Needs the write scope.

From code (REST)

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

  • GET /api/tags (read scope): The account's post tags: {tags: [{id, name, color}]}. Filter posts by one with GET /api/posts?tag=.
  • POST /api/tags (write scope): Create a tag: {name, color?} (#rrggbb; default the next palette colour). An existing name answers that tag. A post's tags also creates unknown names on the spot.
  • PATCH /api/tags/{id} (write scope): Rename or recolor a tag.
  • DELETE /api/tags/{id} (write scope): Delete a tag; it comes off every post that carried it.
  • GET /api/signatures (read scope): The account's signatures: saved text blocks a post appends with signature (an id, a name, or "default").
  • POST /api/signatures (write scope): Create a signature: {name, body, isDefault?}. isDefault makes it the one default.
  • PATCH /api/signatures/{id} (write scope): Edit a signature: {name?, body?, isDefault?}.
  • DELETE /api/signatures/{id} (write scope): Delete a signature. Posts already written keep its text.

The body

POST /api/tags:

  • name string
  • color string

PATCH /api/tags/{id}:

  • name string
  • color string

POST /api/signatures:

  • name string
  • body string
  • isDefault boolean

PATCH /api/signatures/{id}:

  • name string
  • body string
  • isDefault boolean

From a terminal (CLI)

  • shapeless tags list
  • shapeless tags create
  • shapeless tags edit
  • shapeless tags delete
  • shapeless signatures list
  • shapeless signatures create
  • shapeless signatures edit
  • shapeless signatures delete

Example

curl -s "https://shapelessai.com/api/posts?tag=launch" -H "Authorization: Bearer $SHAPELESS_API_KEY"
// MCP tool call
{ "tool": "tags_save", "arguments": { "name": "Launch" } }
shapeless posts list --tag launch

Refusals

StatusMeaning
400No name, a bad colour, or 100 tags already.
400Nothing to change.
404No such tag.
409Another tag has that name.
400No name or body, the name "default", over 1000 characters, or 30 already.
409A signature with that name exists.
400Nothing to change or a bad field.
404No such signature.

Where else

More in Publishing

Publish a post · Post to a set of accounts · 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