> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postinger.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# posts

> Drafts, scheduled and published posts.

## posts list

Newest first.

```bash theme={"system"}
postinger posts list [--status scheduled] [--platform instagram] [--search text] [--limit 20] [--cursor …]
```

| Option | Meaning |
| - | - |
| `--status` | `draft`, `scheduled`, `publishing`, `published`, `partial` or `failed`. |
| `--platform` | `instagram`, `facebook`, `tiktok` or `youtube`. |
| `--search` | Posts whose text contains this. |
| `--limit` | Posts per page, 1–100. |
| `--cursor` | The next page, from the previous one. |

## posts get

```bash theme={"system"}
postinger posts get <id>
```

One post and how it went out on each account.

## posts create

```bash theme={"system"}
postinger posts create --content "Hello" --account <id> [--account <id>] [--media <id>] [--now | --at 2026-11-01T09:00 [--draft]]
postinger posts create --file post.json
```

| Option | Meaning |
| - | - |
| `--content` | The post's text. |
| `--account` | An account to post to. Repeat for more. |
| `--media` | Uploaded media to attach, in order. Repeat for more. |
| `--now` | Publish as soon as possible. |
| `--at` | Publish at `YYYY-MM-DDTHH:mm`, on the workspace's clock. |
| `--draft` | With `--at`: save a draft planned for that time. It shows on the calendar, and nothing publishes it until it is scheduled. |
| `--file` | The whole request as JSON, as in [the API](https://docs.postinger.dev/api-reference/endpoint/posts/create.md). `-` reads stdin. |
| `--idempotency-key` | Send the same key again to retry without posting twice. |

Without `--now` or `--at`, the post is saved as a draft. Use `--file` for per-account text and [platform options](https://docs.postinger.dev/concepts/platform-rules.md).

## posts update

```bash theme={"system"}
postinger posts update <id> --file post.json
```

Replaces the whole post with the JSON in `--file` (`-` for stdin).

## posts retry

```bash theme={"system"}
postinger posts retry <id> [--account <id>]
```

Sends a failed post's failed accounts again, now. `--account` retries only that one.

## posts delete

```bash theme={"system"}
postinger posts delete <id> --yes
```

Deletes the post from Postinger. What was already published stays on the platforms.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.