> **ShapelessAI capabilities index**
> Fetch https://shapelessai.com/llms.txt to discover every page before exploring further.
> Every page also answers Markdown: append `.md` to its path, or send `Accept: text/markdown`.

# Post to a set of accounts

*Verified 2026-10-25. Source: https://shapelessai.com/capabilities/posting-sets*

Group connected accounts ("Launch", "Personal", "Client A") and post to a whole group in one call: the group carries defaults every post to it starts from (text, first comment, tags, a signature, per-platform settings), the post's own fields win, and every account's platform rules are checked before anything is written.

Accounts that cannot take a post (tracked by handle, or waiting to reconnect) are named in the answer, never silently dropped. An account sits in one group at most; the same groups colour the calendar.

## Ask in plain words

- "post this to my launch set"
- "make a group of my company accounts"
- "every post to the client group gets their hashtags"
- "post to all my accounts except personal"

## From an agent host (MCP)

Server: `https://shapelessai.com/mcp` ([add it to your host](https://shapelessai.com/connect)).

- `groups_save`: A group of connected accounts is also a posting set ("post to my launch set"): create one (no id), rename, recolor or set its defaults (id; defaults {postText?, firstComment?, tags?, signature?, settings?: {<platform>: {...}}}, null clears them), put accounts in it (connectionIds; an account sits in one group at most), or delete it (id, delete: true; its accounts become ungrouped). Needs the write scope.

## From code (REST)

Bearer API key with the scope each call names ([auth](https://shapelessai.com/docs/auth), [OpenAPI](https://shapelessai.com/api/openapi.json)).

- `GET /api/groups` (read scope): Account groups, each with its posting defaults. A group is also a posting set: POST /api/posts {group} posts to every account in it.
- `POST /api/groups` (write scope): Create a group: {name, color?, defaults?}.
- `PATCH /api/groups` (write scope): Reorder groups: {orderedIds}.
- `PATCH /api/groups/{id}` (write scope): Rename, recolor, or set the posting defaults of a group: {name?, color?, defaults?}; defaults null clears them.
- `DELETE /api/groups/{id}` (write scope): Delete a group; its accounts become ungrouped.

## The body

`POST /api/groups`:

- `name` string, required
- `color` string
- `defaults` object

`PATCH /api/groups/{id}`:

- `name` string
- `color` string
- `defaults` object

## From a terminal (CLI)

- `shapeless groups list`
- `shapeless groups create`
- `shapeless groups edit`
- `shapeless groups add`
- `shapeless groups remove`
- `shapeless groups delete`

## Example

```bash
curl -s https://shapelessai.com/api/posts -H "Authorization: Bearer $SHAPELESS_API_KEY" -H "Content-Type: application/json" -d '{"group":"Launch","postText":"We are live.","queue":true}'
```
```jsonc
// MCP tool call
{ "tool": "groups_save", "arguments": { "name": "Launch", "connectionIds": ["<id>", "<id>"], "defaults": { "tags": ["launch"] } } }
```
```bash
shapeless posts create --group Launch --text "We are live." --queue
```

## Refusals

| Status | Meaning |
| --- | --- |
| 400 | No name, a bad defaults object, or 24 groups already. |
| 400 | Nothing to change or a bad field. |
| 404 | No such group. |

## Where else

- [Do it in the studio](https://shapelessai.com/studio/accounts)
- [The posts docs](https://shapelessai.com/docs/posts) ([markdown](https://shapelessai.com/docs/posts.md))

## More in Publishing

[Publish a post](https://shapelessai.com/capabilities/publish-post) · [Tag posts and sign them](https://shapelessai.com/capabilities/post-labels) · [Share a post preview](https://shapelessai.com/capabilities/post-preview) · [Get post events by webhook](https://shapelessai.com/capabilities/webhooks) · [Attach a sound to an Instagram Reel](https://shapelessai.com/capabilities/instagram-sounds) · [Review the queue](https://shapelessai.com/capabilities/review-queue) · [Set the posting schedule](https://shapelessai.com/capabilities/posting-schedule) · [Answer comments and work the inbox](https://shapelessai.com/capabilities/inbox)
